Day 3(15th October): Journey To Devops Pro — Vagrant Installation and Setup
What is Vagrant?
Vagrant is a tool for building and managing virtual machine environments in a single workflow. It makes life easier by lowering development environment setup time and increasing productivity.
Now let us understand this using a diagram
Managing various VM and configuring it is quite tedious. So using vagrant we can able to manage, configure and run multiple VM using a file known as “Vagrant File”.
A Vagrant file can keep the configuration of the VM such as OS, RAM, storage, and so on. when we run vagrant up command in a terminal, vagrant reads through the vagrant file and starts executing and creating VM according to the configuration.
How to Install and Setup CentOS using Vagrant?
Pre-requisite: Download Virtual Box
Step 1: We need to Download Vagrant
Once downloaded, Open the setup wizard and start the installation process
Once installed is done we need to proceed to set up centos. So to install and run centos Box, we need to go https://app.vagrantup.com/centos/boxes/7
and run following to command
vagrant init centos/7
vagrant up
And we are done with the installation process. We are done with Day 3 of the DevOps Pro Journey. Stay Tuned for the next class update.
Till Then Adios Amigos