在執行 vagrant up 時出現下面的錯誤apache
Failed to mount folders in Linux guest. This is usually beacuse the "vboxsf" file system is not available. Please verify that the guest additions are properly installed in the guest and can work properly. The command attempted was: mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group apache | cut -d: -f3`,dmode=777,fmode=777 /vagrant /vagrant mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g apache`,dmode=777,fmode=777 /vagrant /vagrant
解決方法:ui
sudo /etc/init.d/vboxadd setup # 中略 結果應所有ok vagrant halt vagrant up
中間若是有問題會提示你查看日誌,可能會出現的問題有:沒有安裝kernel-devel,或者是沒有安裝編譯環境等。vagrant