Vagrant

To use vagrant, you will first need to download and install...

  • Oracle VirtualBox

  • Vagrant

Launch a server using Vagrant

To create a running virtualbox virtual machine (called test1), follow these steps.

mkdir test1

cd test1

vagrant init

vi Vagrantfile

*** further details on vagrantfile contents to be added ***

vagrant up

There should now be a running VM in VirtualBox!...

Vagrant Basics

Type the following from your vagrant directory to start an ssh connection to your vagrant host...

vagrant ssh

To stop...

vagrant halt

To start...

vagrant up

To restart...

vagrant reload

To destroy...

vagrant destroy -f