laravel5.1 homestead0.2.6 安装中,在vagrant up命令时出错,大家有遇到同样问题么?
laravel homestead安装过程中,在vagrant up命令时出错,大家有遇到同样问题么?
laravel版本:5.1
homestead版本:0.2.6,最新的0.2.7下载后说box文件有错误,不能使用。
在网上搜索了一下,一般说是virtualbox的bug,
我试了以下四个版本
4.3.28;
4.3.26;
4.3.24;
4.2.30;
都出现同样的错误,错误信息如下:
--------------------------------------------
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'laravel/homestead'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: homestead
==> default: Clearing any previously set network interfaces...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["hostonlyif", "create"]
Stderr: 0%...
Progress state: E_FAIL
VBoxManage.exe: error: Failed to create the host-only adapter
VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified error (extended info not available)
VBoxManage.exe: error: Context: "int __cdecl handleCreate(struct HandlerArg *,int,int *)" at line 66 of file VBoxManageHostonly.cpp
------------------------------------------------------------
大家怎么解决的?
回归的麒麟
9 years, 11 months ago
Answers
你先试试我的方案,明天我给同事装的时候,再来检测一下可行度。还有就是你现在这个问题真没遇到过,我明天再试一下virtualbox的4.3.28最新版本有木有问题
皇家ミ烈焰
answered 9 years, 11 months ago