ππ» DevOps 3.1: VM Setup πΌπ§
"Streamlining Your Project with VM Setup - DevOps 3.1"
Important Note:
Clone and go through this repository and read the PDF for the steps and better understanding - Repo Link.
Steps:
First, Destroy all the previously running VMs if present.
Install this Plugin
vagrant plugin install vagrant-hostmanager
- This plugin helps manage the /etc/hosts file on your host machine and guest VMs, making it easier to access your VMs by hostname instead of IP addresses. It automatically updates the host file with entries for your Vagrant VMs, allowing you to use custom hostnames for your virtual machines. This can be especially useful when you have multiple VMs and want to access them using user-friendly names instead of remembering IP addresses.Install this plugin too -
vagrant plugin install vagrant-vbguest
-
The command "vagrant plugin install vagrant-vbguest" is used to install the "vagrant-vbguest" plugin for Vagrant. This plugin is designed to help keep VirtualBox Guest Additions up to date in your Vagrant virtual machines.Then do
vagrant up
to start the VMs. If any error occurs fix the error by googling. You can also verify by going through the entries of host file in one of the VMs.