虚拟盒的漫游超时



我的virtualbo有问题,我试图在我的电脑上运行流浪,但我遇到了错误。我试图解决这个问题,我正在网上寻找解决方案,但仍然没有成功。有人能帮我怎么修吗?

Bringing machine 'default' up with 'virtualbox' provider...
default: Box 'laravel/homestead' could not be found. Attempting to        find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
default: Loading metadata for box 'laravel/homestead'
default: URL: https://atlas.hashicorp.com/laravel/homestead
default: Adding box 'laravel/homestead' (v0.4.0) for provider: virtualbox
default: Downloading:  https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.4.0/providers/virtualbox.box
default: Successfully added box 'laravel/homestead' (v0.4.0) for 'virtualbox'!
default: Importing base box 'laravel/homestead'...
default: Matching MAC address for NAT networking...
default: Checking if box 'laravel/homestead' is up to date...
default: Setting the name of the VM: homestead-7
default: Clearing any previously set network interfaces...
default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
default: Forwarding ports...
default: 80 (guest) => 8000 (host) (adapter 1)
default: 443 (guest) => 44300 (host) (adapter 1)
default: 3306 (guest) => 33060 (host) (adapter 1)
default: 5432 (guest) => 54320 (host) (adapter 1)
default: 22 (guest) => 2222 (host) (adapter 1)
default: Running 'pre-boot' VM customizations...
default: Booting VM...
default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
If you look above, you should be able to see the error(s) that 
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.
If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.

我尝试在Ubuntu 15.10上运行VirtualBox 5.0.12。在我的上网本上一切都很好,但我想在台式电脑上处理这个项目

Ps:我的bios 中没有任何虚拟化选项

有几个这样的问题,但这里有一个答案最多的问题:Vagrant卡住连接超时重试,你可能会在那里找到解决方案。

在我的案例中,问题是Vagrant的64位Debian盒子——虚拟盒子将其视为32位,我不得不在设置中手动更改它。您可以在上面的链接中找到更精确的描述。

经过几天的Windows 10机器故障排除,BIOS中的虚拟化设置被关闭,需要打开。

一旦我发现了这一点并打开了这两个虚拟化设置,我就不会在虚拟机中遇到SSHing问题。我也遇到过一些其他问题,但这些问题与我的Vagrantfiles或配置文件有关,这只是我自己的定制。

请参阅此处的答案:https://stackoverflow.com/a/34305608/6436098

相关内容

  • 没有找到相关文章

最新更新