Having installed all the softwares listed in Prerequisites.
This lab assumes that you have a bash terminal and your PWD is the directory where this README.md file is located.
$ vagrant plugin install vagrant-vbguest
$ vagrant plugin install vagrant-reload
$ vagrant plugin install vagrant-hostmanager
$ cd vagrant/ubuntu
$ vagrant up
$ cd vagrant/fedora
$ vagrant up
Please note that the vagrant up
command can be used in the future to simply start the VM (without reinstalling it).
Other useful Vagrant commands are:
-
vagrant halt
: stops the VM. You have to run this command in the directory where the Vagrantfile is located. -
vagrant destroy
: destrois the VM. You have to run this command in the directory where the Vagrantfile is located.