1. Download
Virtualbox-4.3.26-98988-win.exe and Vagrant_1.7.2.msi and mirrored Lucid64.box
The image is Ubuntu Lucid 64
2.virtualbox-4.3.26-98988-win.exe and Vagrant_1.7.2.msi Follow the steps to install
3. Enter vagrant on the command line to get help information installed successfully.
4. Add image to vagrant
Vagrant Box Add base at the far end of the box address or local box file name
Base is the name of the box, can be any string, base is the default name
5. Create a development directory
To execute vagrant init in this directory, if you add a box name that is not base, you need to add the name of the box
Vagrant Init "Ubuntubox"
6. Start the virtual machine
Vagrant up
7. Start SSH
Vagrant SSH
8. Connect a virtual machine with a terminal
The default connection information is
Host Address: 127.0.0.1
Port: 2222
User name: vagrant
Password: vagrant
Problems may occur:
1) Vagrant up fails to start
Open Intel Virtual Technology in the BIOS set to enable
2) If the theme has been modified by Windows, to restore the system theme
Related File Download:
Click to open link
Vagrant+virtualbox Configuring the Linux environment