| 5 | We find the combination of [https://www.virtualbox.org/wiki/Downloads VirtualBox] and [http://www.vagrantup.com/downloads vagrant] is really easy to use: |
| 6 | 1. Install [https://www.virtualbox.org/wiki/Downloads VirtualBox] |
| 7 | 1. Install [http://www.vagrantup.com/downloads vagrant] |
| 8 | 1. Follow the [https://docs.vagrantup.com/v2/getting-started/index.html getting started] instructions for vagrant: |
| 9 | {{{ |
| 10 | mac> mkdir genilib # make a directory for genilib |
| 11 | mac> wget http://www.gpolab.bbn.com/exp/vagrant/genilib/Vagrantfile # an Ubuntu 12.04 LR 32-bit image |
| 12 | }}} |
| 13 | 1. Download the `omni.bundle` using the browser on your mac, but then copy the `omni.bundle` file from the `Downloads` directory to the same directory as your Vagrantfile. |
| 14 | {{{ |
| 15 | mac> cp ~/Downloads/omni.bundle . # copy your omni.bundle to this directory |
| 16 | mac> vagrant up # create an 12.04 LR 32-bit Ubuntu virtual machine with geni-lib installed |
| 17 | mac> vagrant ssh # login to your VM |
| 18 | }}} |
| 19 | 1. Then when you configure geni-lib, run the following command inside your VM instead of the listed instructions: |
| 20 | {{{ |
| 21 | ubuntu> context-from-bundle --bundle /vagrant/omni.bundle |
| 22 | }}} |
| 23 | 1. You should now be able to [http://geni-lib.readthedocs.org/en/latest/tutorials/portalcontext.html#test-it-out test your setup] following the usual steps. |
| 24 | 1. When you are done |
| 25 | {{{ |
| 26 | ubuntu> exit |
| 27 | mac> vagrant halt # to shutdown your VM (vagrant destroy will completely delete the VM causing you to lose all your work) |
| 28 | }}} |
| 29 | |
| 30 | {{{ |
| 31 | #!comment |
| 32 | == Original == |