Style:Mac
Series:Java
Since:2018-09-10
End:2018-09-10
Total Hours:1
Degree Of Diffculty:5
Degree Of Mastery:5
Practical Level:5
Desired Goal:5
Archieve Goal:3
Gerneral Evaluation:3
Writer:kingdelee
Related Links:
http://www.cnblogs.com/kingdelee/
https://app.vagrantup.com/ubuntu/boxes/trusty64/versions/14.04
https://www.vagrantup.com/docs/installation/
1.初始化
vagrant init
2.添加本地的box,前面的是名字,后面的是box路径
vagrant box add ubuntu/trusty64 ./trusty-server-cloudimg-amd64-vagrant-disk1.box
3. 查看状态
vagrant status
4.访问虚拟机
vagrant ssh
5.启动虚拟机
vagrant up
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
6.修改配置文件后重新加载
vagrant reload --provision