wiki:GEC16VMSetup

Version 7 (modified by sedwards@bbn.com, 6 years ago) (diff)

--

Software on the GEC16 Tutorial VM

Software Installed by the InstaGENI/GEMINI Tutorial

Updated existing packages

sudo apt-get update
sudo apt-get upgrade

Miscellaneous packages needed for GEMINI

sudo apt-get install python-m2crypto python-dateutil python-openssl libxmlsec1 xmlsec1 libxmlsec1-openssl libxmlsec1-dev openjdk-7-jdk git  python-M2Crypto python-paramiko sharutils ntp libncurses-dev build-essential bison flex python-lxml
sudo apt-get install libreadline6-dev libtool automake python-dev
sudo apt-get install yap swig

Installed strongswan

cd ~/Downloads
wget http://download.strongswan.org/strongswan-4.6.4.tar.bz2
bunzip2 strongswan-4.6.4.tar.bz2
tar -xvf strongswan-4.6.4.tar
cd strongswan-4.6.4/
./configure --enable-monolithic --disable-gmp --enable-openssl
cd src/libstrongswan/
make && sudo make install

Installed ABAC

cd ~/Downloads
wget http://abac.deterlab.net/src/abac-0.2.3.tgz
cd abac/
STRONGSWAN_SRC_DIR=~/Downloads/strongswan-4.6.4
STRONGSWAN_LIB_DIR=/usr/local/lib/ipsec
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386/
./autogen.sh
./configure --with-strongswan=$STRONGSWAN_SRC_DIR --with-strongswan-ld-path=$STRONGSWAN_LIB_DIR
vi libabac/abac_util.c
make
sudo make install
vi /usr/local/etc/strongswan.conf

Cloned GEMINI git repository

mkdir ~/src
cd ~/src
git clone https://github.com/GENI-GEMINI/UW.git GEMINI
mkdir ~/GEC16\ Tutorials/GEMINI
cd ~/GEC16\ Tutorials/GEMINI
ln -s ~/src/GEMINI/geminiv2 common

Installed credentials for gemini01-gemini15 in ~/GEC16\ Tutorials/GEMINI

Installed GSI

cd src
tar -zxvf /tmp/irodsGSIinstall/gt5.2.2-all-source-installer.tar.gz
sudo apt-get install libltdl-dev
sudo mkdir /usr/local/globus
sudo chmod a+w /usr/local/globus
cd gt5.2.2-all-source-installer/
export GLOBUS_LOCATION=/usr/local/globus
./configure --prefix $GLOBUS_LOCATION
make globus-gsi
cd /usr/local/globus/include/globus
ln -s gcc32dbg/globus_config.h 
export LD_LIBRARY_PATH=$GLOBUS_LOCATION/lib

Installed iRODS 3.2

cd ~/src
tar -zxvf /tmp/irodsGSIinstall/irods3.2.tgz
cd iRODS
./irodssetup

Include additional prompts for advanced settings [no]?  no
Build an iRODS server [yes]? no
Include GSI [no]? yes
GLOBUS_LOCATION [/usr/local/globus]? /usr/local/globus 
GSI Install Type to use (or 'none')? globus
Include Kerberos [no]? no
Include the NCCS Auditing extensions [no]? no
Save configuration (irods.config) [yes]?  yes
Start iRODS build [yes]? yes 

Installed CA certificates

mkdir ~/.globus
cd ~/.globus
tar -zxvf /tmp/irodsGSIinstall/geniCAbundle.tgz
cd certificates
for i in `ls *.0`;do hash=`basename ${i} .0`;rm $hash.signing_policy;rm $hash.0;done
/tmp/irodsGSIinstall/genhashes.sh

Set up bash environment for iRODS/GSI

echo 'export PATH=/home/geni/src/iRODS/clients/icommands/bin:$PATH' >> /home/geni/.bashrc
echo 'export GLOBUS_LOCATION=/usr/local/globus' >> /home/geni/.bashrc
echo 'export LD_LIBRARY_PATH=$GLOBUS_LOCATION/lib' >> /home/geni/.bashrc

Installed other misc tools

  • vim
  • screen
  • emacs
  • apache2

Installed gcf 2.2.1 in /usr/local/bin

Cloned GENI-Userworkspace git repository in /home/geni/src

  • includes credconfig.sh

Software Installed by the ExoGENI/GIMI Tutorial

Installed omf-common, omf-ec, omf-rc, omf-am (version 5.4)

file /sbin/init

sudo vim /etc/apt/sources.list

deb http://pkg.mytestbed.net/ubuntu precise/
deb http://cran.mtu.edu/bin/linux/ubuntu precise/

gpg --keyserver keyserver.ubuntu.com --recv 51716619E084DAB9
gpg --export --armor 51716619E084DAB9 | sudo apt-key add -

sudo apt-get install omf-expctl-5.4 omf-aggmgr-5.4 omf-resctl-5.4

Installed oml2-server, oml2-apps, liboml2 (oml2 version 2.9), R

sudo apt-add-repository "deb http://download.opensuse.org/repositories/home:/cdwertmann:/oml/xUbuntu_12.04/ ./"
curl http://download.opensuse.org/repositories/home:/cdwertmann:/oml/xUbuntu_12.04/Release.key | sudo apt-key add -

sudo apt-get install liboml2 oml2-apps r-base

Installed Floodlight, Avior, created .flukes.properties file

git clone git://github.com/floodlight/floodlight.git
sudo apt-get install build-essential default-jdk ant python-dev
cd floodlight; ant

Installed VLC with DASH Plugin

git clone git://git.videolan.org/vlc.git
sudo apt-get install git libtool build-essential pkg-config autoconf
sudo apt-get build-dep vlc
cd vlc
./bootstrap
./configure
sudo make install

Software Installed by the Portal Tutorial

Bookmarks for:

  • panther
  • GEC16 Agenda
  • Tutorial folder
    • Portal tutorial wiki page

Software Installed by the Advanced Experiments Tutorial

  • Installed chrome
  • Added security exception for pgeni.gpolab.bbn.com in Firefox
  • In my effort to add a security exception for the bbn pgeni site in chrome I also added:
    sudo apt-get install libnss3-tools
    

Bookmarks for:

  • Tutorial folder
    • Advanced Networking tutorial wiki page
    • OpenFlow tutorial wiki page