zoukankan      html  css  js  c++  java
  • Laravel Homestead安装教程

    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 //会在~/.homestead目录下生产相应文件
    4/启动homestead

    cd ~/.homestead
    vagrant init //此步骤可以省略如果已经配置好了,不然依照键入
    vagrant up
     




  • 相关阅读:
    luoguP4113 [HEOI2012]采花
    JDOJ1100: Fix
    luoguP1972 [SDOI2009]HH的项链
    luoguP3431 [POI2005]AUT-The Bus
    luoguP5094 [USACO04OPEN]MooFest 狂欢节
    【转】主定理
    LeetCode 392. Is Subsequence 详解
    花式求解 LeetCode 279题-Perfect Squares
    利用遗传算法求解TSP问题
    DAPP开发初探——永存的留言
  • 原文地址:https://www.cnblogs.com/verylove/p/5154904.html
Copyright © 2011-2022 走看看