Linux环境安装
vagrant环境
相关软件
- virtux box https://www.virtualbox.org/wiki/Downloads
- vagrant https://www.vagrantup.com/
- box http://www.vagrantbox.es/
相关命令
- vagrant add box ubuntu xxx
- vagrant init ubuntu
(切换到相关目录)
- vagrant up
- vagrant init
- vagrant up
- 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