Before I start, I recommend installing Virtualbox,virtualbox is an open-source, cross-platform virtual machine from Oracle that can be installed on Linux, Mac OS X, and Windows.
Can be http://virtualbox.org
downloaded to VirtualBox. VirtualBox provides windows, MAC OS x Software installation packages, and a rich distribution of Linux systems, and if you can't find an installation package for your operating system, you can install it in a compiled installation.
In writing this article, vagrant supports the VirtualBox version of 4.0.x, 4.1.x, and 4.2.x,vagrant version 1.0 and does not support VirtualBox5.0. Note: You'd better update vagrant in time to achieve compatibility with VirtualBox.
Installing VirtualBox also requires the installation of kernel drivers for the operating system. Kernel driver is mainly for some of the older virtualization hardware prepared, through the operation of VirtualBox to achieve folder sharing, network tuning and so on.
Windows, MAC OS x System drivers are installed automatically when VirtualBox is installed.
Linux system you need to download additional packages, additional packages refer to: Kernel headers, DKMS (Dynamic kernelmodule System) and possibly other packages. When installing VirtualBox, you will be prompted to install if you find that the dependent packages are not installed. Install the kernel driver by running as the root user /etc/init.d/vboxdrv setup
.
For all operating systems, it is recommended that you restart the system after installing VirtualBox to ensure kernel driver uptime, especially if the VirtualBox version you installed is too old.
Chapter Vagrant Introduction--installing VirtualBox (7)