# yum -y install gcc dkms make qt libgomp patch 
# yum -y install kernel-headers kernel-devel binutils glibc-headers glibc-devel font-forge
 
# cd /etc/yum.repo.d/
# wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
 
# yum install -y VirtualBox-5.1
# /sbin/rcvboxdrv setup
 
----------- For 64-bit machine -----------
# yum -y install https://releases.hashicorp.com/vagrant/1.9.6/vagrant_1.9.6_x86_64.rpm
----------- For 32-bit machine ----------- 
# yum -y install https://releases.hashicorp.com/vagrant/1.9.6/vagrant_1.9.6_i686.rpm
 
# mkdir ~/vagrant-home 
# cd ~/vagrant-home
 
----------- Installing Ubuntu -----------
# vagrant init ubuntu/xenial64
----------- Installing CentOS -----------
# vagrant init centos/7