Version 6 (modified by 12 years ago) (diff) | ,
---|
Setting up GENI-in-a-Box Development Environment for Fedora 15
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
- Install your private key in ~/.ssh and make sure your public key has been uploaded to the server with the git repository.
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
You must have get a GPO Lab account before you can clone the repository. To get an account email gpo-infra@geni.net.
- 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.