= GEC 12 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/Omni).'' == Software Installation Schedule == 1. ~~Niky (Omni) -- COMPLETED~~ 2. ~~Jason (PrimoGENI) -- COMPLETED~~ 3. Jae (!NetServ) -- by eod Tue 10/18 4. Michael and David (!DiCloud) -- by noon ET Thurs 10/20. 5. Charles (Measurement) -- by eod Fri 10/21 == Installing Omni == To install Omni, just follow the instruction at [http://trac.gpolab.bbn.com/gcf/wiki/QuickStart Omni Quick Start]. In more detail, install the following packages {{{ sudo apt-get install python-m2crypto python-dateutil \ python-pyopenssl libxmlsec1 xmlsec1 \ libxmlsec1-openssl libxmlsec1-dev }}} Download release gcf1.3 from http://www.gpolab.bbn.com/local-sw/ under /usr/local/geni/ and untar it. {{{ tar xvfz gcf-1.3.tar.gz \rm gcf-1.3.tar.gz ln -s gcf-1.3/ gcf }}} Added in the end of the .profile file of the GENI user these lines {{{ # set PATH so it includes geni software if it exists if [ -d "/home/geni/Tutorials/Omni/gcf/src" ] ; then PATH="/home/geni/Tutorials/Omni/gcf/src:$PATH" export PYTHONPATH="/home/geni/Tutorials/Omni/gcf/src:$PYTHONPATH" fi }}} == Installing NOX == == Installing !NetServ == == Installing PrimoGENI == We performed the following steps: 1) sudo apt-get install subversion -- apt-get installed libapr1 libaprutil1 libsvn1 as dependencies 2) sudo apt-get install g++ -- apt installed g++-4.4 libstdc++6-4.4-dev as dependencies 3) downloaded and installed apache ant at /usr/share/apache-ant-1.8.2 -- added symlink /usr/share/ant to /usr/share/apache-ant-1.8.2 -- added symlink to ant in /usr/bin /usr/share/ant/bin/ant 4) Downloaded and installed Java SDK 6.27 from Oracle -- installed java at /usr/lib/jvm/jdk1.6.0_27 -- added symlinks for java commands to /etc/alternatives (pointing binaries in /usr/lib/jvm/jdk1.6.0_27/bin ) -- added symlinks at /usr/bin for java commands (pointing to /etc/alternatives) -- added 'export JAVA_HOME=/usr/lib/jvm/jdk1.6.0_27/' to /home/geni/.bashrc -- this is how java is normally installed on ubuntu 5) Checked out our software to /home/geni/workspace/primex using svn 6) Downloaded the latest eclipse -- installed it at /home/geni/bin/eclipse -- installed pde and rcp components -- installed http://robrohan.com/projects/afae plugin from https://www.primessf.net/pub/Public/PrimoGENIProject/afae_plugins.tgz -- set default workspace to /home/geni/workspace -- imported /home/geni/workspace/primex/netIDE as a project 7) Created Slingshot Application at /home/geni/bin/slingshot 8) Added shortcut to Slingshot on the Desktop == Installing !DiCloud ==