wiki:GENI-in-a-Box/GiB-Implementation/Fedora-Instructions

Version 4 (modified by lnevers@bbn.com, 7 years ago) (diff)

--

Table of Contents

  1. Install OpenVZ
  2. Install GCF

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 GENI-in-a-Box 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

  1. 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
  1. 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.

  1. Edit the sudoers file to allow sudo without a tty
    $ sudo visudo
    
  1. 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.
  1. 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.
  1. Run some tests using Omni.