码迷,mamicode.com
首页 > 其他好文 > 详细

laravel homestead vagrant box安装及使用

时间:2015-06-11 06:55:35      阅读:200      评论:0      收藏:0      [点我收藏+]

标签:

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!