Spins up a very simple VM and installs a few important things.
- Install VirtualBox
- Install Vagrant
- Download this gist and extract.
- Run
vagrant upfrom the same directory asVagrantfileandprovision.shwhenever you want to rebuild the VM. - Run
vagrant(with no arguments) for a list of commands. - Run
vagrant sshto open an SSH session with your newly-booted VM.
- The directory containing Vagrantfile is mounted as a shared directory inside the VM at /vagrant
vagrant destroytears it down.vagrant suspendandvagrant resumecan be used instead ofupanddestroy.