Vagrant Updated Notes-SessionHandouts
Vagrant Updated Notes-SessionHandouts
Popular VM Platforms: 🌍
✅ VirtualBox
✅ Amazon EC2
✅ Microsoft Azure
✅ Google Cloud Compute Engine
✅ DigitalOcean
What is Vagrant? 🚀
🔹 Open-source tool written in Ruby.
🔹 Automates the creation and management of Virtual Machines.
🔹 Uses a simple configuration file to specify the VM setup.
🔹 Creates a VM using the command:
1 vagrant up
2
🔹 Alternative method:
1 vagrant init centos/7
2 vagrant box add centos/7
3
💡 The first time, Vagrant will download the box from the internet.
📌 Step 7: Connect to the VM via SSH:
1 vagrant ssh
2
Vagrant Box Commands 📦
Command Description
vagrant box remove <box> Deletes a box from the local repository
📍 Location of VM Boxes:
📌 Mac/Linux: ~/.vagrant.d/boxes
📌 Windows: C:/Users/USERNAME/.vagrant.d/boxes
References 📚
🔗 Vagrant Documentation – developer.hashicorp.com/vagrant
🔗 VirtualBox Downloads – virtualbox.org
🔗 Vagrant Box Search – app.vagrantup.com/boxes/search
This document provides a structured, colorful, and well-organized guide to VMs and Vagrant.😊