Chapter 6: Deploying The Globus Toolkit 4.0.x
Building and Installing
Begin by unpacking the compressed tarball:
[globus@nodeB ~]$ tar -jxf gt4.0.1-all-source-installer.tar.bz2
Make sure that for user 'globus' JAVA_HOME is defined and the java tools are in PATH:
[globus@nodeB ~]$ export JAVA_HOME=/opt/jdk1.5.0_06
[globus@nodeB ~]$ export PATH=$JAVA_HOME/bin:$PATH
[globus@nodeB ~]$ which java
/opt/jdk1.5.0_06/bin/java
[globus@nodeB ~]$ which javac
/opt/jdk1.5.0_06/bin/javac
Make sure that for user 'globus' ANT_HOME is defined and the ant tools are in PATH:
[globus@nodeB ~]$ export ANT_HOME=/opt/apache-ant-1.6.5
[globus@nodeB ~]$ export PATH=$ANT_HOME/bin:$PATH
[globus@nodeB ~]$ which ant
/opt/apache-ant-1.6.5/bin/ant
Next change directories into the distribution:
[globus@nodeB ~]$ cd gt4.0.1-all-source-installer
Define GLOBUS_LOCATION to point to the directory into which the toolkit will be installed:
[globus@nodeB gt4.0.1-all-source-installer]$ export GLOBUS_LOCATION=/opt/globus-4.0.1
Configure the distribution. Note that we are not building the RLS component. It is not necessary at this time:
Note: The following code appears on multiple lines, but it is 'one' line of code
[globus@nodeB gt4.0.1-all-source-installer]$ ./configure --prefix=$GLOBUS_LOCATION --disable-rls
checking build system type... i686-pc-linux-gnu
checking for javac... /opt/jdk1.5.0_06/bin/javac
checking for ant... /opt/apache-ant-1.6.5/bin/ant
configure: creating ./config.status
config.status: creating Makefile
To build the toolkit simply run 'make':
[globus@nodeB gt4.0.1-all-source-installer]$ make
Note that it will take a fair amount of time to build all of the components of the toolkit. When it is completed you should see the following:
echo "Your build completed successfully. Please run make install." Your build completed successfully. Please run make install.
Next run 'make install' to complete the installation:
[globus@nodeB gt4.0.1-all-source-installer]$ make install
|