This repository is home to the materials used in the Nix Mentor Sessions run by theCAT for the 2014 Braindump year.
- Lab 1: Intro to Vagrant and Intro to Web
- Lab 2: Databases and Advanced web
- Lab 3: NFS/LDAP/DNS
- Lab 4: Monitoring
- Lab 5: Storage
mkdir -p /disk/trump/minerals/$USER
vboxmanage setproperty machinefolder /disk/trump/minerals/$USER
git clone https://github.com/pdxcat/nixmentors.git
cd nixmentors
cd Lab1*
vagrant up
vagrant ssh
sudo -i
Now proceed to the Lab1 instructions.
Note that this will install the base precise64 image into the user's homedir. It will consume 300MB of profile space.
If you have been alumnified, this will fail because there's not enough space. You can store the image somewhere else instead. Add the following environment variable to your .whateverrc:
export VAGRANT_HOME=/disk/trump/minerals/$USER
Note that if you try to do vagrant up
on multiple machines, you will probably get an error about an inaccessible vm. If that happens, do like so:
VBoxManage list vms
You'll see a line identifying a vm that's inaccessible, and a hash to identify it. Take that entire hash (minus the curly braces), and run this:
VBoxManage unregistervm <hash>
# exit vagrant ssh
vagrant halt