标签:
1.本地下载https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.2.6/providers/virtualbox.box下载该box
2.本地添加 vagrant box add laravel/homestead (path to downloaded file)
3.git clone https://github.com/laravel/homestead.git Homestead
4.运行init.sh将生成Homestead.yaml配置文件
5.配置相关参数
http://laravel.com/docs/5.1/homestead
6.vagrant up即可使用了
https://phphub.org/topics/2
windows下如果出现解压错误,那么可以使用一下方法解决
my solution was to download the basic_bsdtar.exe from herehttp://sourceforge.net/projects/mingw/files/MinGW/Extension/bsdtar/ and rename it to bsdtar.exe and place it in C:\HashiCorp\Vagrant\embedded\gnuwin32\bin\
参考: https://github.com/mitchellh/vagrant/issues/3869#issuecomment-48058728 (文件本身在网盘有备份)
laravel homestead vagrant box安装及使用
标签:
原文地址:http://www.cnblogs.com/kidsitcn/p/4567880.html