大佬们帮帮忙,windows 10 安装Homestead 出现问题,已经百度和谷歌几天了,就是没有找到答案
windows 10 安装Homestead 出现问题,已经百度和谷歌几天了,就是没有找到答案,
代码如下:
francis@FRANCIS105D MINGW64 /f/homestead (master)
$ vagrant up
Bringing machine 'homestead-7' up with 'virtualbox' provider...
==> homestead-7: Importing base box 'laravel/homestead'...
==> homestead-7: Matching MAC address for NAT networking...
==> homestead-7: Checking if box 'laravel/homestead' is up to date...
==> homestead-7: Setting the name of the VM: homestead-7
==> homestead-7: Clearing any previously set network interfaces...
==> homestead-7: Preparing network interfaces based on configuration...
homestead-7: Adapter 1: nat
homestead-7: Adapter 2: hostonly
==> homestead-7: Forwarding ports...
homestead-7: 80 (guest) => 8000 (host) (adapter 1)
homestead-7: 443 (guest) => 44300 (host) (adapter 1)
homestead-7: 3306 (guest) => 33060 (host) (adapter 1)
homestead-7: 4040 (guest) => 4040 (host) (adapter 1)
homestead-7: 5432 (guest) => 54320 (host) (adapter 1)
homestead-7: 8025 (guest) => 8025 (host) (adapter 1)
homestead-7: 27017 (guest) => 27017 (host) (adapter 1)
homestead-7: 22 (guest) => 2222 (host) (adapter 1)
==> homestead-7: Running 'pre-boot' VM customizations...
==> homestead-7: Booting VM...
There was an error while executing VBoxManage
, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["startvm", "0a9bdb87-7b87-403d-bf60-c696d9f50562", "--type", "headless"]
Stderr: VBoxManage.exe: error: The virtual machine 'homestead-7' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\francis\VirtualBox VMs\homestead-7\Logs\VBoxHardening.log'
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine
21 Comments
@Francis#1086 我建议你直接在Mac上安装吧 省去很多烦恼 如果是虚拟机环境的问题 就更没救了
@学院君#1087 mac 能正常启动
@Francis#1088 那就Mac吧 不要用虚拟机了 以后每次开发、调试、测试都要开虚拟机 再启动Homestead 麻不麻烦 我想想都觉得麻烦 所以我本地开发基本都用Valet 做事情找最短路径 也是给以后省事
@学院君#1089 借鉴了,谢谢
@学院君#1089
Homestead确实坑太多了,
我也是折腾了几天才安装好,
然而,现在开发调试,
页面加载慢的要死。
@doalxi#1091 对 人生苦短 我用Valet 想想每次开发还要启动Homestead 累觉不爱 如果团队开发要求环境高度一致 不妨试试Docker