laravel homestead windows 安裝 no input file specified解決辦法

1、下載visual box 和 vgarant兩個 工具,安裝

2、添加homestead的box到vagrant


3、創建一個虛擬機配置文件

git clonehttps://github.com/Swader/homestead_improved 你的目錄

4、修改Homestead.yaml配置

folders就是Windows的實際目錄對應的虛擬機裏邊的目錄

sites就是站點名稱對應的虛擬機的目錄

5、修改hosts爲sites裏邊的站點名字

6、打開vargrant up ,終端連接vagrant ssh

7、瀏覽器,輸入    你的網址:8000 就可以直接訪問你在folders裏設置的文件夾了

8、參考

http://www.sitepoint.com/quick-tip-get-homestead-vagrant-vm-running/

https://phphub.org/topics/2

9、如果訪問出現    no input file specified

輸入vagrant provision


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章