一、初始化虚拟机
vagrant init centos6.5
二、添加虚拟机到virtualbox
vagrant box add centos6.5 D:/download/virtualbox.box
三、配置vagrantfile
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.synced_folder "D:/lnmp/data", "/vagrant_data", type:"nfs"
四、打开虚拟机
vagrant up
五、命令
vagrant halt
vagrant reload
vagrant box remove centos6.5
vagrant destroy
vagrant box list
vagrant package