| 1 | = Setting up GENI-in-a-Box Development Environment for Fedora 15 = |
| 2 | |
| 3 | == Install OpenVZ == |
| 4 | |
| 5 | Follow instructions at http://www.howtoforge.com/installing-and-using-openvz-on-fedora-15. |
| 6 | |
| 7 | It is quite possible your !VirtualBox guest additions will not work after you install OpenVZ. Unfortunately there does not appear to be a way of getting guest additions once OpenVZ is installed. |
| 8 | |
| 9 | == Install GCF == |
| 10 | |
| 11 | 1. If you don't have a GPO Lab account that will allow you to access the GCF git repository, send an email to [mailto:gpo-infra@geni.net] to request an account. |
| 12 | |
| 13 | 2 Clone the repository and switch to the geni-in-a-box branch: |
| 14 | {{{ |
| 15 | $ git clone http://trac.gpolab.bbn.com/srv/git/gcf |
| 16 | $ cd gcf |
| 17 | $ git branch geni-in-a-box |
| 18 | $ git pull origin geni-in-a-box |
| 19 | }}} |
| 20 | |
| 21 | 3. Run the script that sets up the OS in the VM: |
| 22 | {{{ |
| 23 | $ cd ~/gcf/src/geni/am/gibaggregate/standardScripts |
| 24 | $ ./hostSetup.sh |
| 25 | }}} |
| 26 | You'll be prompted for the root password as the script includes sudo commands. |
| 27 | |
| 28 | 4. Edit the sudoers file to allow sudo without a tty |
| 29 | {{{ |
| 30 | $ sudo visudo |
| 31 | }}} |
| 32 | |
| 33 | 5. Make sure the root account and the gib account have the password in ~/.gcf/passwords. Change the root and gib account passwords if necessary to match that in the ~/.gcf/passwords file. |
| 34 | |
| 35 | 6. Restart the VM. When it starts up the AM and CH should be running. If they are you'll find their outputs logged at /tmp/am-log and /tmp/ch-log respectively. |
| 36 | |
| 37 | 7. Run some tests using Omni. |
| 38 | |