站点更新:2018-11-02 22:19:19
This commit is contained in:
		
							
								
								
									
										19
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								README.md
									
									
									
									
									
								
							| @@ -1,13 +1,19 @@ | ||||
|  | ||||
| # Vagrant | ||||
|  | ||||
| ```shell | ||||
| # 插件安装 | ||||
| ➜ vagrant plugin install vagrant-vbguest | ||||
| ➜ vagrant plugin install vagrant-hosts | ||||
| ``` | ||||
|  | ||||
| ```sh | ||||
| ➜ cd base | ||||
|  | ||||
| ➜ wget https://www.dropbox.com/s/nuz6ts1hlx4vy27/vagrant-centos-7.2.box\?dl\=0 -O vagrant-centos-7.2.box | ||||
|  | ||||
| ➜ vagrant box add -f centos-7.2 vagrant-centos-7.2.box | ||||
|  | ||||
| ➜ cd base | ||||
|  | ||||
| ➜ vagrant up # 执行 init.sh 脚本时,最好保证能够 fq | ||||
|  | ||||
| ➜ vagrant package --output centos-7.2-ehlxr.box | ||||
| @@ -15,3 +21,12 @@ | ||||
| ➜ vagrant box add -f centos-7.2-ehlxr centos-7.2-ehlxr.box | ||||
|  | ||||
| ``` | ||||
|  | ||||
| ```sh | ||||
| # onedrive.live.com、drive.google.com、pan.baidu.com 下载 centos-7.2-ehlxr.box | ||||
|  | ||||
| ➜ vagrant box add -f centos-7.2-ehlxr centos-7.2-ehlxr.box | ||||
|  | ||||
| ➜ vagrant up # 执行 init.sh 脚本时,最好保证能够 fq | ||||
|  | ||||
| ``` | ||||
		Reference in New Issue
	
	Block a user