【问题标题】:Get time out message when trying to do vagrant up on Windows 10 - but no errors尝试在 Windows 10 上进行 vagrant up 时收到超时消息 - 但没有错误
【发布时间】:2016-08-02 19:45:09
【问题描述】:

当我尝试在我的 git-bash 中流浪时收到此错误消息。

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> 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.

问题是我没有收到任何错误,如果我进入我的 Virtualbox GUI,VM 正在运行!

任何经历过同样事情的人都有解决方案。

它在 Windows 10 上,带有最新的 virtualbox 和 vagrant。

我刚刚在家里的笔记本电脑上安装了它,我工作正常,但在工作域上工作时却不行,所以这里看不出有什么问题。

【问题讨论】:

    标签: laravel vagrant virtualbox git-bash homestead


    【解决方案1】:

    这发生在我设置 Windows 机箱时。所以,我会检查是否在 BIOS 中启用了虚拟化。如果它被禁用,请启用它。再次尝试启动。

    【讨论】:

    • 不不不!!我真笨!我已经阅读了很多次这个建议,但是我没有进入 BIOS 进行检查,而是使用了这个intel.com/content/www/us/en/support/processors/… 程序来检查,它说是。所以我没想到是那个问题,但是在你的建议之后,我做了BIOS的事情,发现它被禁用了!愚蠢的懒惰我,这只是花了我 5 个小时的时间拉头发和安装 2 个干净的窗户:-D 再次感谢!
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2014-07-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-15
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多