How to install Globus 4.0.1
From GridInfo
Contents |
How to install Globus Toolkit 4.0.1 Client
These instructions relate directly to installing Globus 4.0.1 client tools on Mac OS X, but should be portable to most operating systems
Simple instructions on how to configure and install globus 4 client tools under Mac OS X
Prerequisites
There are several prerequisites to installing Globus 4 - most of these are already installed by default on the Mac - the one that isn't is postgres. For instructions on installing postgres on the Mac click here.
You also need a globus user account for Globus to run as - this can be added using system preferences as for any normal Mac account.
Building Globus
Once the prerequisites are installed it is very simple to build and install Globus 4. Simply do the following:
As a normal user:
sudo mkdir /usr/local/globus sudo chown -R globus:globus /usr/local/globus
As the globus user:
Download the source from www.globus.org and decompress it into /usr/local/gt4.0.1-all-source-installer
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home ./configure --prefix=/usr/local/globus --with-flavor=gcc32dbg --with-gsiopensshargs="--with-tcp-wrappers" make make install
Configuring your environment
Once globus is installed, set the following environment variables by editing /etc/profile (where YOUR_HOSTNAME is replaced by your computer's hostname).
export GLOBUS_LOCATION=/usr/local/globus; export GPT_LOCATION=/usr/local/globus; export GLOBUS_TCP_PORT_RANGE=65000,65256; export GLOBUS_HOSTNAME=YOUR_HOSTNAME; . /usr/local/globus/etc/globus-user-env.sh
You must also set up a directory which allows globus to check machine's authentication. This directory is /etc/grid-security which can be copied from another submit machine.
Also you must create a ~/.globus directory for each user wishing to use globus within which the user's certificate must be stored as two files usercert.pem and userkey.pem. The access permissions for these files must be as follows:
$ ls -la ~/.globus/user* -r--r--r-- 1 rpb rpb 2225 Dec 23 14:56 usercert.pem -r-------- 1 rpb rpb 1921 Dec 23 14:56 userkey.pem
To create these files from your downloaded p12 file run the following commands (where cert.p12 is the name of your certificate):
openssl pkcs12 -in cert.p12 -clcerts -nokeys -out usercert.pem openssl pkcs12 -in cert.p12 -nocerts -out userkey.pem

