首页 > 其他 > 详细

Laravel Homestead安装教程

时间:2016-01-24 12:50:03      阅读:128      评论:0      收藏:0      [点我收藏+]

 

1/先在https://www.vagrantup.com  下载vagrantup ,对应平台下载,并安装,安装后可以在命令行使用vagrant

 

  https://www.vagrantup.com/downloads.html  下载地址 

    mac:https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1.dmg

    windos:https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1.msi

       debian 64:https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1_x86_64.deb

           debian 32:https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1_i686.deb

    cetnos 32:https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1_i686.rpm

        cetnos 64:https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1_x86_64.rpm

 

2/命令行输入 ,安装laravel虚拟homestead

vagrant box add laravel/homestead

  此时会下载homestead 的虚拟BOX,在此之前 一定要安装 vbox或vm 这里只给出mac 的 下载地址

         https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.4.0/providers/virtualbox.box

    可以将上条命令改为
vagrant box add laravel/homestead  ~/Download/virtualbox.box

3/下载homestead脚本库(前提已经安装composer,并安装过laravel)

   没有安装可以执行
composer global require "laravel/installer"
cd ~
git clone https://github.com/laravel/homestead.git Homestead
bash init.sh

 

4/启动homestead

 vagrant up

 

 




Laravel Homestead安装教程

原文:http://www.cnblogs.com/verylove/p/5154904.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!