Version 5 (modified by, 10 years ago) (diff)


GEC 13 VM Setup

This page is for keeping track of the setup of the VM that is going to be used for the GEC 12 tutorials. The VM was create using VirtualBox version 4.1.4. It is running Ubuntu version 10.04 LTS.

Please update this page with information on software you install on the VM: Name and version number of the software, location, etc.. Please put tutorial specific software (e.g. experiment software that is installed onto GENI resources) in the specific directories in the Tutorials directory under the user's home directory (e.g. /home/geni/Tutorials/ExptWorkflow).

Experimental Workflow Tutorial

  • Installed Omni, Final gcf 1.6 release Install the following packages
    sudo apt-get install python-m2crypto python-dateutil \
                         python-pyopenssl libxmlsec1 xmlsec1 \
                         libxmlsec1-openssl libxmlsec1-dev

Download release gcf1.6

cd Tutorial/ExptWorkflow
tar xvfz gcf-1.6.tar.gz
\rm gcf-1.6.tar.gz
ln -s gcf-1.6 gcf
  • Added in the end of the .bashrc file of the GENI user these lines
    # set PATH so it includes Omni software if it exists
    if [ -d "/home/geni/Tutorials/ExptWorkflow/gcf/src" ] ; then
        export PYTHONPATH="/home/geni/Tutorials/ExptWorkflow/gcf/src:$PYTHONPATH"
    # set PATH to include scripts for the Experiment Workflow tutorial
    if [ -d "/home/geni/Tutorials/ExptWorkflow/bin" ] ; then
  • Added scripts, credentials and rspecs files. These all need to be updated before the Final version of the VM

Installing NetServ


# for building netserv
sudo apt-get update
sudo apt-get install \
      build-essential \
      automake \
      openssl \
      libtool \
      libnetfilter-queue-dev \
      ntp \
      libpoco-dev \
      libssl-dev \
      libxerces-c-dev \

# Install OpenJDK if no JDK has been installed already.
#   sudo apt-get install openjdk-6-jdk
# If some other JDK has been installed already, make sure JAVA_HOME
# environment variable is set in .bashrc for both the geni user and
# root.  For example, if Sun JDK has been installed, the following 
# line should be in both .bashrc:
#   export JAVA_HOME=/usr/lib/jvm/java-6-sun

# for tutorial
sudo apt-get update
sudo apt-get install \
      vim-gtk \

Install NetServ code:

cd /home/geni/Tutorials/NetServ
svn co svn://

sudo ln -s /home/geni/Tutorials/NetServ/gec-tutorial /netserv-root
cd /netserv-root

Build NetServ core