https://developer.hashicorp.com/vagrant/downloads
Note: Vagrant requires vm providers to work. Make sure you have either of the followings installed before hand
1) hyperv
2) libvirt
3) virtualbox
4) vmware_desktop
I use virtual box :).
After installing vagrant add vbguest
plugin. This will save you from a lot of hassel.Trust me ;). More here: https://github.com/dotless-de/vagrant-vbguest
$ vagrant plugin install vagrant-vbguest
cd VM_FOLDER
$ vagrant up
$ vagrant status
Current machine states:
centos8 running (virtualbox)
ubuntu64 running (virtualbox)
$ vagrant halt BOX_NAME
$ vagrant ssh [VM_NAME]
eg:
$ vagrant ssh centos8
Welcome to your Vagrant-built virtual machine.
Last login: Fri Sep 14 06:23:18 2012 from 10.0.2.2
vagrant@centos:~
$ vagrant box list
$ vagrant destroy [VM_NAME]
Note: Removing box is different to destorying vm.
$ vagrant box remove list
$ vagrant ssh centos8
Welcome to your Vagrant-built virtual machine.
Last login: Fri Sep 14 06:23:18 2012 from 10.0.2.2
vagrant@centos:~ logout
If you get error like
umount /mnt
Stdout from the command:
Stderr from the command:
umount: /mnt: not mounted
Simply backport the vbguet to 0.21 which works
vagrant plugin uninstall vagrant-vbguest
vagrant plugin install vagrant-vbguest --plugin-version 0.21