Vagrant is an open source tool that allows users to create and manage virtual machine environments. It provides a command line interface to define VMs using a Vagrantfile configuration file and control their lifecycle. Vagrant aims to simplify setting up reproducible development environments by automating the configuration of VMs and removing the need to install software locally. It supports provisioning VMs automatically through scripts and managing multiple coordinated VMs through a single configuration.
2. What is vagrant ?
● Open source tool for creating virtual test
evironments
● Written in ruby by Mitchell Hashimoto
● Wrapper over traditional Virtualization Software
like virtualbox, etc
● Provides CLI to manage VM
3. How to install vagrant ?
● Download and Install Virtualbox
https://www.virtualbox.org/wiki/Downloads
● Download and Install Vagrant
https://www.vagrantup.com/downloads.html
Done :)
11. Why Vagrant ?
● Lowers setup time
● Easy and quick to use
● Eliminate works on my machine excuse
● Command line tool
12. More intermediate concepts
● Synced Folder - Allows vagrant to share files
between Host computer and the vagrant box
● Provisioning – Allows to automatically run
some script after virtual machine is installed
● Multi machine – Allows to create multiple VM
with same Vagrantfile
13. Demo 2
shell script which uses the
provisioning option in the Vagrantfile
to install apache
20. ● Currently I am working on combining Vagrant
with Virtual LTSP server
● Vagrant advantage is easy and quick to deploy
● LTSP allows computers of a LAN to boot
through network from a single server
● Combining these 2 would definitely be a cool
project