vagrant can use the command line to quickly build Linux systems to achieve synchronization of development environments.
Step
Preparation Tool installation VirtualBox installation vagrant Download box system Mirror http://www.vagrantbox.es/(recommend a foreigner integrated development environment, website introduction HTTPS ://box.scotch.io/, I used the command line to download too much failure, so crawl to url:https://atlas.hashicorp.com/scotch/boxes/box/versions/2.5/providers/ Virtualbox.box)
Start installation image I installed the vagrant in D disk, installed after the environment variable, let cmd have vagrant this command, and then test vagrant whether the installation of success:
Vagrant-v
Install Vagrant box, I under the box is centos6.6 version, centos6.6 randomly named, Centos-6.6-x86_64.box is the file you downloaded path
Vagrant Box Add centos6.6 centos-6.6-x86_64.box
Create and enter a directory where you want to generate a configuration file, initialize the mirror, and eventually generate the Vagrantfile configuration file
Vagrant Init centos6.6
After the IP configuration
Vagrant up
Success, you can ping its IP to try, and open virtual box software can see a VM running.
Reference blog and related website: http://www.cnblogs.com/suihui/p/4362233.html
https://segmentfault.com/a/1190000000264347
Http://www.cnblogs.com/ac1985482/p/4029315.html
https://box.scotch.io/