Vagrant 飘忽不定的SSH错误

Vagrant 飘忽不定的SSH错误,vagrant,vagrantfile,Vagrant,Vagrantfile,当我这样做的时候 vagrant ssh 我明白了 我尝试过用GUI引导,但当我尝试开始使用它时,什么都没有改变,所以我可能做了一些错误的事情 我看到有人说我必须启用Intel®虚拟化技术,但我的主机不支持,所以我不知道如何解决这个问题 规格: Windows Server 2012 r2 64bit Ram 1gb intel xeon e5 2697 v3 2.60 ghz 流浪者档案: # -*- mode: ruby -*- # vi: set ft=ruby : # All Va

当我这样做的时候

vagrant ssh
我明白了

我尝试过用GUI引导,但当我尝试开始使用它时,什么都没有改变,所以我可能做了一些错误的事情

我看到有人说我必须启用Intel®虚拟化技术,但我的主机不支持,所以我不知道如何解决这个问题

规格:

Windows Server 2012 r2
64bit
Ram 1gb
intel xeon e5 2697 v3 2.60 ghz
流浪者档案:

# -*- mode: ruby -*-
# vi: set ft=ruby :

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.

# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "laravel/homestead"

# The url from where the 'config.vm.box' box will be fetched if it
# doesn't already exist on the user's system.
config.vm.box_url = "./virtualbox.box"

# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# config.vm.network "forwarded_port", guest: 80, host: 8080

# Create a private network, which allows host-only access to the machine
# using a specific IP.
# config.vm.network "private_network", ip: "192.168.33.10"

# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
# config.vm.network "public_network"

# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
# config.vm.synced_folder "../data", "/vagrant_data"

# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
Vagrant.configure("1") do |config|
config.vm.boot_mode = :gui
end
#
#   # Customize the amount of memory on the VM:
#   vb.memory = "1024"
# end
#
# View the documentation for the provider you are using for more
# information on available options.

# Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
# such as FTP and Heroku are also available. See the documentation at
# https://docs.vagrantup.com/v2/push/atlas.html for more information.
# config.push.define "atlas" do |push|
#   push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME"
# end

# Enable provisioning with a shell script. Additional provisioners such as
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
# config.vm.provision "shell", inline: <<-SHELL
#   sudo apt-get update
#   sudo apt-get install -y apache2
# SHELL
end
#-*-模式:ruby-*-
#vi:set ft=ruby:
#所有的流浪配置都在下面完成。Vagrant.configure中的“2”
#配置配置版本(我们支持较旧的
#向后兼容性)。除非你知道什么,否则请不要改变它
#你在干什么。
Vagrant.configure(2)do | config|
#下面对最常见的配置选项进行了说明和评论。
#有关完整的参考资料,请参阅
# https://docs.vagrantup.com.
#每个流浪的开发环境都需要一个盒子。你可以搜索
#盒子在https://atlas.hashicorp.com/search.
config.vm.box=“laravel/homestead”
#“config.vm.box”框将从中提取的url,如果
#在用户的系统上不存在。
config.vm.box_url=“./virtualbox.box”
#创建允许访问特定端口的转发端口映射
#从主机上的端口在计算机内。在下面的例子中,
#访问“localhost:8080”将访问来宾计算机上的端口80。
#config.vm.network“forwarded_port”,来宾:80,主机:8080
#创建专用网络,仅允许主机访问计算机
#使用特定的IP。
#config.vm.network“专用_网络”,ip:“192.168.33.10”
#创建一个公共网络,它通常与桥接网络相匹配。
#桥接网络使机器显示为计算机上的另一个物理设备
#你的网络。
#config.vm.network“公共_网络”
#将其他文件夹共享到来宾VM。第一个论点是
#主机上实际文件夹的路径。第二个论点是
#来宾服务器上装载文件夹的路径。还有第三个选项
#参数是一组非必需的选项。
#config.vm.synced_文件夹“./data”,“/vagrant_data”
#提供程序特定的配置,以便您可以微调各种
#为流浪者提供支持。这些公开特定于提供程序的选项。
#VirtualBox的示例:
#
Vagrant.configure(“1”)do | config|
config.vm.boot_mode=:gui
结束
#
##自定义虚拟机上的内存量:
#vb.memory=“1024”
#结束
#
#有关详细信息,请查看您正在使用的提供程序的文档
#关于可用选项的信息。
#为推送到Atlas定义一个流浪推送策略。其他推送策略
#例如FTP和Heroku也可以使用。请参阅位于的文档
# https://docs.vagrantup.com/v2/push/atlas.html 了解更多信息。
#config.push.define“atlas”do | push|
#push.app=“您的\u ATLAS\u用户名/您的\u应用程序\u名称”
#结束
#使用shell脚本启用资源调配。其他供应人,如
#木偶,厨师,Ansible,盐和码头工人也可以。请看
#有关其特定语法和用法的详细信息,请参阅文档。

#config.vm.provision“shell”,内联:显示您的
Vagrantfile
。还有,你是如何创造这台机器的?只有
流浪者上路
?或者其他什么?我创建它的方法是:vagrant box add laravel/homestad./virtualbox.box然后vagrant up wagrant up的输出是什么?在
vagrant文件
所在的目录中,
vagrant status
的输出是什么?vagrant up提供:$vagrant up使用“virtualbox”提供程序启动计算机“default”…=>默认设置:检查“laravel/homestead”框是否是最新的…==>默认:VirtualBox虚拟机已在运行。Vagrant status提供当前计算机状态:虚拟机正在运行的默认运行(VirtualBox)。要停止此VM,可以运行
vagrant halt
强制关闭它,也可以运行
vagrant suspend
简单地挂起虚拟机。在任何一种情况下,要重新启动它,只需运行
vagrant up
# -*- mode: ruby -*-
# vi: set ft=ruby :

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.

# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "laravel/homestead"

# The url from where the 'config.vm.box' box will be fetched if it
# doesn't already exist on the user's system.
config.vm.box_url = "./virtualbox.box"

# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# config.vm.network "forwarded_port", guest: 80, host: 8080

# Create a private network, which allows host-only access to the machine
# using a specific IP.
# config.vm.network "private_network", ip: "192.168.33.10"

# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
# config.vm.network "public_network"

# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
# config.vm.synced_folder "../data", "/vagrant_data"

# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
Vagrant.configure("1") do |config|
config.vm.boot_mode = :gui
end
#
#   # Customize the amount of memory on the VM:
#   vb.memory = "1024"
# end
#
# View the documentation for the provider you are using for more
# information on available options.

# Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
# such as FTP and Heroku are also available. See the documentation at
# https://docs.vagrantup.com/v2/push/atlas.html for more information.
# config.push.define "atlas" do |push|
#   push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME"
# end

# Enable provisioning with a shell script. Additional provisioners such as
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
# config.vm.provision "shell", inline: <<-SHELL
#   sudo apt-get update
#   sudo apt-get install -y apache2
# SHELL
end