A significant amount of of my articles on this blog I dare say would stem not too far from Vagrant.

As vagrant provides an adequate Virtual Developement Environment (VDE as they call it) that could simulate a multi-node architecture that directly mimics a live production environment like for like.  

Vagrant offers simplicity of orchestrating and provisioning Vangrant boxes, then declaring their internal private network as well as their designated IP addresses, just as you would expect 

It goes further by offering a buffet of Linux distributions to select from a Vagrant repository, so you don’t have to bother installing custom boxes, cloned from some ISO image or CD/DVD. They are already cooked to your taste and standard, you just have to pull from the repository (vagrant pull), dish out ( I mean provision it), and you're ready to go.

   

 

 It will come as no surprise should most of my projects/articles documented with Vagrant as the virtualization tool of choice in them, therefore I thought I could use this time to talk a little about them to save some time, should I need to skip over some intrinsic details and move on to the goood stuff.

Installing Vagrant.

To install Vagrant is very simple and easy ( there, I’ve said it ! lol ). Just as a prerequisite, the Host-Machine should already have Oracle Virtual Box installed. This is a vital aspect of Vagrant because the core functionality of Virtual Box is built into the main Vagrant product. Therefore quite a number of Virtual Box dependent packages are ensensail as well as utilized by Vagrant. 

 

 

I could talk about Virtual Box in another article, right now, I would stick with vagrant. In the meantime for further references about Virtual Box and whats it fuss about, you are welcome to review some of the links provided below. 

 

 

I believe that by now we are slightly familiar with the rudimentarties of Virtual Box, and have an idea of how to install it, and have it running on your desired Host-Machine

 

(Host-Machine means the actual computer you'll be working from. It could be a desktop or a laptop computer, as long as it has enough resources to spare for additional machines to run from)

 

 This is the part where it becomes a bit tricky ..  (Watch out for fancy commands) Depending on the Linux Distribution (Operating System) of your machine, you would have to install packages utilizing the approprate tool per OS.

 

The table below gives a rough depiction of the format by which a package comes, and the appropriate tool to manipulate it. 

 

Operating System (Distribution) Format Tool(s)
Debian / Parrot / Kali  .deb aptapt-cacheapt-getdpkg
Ubuntu / Mint / Zorin .deb aptapt-cacheapt-getdpkg
RedHat / CentOS  .rpm yum
Fedora .rpm dnf,  yum
FreeBSD Ports, .txz makepkg

 

 

To install Vagrant on a Debain / Ubuntu based Hostmachine 

 

1.  Start by installing the famous Virtual Box 

 

$ sudo apt-get install virtualbox

 

2. Now install Vagrant

 

$ sudo apt-get install vagrant

 

3. Install the dkms package to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the Linux kernel version changes during the next apt-get upgrade.

 

 

$ sudo apt-get install virtualbox-dkms

 

Altenatively to install Vagrant on CentOS / RedHat ff

 

 

 

 

d

 

 

 

 

 

  

 

 

ould talk about Virtual Box in another article, right now, I would stick with vagrant. In the meantime for further references about Virtual Box and whats it fuss about, you are welcome to review some of the links provided below.