1. 程式人生 > >win7安裝homestead遇坑小結

win7安裝homestead遇坑小結

具體步驟如下連結

問題1:vagrant up 後報錯Vagrant could not detect VirtualBox!

解決方法:

1、進入vagrant 安裝目錄查詢base.rb(F:\HashiCorp\Vagrant\embedded\gems\2.1.1\gems\vagrant-2.1.1\plugins\providers\virtualbox\driver\base.rb),將VBOX_INSTALL_PATH替換為VBOX_MSI_INSTALL_PATH

2、配一下系統環境變數,如過你沒安裝在c盤的話

2、powershell 未安裝

解決過程: 下載Windows6.1-KB2819745-x64-MultiPkg.msu (https://www.microsoft.com/zh-CN/download/details.aspx?id=40855)

如果安裝不了,下載.net4環境,如已安裝請忽略(https://www.microsoft.com/en-us/download/details.aspx?id=17851)

還不行看看windowsupdate是否開啟