Vagrant is an open source tool for building a complete virtual development environment. Very often, a test environment is required for testing the latest release and new tools. Also, it reduces the time spent in re-building your OS. By default, vagrant uses virtualbox for managing the Virtualization. Vagrant acts as the central configuration for managing/deploying multiple reproducible virtual environments with the same configuration.
$ sudo apt-get install virtualbox
$ sudo apt-get install vagrant
Install the dkms package to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the Linux kernel version changes during the next apt-get upgrade.
Create a root directory for your Project. Then create a vagrant file in this folder by calling 'vagrant init', which will be the central file for the project configuration.
$ mkdir vagrant_project $ cd vagrant_project $ vagrant init
Edit the Vagrantfile in this directory and replace
config.vm.box = "precise32"