php - laravel5.1 homestead0.2.6 安装中,在vagrant up命令时出错,大家有遇到同样问题么?

 娱乐老爷_410 发布于 2022-12-01 13:00

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
------------------------------------------------------------

大家怎么解决的?

3 个回答
  • 你先试试我的方案,明天我给同事装的时候,再来检测一下可行度。还有就是你现在这个问题真没遇到过,我明天再试一下virtualbox的4.3.28最新版本有木有问题

    http://wenda.golaravel.com/question/1359

    2022-12-01 14:07 回答
  • Failed to create the host-only adapter 不能创建host-only adapter,你试把原来的删掉,或者用管理员权限运行

    2022-12-01 14:07 回答
  • 你这个貌似不是配置方面的问题,是VirtualBox设置或者硬件虚拟化没开吧。

    2022-12-01 14:07 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有