Virtual Machine with Vagrant
- 
Download and Install Tools
- Download and install VirtualBox from the Official VirtualBox website.
 - Download and install Vagrant from the Official Vagrant website.
 
 - 
Get the Linux Box from Vagrant Cloud
- Visit Vagrant Cloud to find a suitable Linux box. Alternatively, you can add a Linux box directly using the command line:
Replacevagrant box add [box_name][box_name]with the name of the Linux box you want to use. 
 - Visit Vagrant Cloud to find a suitable Linux box. Alternatively, you can add a Linux box directly using the command line:
 - 
Initialize Vagrant Environment
- Initialize the VM with the following command:
Again, replacevagrant init [box_name][box_name]with the name of your chosen box. 
 - Initialize the VM with the following command:
 - 
Start the Virtual Machine
- Start the VM with:
vagrant up 
 - Start the VM with:
 - 
Check Installed Linux Box Version
- To check the installed Linux version and other boxes, use:
vagrant box list 
 - To check the installed Linux version and other boxes, use:
 - 
Connect to VM
- Connect to your VM via SSH using:
vagrant ssh 
 - Connect to your VM via SSH using:
 - 
Disconnect to VM
- suspend the VM
vagrant suspend - resume from suspend
vagrant resume - shutdown the VM
vagrant halt 
 - suspend the VM