美文网首页
Linux环境安装

Linux环境安装

作者: 阿坤不想学编程 | 来源:发表于2016-07-03 21:11 被阅读0次

    vagrant环境

    相关软件

    1. virtux box https://www.virtualbox.org/wiki/Downloads
    2. vagrant https://www.vagrantup.com/
    3. box http://www.vagrantbox.es/

    相关命令

    1. vagrant add box ubuntu xxx
    2. vagrant init ubuntu (切换到相关目录)
    3. vagrant up
    4. vagrant init
    5. vagrant up
    6. vagrant ssh

    Linux环境

    换阿里源

    1.sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
    2.sudo vim /etc/apt/sources.list
    3.替换为以下内容
    #Trusty(14.04) deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse

    相关文章

      网友评论

          本文标题:Linux环境安装

          本文链接:https://www.haomeiwen.com/subject/yqdcjttx.html