Version 2 (modified by 12 years ago) (diff) | ,
---|
Setting up GENI-in-a-Box Development Environment for Fedora 15
This page describes how to set up the GENI-in-a-Box environment as a new Fedora 15 GiB-Implementation.
Install OpenVZ
Follow instructions at http://www.howtoforge.com/installing-and-using-openvz-on-fedora-15.
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.
Install GCF
- If you don't have a GPO Lab account that will allow you to access the GCF git repository, send an email to gpo-infra@geni.net to request an account.
2 Clone the repository and switch to the geni-in-a-box branch:
$ git clone http://trac.gpolab.bbn.com/srv/git/gcf $ cd gcf $ git branch geni-in-a-box $ git pull origin geni-in-a-box
- Run the script that sets up the OS in the VM:
$ cd ~/gcf/src/geni/am/gibaggregate/standardScripts $ ./hostSetup.sh
You'll be prompted for the root password as the script includes sudo commands.
- Edit the sudoers file to allow sudo without a tty
$ sudo visudo
- 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.
- 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.
- Run some tests using Omni.