about how to install laravel and homestead in win7
install homestead
http://www.jianshu.com/p/ae9d1261bbd8
first step
install virtualbox https://www.virtualbox.org/wiki/Downloads
install vagrant https://www.vagrantup.com/downloads.html
install composer https://getcomposer.org/download/
second step
1 install vagrant box
links:http://pan.baidu.com/s/1dEJdHj7
pw:kzlc
rename the file as homestead.box and then put it in D:/homestead/
2 install homestead
run init.bat or bash init.sh
change Homestead.yaml
go to C:\Windows\System32\drivers\etc\hosts
add 192.168.10.10 homestead.app in file
3 create homestead.json
then
then
4 ssh key
create D:/homestead/ssh/id_rsa file
input D:/homestead/ssh/id_rsa as ssh place
5 change homestead/scripts/homestead.rb
config.vm.box_version = settings[“version”]||=”>=1.0.0”
third step
|
|
Rename .env.example file to .env
php artisan key:generate
or
cd D:/homestead/code
then
close:vagrant halt
then first load Homestead.yaml must
then
OK!
see laravel in homestead.app or 192.168.10.10