Devops Bootcamp Vagrant Environments
A set of vagrant environments used by the Devops Bootcamp.
Do not use the version of Vagrant that comes from your system's package manager unless you know it's up to date (if you're running an Ubuntu derivative, it won't be). Instead, download the appropriate package from the Vagrant site.
Additionally, get a recent version of VirtualBox from their download page.
If you're running Linux, you'll also need to install the
virtualbox-dkms package from your package manager for the
necessary kernel modules. You may also install VMWare Workstation if you have access to it as an alternative.
Starting your VM
Now you can use the
Vagrantfile in this repo to create your vagrant VM:
$ git clone email@example.com:DevOpsBootcamp/vagrant.git $ cd vagrant # Start a CentOS VM $ vagrant up # Download image and start VM $ vagrant ssh # to get into your VM # Start a Ubuntu VM $ cd ubuntu $ vagrant up # Download image and start VM $ vagrant ssh # to get into your VM # Start a Debian VM $ cd debian $ vagrant up # Download image and start VM $ vagrant ssh # to get into your VM
32 bit Virtual Machine
If you are having trouble using the default
Vagrantfile because it uses a 64 bit VM, there is a 32 bit VM
available. Simply enter the directory named
32bit by running:
# Start a CentOS 32bit VM $ cd 32bit $ vagrant up # Download image and start VM $ vagrant ssh # to get into your VM
Then, continue as normal.
If you get any errors, Google them and use the VirtualBox and Vagrant documentation to resolve them.
If it hangs on the
vagrant ssh part for several minutes, try accessing the VM through the VirtualBox interface to
see what error it's displaying on its console, then Google that error and fix your VirtualBox installation.