• 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
     




  • 相关阅读:
    [LeetCode] Walls and Gates
    [LeetCode] Expression Add Operators
    [LeetCode] Inorder Successor in BST
    [LeetCode] Peeking Iterator
    [CTCI] 最小调整有序
    [LeetCode] Single Number III
    [LeetCode] Zigzag Iterator
    [LeetCode] Wiggle Sort
    android 设颜色透明值
    android android BitmapFactory报错OOM
  • 原文地址:https://www.cnblogs.com/verylove/p/5154904.html
Copyright © 2020-2023  润新知