window7 安装homestead

参考地址:https://laravel-china.org/topics/2519/how-to-install-laravel-windows-on-homesteadlaravel

1、安装vagrant1.93     VirtualBox5.1.22json

2、参考地址下载 virtualboxwindows

3、新建a.json,放到用户目录C:\Users\3D-09下,内容{ "name": "laravel/homestead", "versions": [ { "version": "0.5.0", "providers": [ { "name": "virtualbox", "url": "D:/box/virtualbox.box" //你下载的virtualbox.box在电脑系统上的位置 } ] } ] }less

4、按步骤配置homestead\Homestead.yamlide

5、vagrant up   报错There was an error while executing `VBoxManage`, a CLI used by Vagrantfor controlling VirtualBox. The command and stderr is shown below.Command: [“startvm”, “ef87515f-b462-416f-85bf-08ccdb8ca601”, “–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 ‘D:DaMao文档VirtualBox VMshomestead-7LogsVBoxHardening.log’VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachineurl

 

1.Homestead\scripts\homestead.rb新增host_ip:"128.0.0.1"vagrant

2.重装vagrant1.95 无效code

3.Homestead 目录从C盘移到D盘无效component

相关文章
相关标签/搜索