Go to file
2020-02-26 14:52:38 +08:00
base 站点更新:2018-11-04 21:53:37 2018-11-04 21:53:37 +08:00
config 站点更新:2018-11-20 17:14:42 2018-11-20 17:14:42 +08:00
.gitignore 站点更新:2018-11-01 18:19:14 2018-11-01 18:19:14 +08:00
README.md 站点更新:2020-02-26 14:52:38 2020-02-26 14:52:38 +08:00
Vagrantfile 站点更新:2020-02-26 14:52:38 2020-02-26 14:52:38 +08:00

Vagrant

# 插件安装
➜ vagrant plugin install vagrant-vbguest
➜ vagrant plugin install vagrant-hosts
cd base

➜ wget https://www.dropbox.com/s/570sb9j9k6b9rpp/centos-7.5-ehlxr.box?dl=0 -O centos-7.5-ehlxr.box

➜ vagrant box add -f centos-7.5-ehlxr centos-7.5-ehlxr.box

➜ vagrant up # 执行 init.sh 脚本时,最好保证能够 fq

➜ vagrant package --output centos-7.5-ehlxr.box

➜ vagrant box add -f centos-7.5-ehlxr centos-7.5-ehlxr.box

# onedrive.live.com、drive.google.com、pan.baidu.com 下载 centos-7.5-ehlxr

➜ vagrant box add -f centos-7.5-ehlxr centos-7.5-ehlxr.box
# vagrant package --base vghost1 --output centos-ehlxr.box

➜ vagrant up # 执行 init.sh 脚本时,最好保证能够 fq

vagrant plugin install 超时解决方法

➜ gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/

➜ gem sources -l
# 确保只有 gems.ruby-china.com

➜ vagrant plugin install vagrant-vbguest --plugin-clean-sources --plugin-source https://gems.ruby-china.com/