kmu73w
Last Updated: February 25, 2016
·
7.671K
· jabclab
4f4bf0fbd4cc6de6159d78f9f9fb3aa6

Using Vagrant on headless CentOS/RHEL

In order to install Vagrant on CentOS/RHEL using purely the command line you can do the following:

# Add Virtual Box yum repo
sudo curl http://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo > /etc/yum.repos.d/virtualbox.repo

# Install VirtualBox
sudo yum install VirtualBox-4.2

# Install Vagrant via RPM (obtain URL of version you want via http://downloads.vagrantup.com/)
curl http://files.vagrantup.com/packages/b12c7e8814171c1295ef82416ffe51e8a168a244/vagrant_1.3.1_x86_64.rpm -o vagrant-1.3.1.rpm

# Install Vagrant
sudo rpm -i vagrant-1.3.1.rpm
Say Thanks
Respond
Filed Under