Changes between Version 1 and Version 2 of GEC16VMSetup


Ignore:
Timestamp:
02/27/13 17:51:44 (6 years ago)
Author:
Jeanne Ohren
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC16VMSetup

    v1 v2  
    77== Software Installed by the InstaGENI/GEMINI Tutorial ==
    88
     9=== Updated packages ===
     10{{{
     11sudo apt-get update
     12sudo apt-get upgrade
     13}}}
     14
     15=== Miscellaneous packaged needed for GEMINI ===
     16{{{
     17sudo 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
     18sudo apt-get install libreadline6-dev libtool automake python-dev
     19sudo apt-get install yap swig
     20}}}
     21
     22=== Installed strongswan ===
     23{{{
     24cd ~/Downloads
     25wget http://download.strongswan.org/strongswan-4.6.4.tar.bz2
     26bunzip2 strongswan-4.6.4.tar.bz2
     27tar -xvf strongswan-4.6.4.tar
     28cd strongswan-4.6.4/
     29./configure --enable-monolithic --disable-gmp --enable-openssl
     30cd src/libstrongswan/
     31make && sudo make install
     32}}}
     33
     34=== Installed ABAC ===
     35{{{
     36cd ~/Downloads
     37wget http://abac.deterlab.net/src/abac-0.2.3.tgz
     38cd abac/
     39STRONGSWAN_SRC_DIR=~/Downloads/strongswan-4.6.4
     40STRONGSWAN_LIB_DIR=/usr/local/lib/ipsec
     41export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386/
     42./autogen.sh
     43./configure --with-strongswan=$STRONGSWAN_SRC_DIR --with-strongswan-ld-path=$STRONGSWAN_LIB_DIR
     44vi libabac/abac_util.c
     45make
     46sudo make install
     47vi /usr/local/etc/strongswan.conf
     48}}}
     49
     50=== Cloned GEMINI git repository ===
     51{{{
     52mkdir ~/src
     53cd ~/src
     54git clone https://github.com/GENI-GEMINI/UW.git GEMINI
     55mkdir ~/GEC16\ Tutorials/GEMINI
     56cd ~/GEC16\ Tutorials/GEMINI
     57ln -s ~/src/GEMINI/geminiv2 common
     58}}}
     59
     60=== Installed credentials for gemini01-gemini15 in ~/GEC16\ Tutorials/GEMINI ===
     61
     62=== Installed GSI ===
     63{{{
     64cd src
     65tar -zxvf /tmp/irodsGSIinstall/gt5.2.2-all-source-installer.tar.gz
     66sudo apt-get install libltdl-dev
     67sudo mkdir /usr/local/globus
     68sudo chmod a+w /usr/local/globus
     69cd gt5.2.2-all-source-installer/
     70export GLOBUS_LOCATION=/usr/local/globus
     71./configure --prefix $GLOBUS_LOCATION
     72make globus-gsi
     73cd /usr/local/globus/include/globus
     74ln -s gcc32dbg/globus_config.h
     75export LD_LIBRARY_PATH=$GLOBUS_LOCATION/lib
     76}}}
     77
     78=== Installed iRODS 3.2 ===
     79{{{
     80cd ~/src
     81tar -zxvf /tmp/irodsGSIinstall/irods3.2.tgz
     82cd iRODS
     83./irodssetup
     84
     85Include additional prompts for advanced settings [no]?  no
     86Build an iRODS server [yes]? no
     87Include GSI [no]? yes
     88GLOBUS_LOCATION [/usr/local/globus]? /usr/local/globus
     89GSI Install Type to use (or 'none')? globus
     90Include Kerberos [no]? no
     91Include the NCCS Auditing extensions [no]? no
     92Save configuration (irods.config) [yes]?  yes
     93Start iRODS build [yes]? yes
     94}}}
     95
     96=== Installed CA certificates ===
     97{{{
     98mkdir ~/.globus
     99cd ~/.globus
     100tar -zxvf /tmp/irodsGSIinstall/geniCAbundle.tgz
     101cd certificates
     102for i in `ls *.0`;do hash=`basename ${i} .0`;rm $hash.signing_policy;rm $hash.0;done
     103/tmp/irodsGSIinstall/genhashes.sh
     104}}}
     105
     106=== Set up bash environment for iRODS/GSI ===
     107{{{
     108echo 'export PATH=/home/geni/src/iRODS/clients/icommands/bin:$PATH' >> /home/geni/.bashrc
     109echo 'export GLOBUS_LOCATION=/usr/local/globus' >> /home/geni/.bashrc
     110echo 'export LD_LIBRARY_PATH=$GLOBUS_LOCATION/lib' >> /home/geni/.bashrc
     111}}}
     112
     113=== Installed other misc tools ===
     114  * vim
     115  * screen
     116  * emacs
     117  * apache2
    9118
    10119
     
    19128== Software Installed by the Advanced Experiments Tutorial ==
    20129
    21