Prerequisites
- Download ant.
[bacon@bacon] bzip2 -dc apache-ant-1.6.1-bin.tar.bz2 | tar xf -
[bacon@bacon] export
ANT_HOME=`pwd`/apache-ant-1.6.1
- Download java
[root@bacon root]# rpm -i
j2sdk-1_4_2_03-linux-i586.rpm
[bacon@bacon] export JAVA_HOME=/usr/java/j2sdk1.4.2_03
[bacon@bacon] export PATH=$ANT_HOME/bin:$JAVA_HOME/bin:$PATH
- Download Postgresql.
From this step on, the prerequisites are optional, and used by
RFT and RLS. You may also perform these steps at a later date.
[bacon@bacon] rpm -qa | grep postgresql
postgresql-server-7.2.2-1mdk
postgresql-7.2.2-1mdk
- Edit /etc/init.d/postgresql so that the startup line looks like:
su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -o '-i' -D $PGDATA -p /usr/bin/postmaster start > /dev/null 2>&1" < /dev/null
The addition is in the -o '-i'. That allows postgresql to accept TCP/IP connections.
Also, edit the pg_hba.conf to allow access from your machine.
- Run /etc/init.d/postgresql start. The first time, this will
create /var/lib/pgsql/data. If you want to accept internet
connections from machines other than your own, you will need to
edit /var/lib/pgsql/data/pg_hba.conf. Please see Postgresql
docs on how to accomplish this.
The installer
- Download the installer from the download
page.
- Untar the installer.
- If you are using JDK 1.3.1, you will need to let ant
know where to find jaas.jar.
You can set "ANT_OPTS=-Djava.ext.dirs=<dir of jaas.jar>"
to accomplish that. After your installation is complete, copy
jaas1_0_01/lib/jaas.jar to $GLOBUS_LOCATION/lib.
[bacon@bacon] ./install-gt3 /home/bacon/pkgs/gt3
|& tee install.log
This step will take a while. If you would like to see more
verbose logging output, edit the script and add "-verbose" to
the definition of GPT_BUILD and GPT_INSTALL. This is a good
time to grab a snack.
Post-installation setup
There are a few steps remaining to be run.
- [bacon@bacon] cd /home/bacon/pkgs/gt3
- [root@bacon]# mkdir /usr/java/j2sdk1.4.1_03/jre/lib/endorsed
- [root@bacon]# cp endorsed/xalan.jar
/usr/java/j2sdk1.4.1_03/jre/lib/endorsed
- [root@bacon gt3]# export GLOBUS_LOCATION=`pwd`
- [root@bacon gt3]# setup/globus/setup-simple-ca
- [root@bacon gt3]# bin/grid-cert-request -host `hostname`
- Sign the certificate request using grid-ca-sign
- After you get a hostcert, run install-gt3-mmjfs. Run
setperms.sh as root. This will enable grim and mmjfs.
So, how is everything?
- [bacon@bacon] export GLOBUS_LOCATION=`pwd`
- [bacon@bacon] source etc/globus-user-env.sh
- [bacon@bacon] bin/globus-start-container -p 8080
- This should start up the gridservices hosting
environment. You will see a list of services hosted in the
container go by. Control will not return to the terminal.
If you would like to start a container and keep logs, I use
the command
nohup bin/globus-start-container > var/mhe.log
&
to put it in the background and keep a
log.
- If you get errors, or the container exits after starting,
see the debugging section.
Otherwise, move on to service
configuration.
For support, please see the Support
Page
bacon@mcs.anl.gov
Last modified: Sun Feb 15 16:50:41 CDT 2003