rad-hombre / nixmentors

Lab sessions for Nix Braindumps

Home Page:http://braindump.cat.pdx.edu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nix Mentor Sessions

This repository is home to the materials used in the Nix Mentor Sessions run by theCAT for the 2014 Braindump year.

Sessions

Setting up Vagrant

Initial setup

mkdir -p /disk/trump/minerals/$USER
vboxmanage setproperty machinefolder /disk/trump/minerals/$USER

Clone the Repo

git clone https://github.com/pdxcat/nixmentors.git
cd nixmentors

Lab 1

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.

Additional Instructions for Alumni accounts

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>

At the end of the lab

# exit vagrant ssh
vagrant halt

About

Lab sessions for Nix Braindumps

http://braindump.cat.pdx.edu

License:Apache License 2.0


Languages

Language:Ruby 98.7%Language:PHP 1.3%