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

相關文章
相關標籤/搜索