How to install vagrant on centos 6

Vagrant is Configuration Management (CM). Development environment made easy use vagrant. To knowledge, vagrant to help for building and deployment. It’s open-source. let’s go! “How to install vagrant on centos 6”. Vagrant the essential for DevOps Roles.

Requirements

  • Install VirtualBox
  • Install vagrant
  • A sudo user

To update and installing the dependency packages

 # yum update
 # yum install wget binutils qt gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms

Step 1: To install VirtualBox on centos 6

Downloading and installing Virtualbox on centos 6

 # cd /etc/yum.repos.d/
 # wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
 # yum install VirtualBox-5.1

To add sudo user huupv to vboxusers

 # usermod -a -G vboxusers huupv

Step 2: To install vagrant on centos 6

Link download for latest version vagrant: https://www.vagrantup.com/downloads.html
For my lab, To downloads vagrant_2.0.0 for centos 64 bit

 # wget -qO- https://releases.hashicorp.com/vagrant/2.0.0/vagrant_2.0.0_x86_64.rpm?_ga=2.14788275.482799349.1505026202-1074579003.1504020307 -O vagrant_2.0.0_x86_64.rpm

To install vagrant

 # rpm -ivh vagrant_2.0.0_x86_64.rpm

Conclusion

Thought the article, you can use VHow to install vagrant on centos 6 as above. I hope will this your helpful.

, ,

About HuuPV

My name is Huu. I love technology and especially Devops Skill such as Docker, vagrant, git so forth. I likes open-sources. so I created DevopsRoles.com site to share the knowledge that I have learned. My Job: IT system administrator. Hobbies: summoners war game, gossip.
View all posts by HuuPV →

3 thoughts on “How to install vagrant on centos 6

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment moderation is enabled. Your comment may take some time to appear.

This site uses Akismet to reduce spam. Learn how your comment data is processed.