Install gt 3.2
1. Downlaod source code of gt 3.2 and un tar it as user globus
2. Make sure that ANT_HOME and JAVA_HOME are set, and that ant and java are on your PATH. If you are using JDK 1.3.1, 
   make sure JAAS is in your CLASSPATH before you run the installer.
3. Run: ./install-gt3-bin /path/to/install(should specify gt3.2.1 here, because
   this path is gt root path) as globus
 
configure gt 3.2
1) As root set up GLOBUS_LOCATION
    export GLOBUS_LOCATION=/usr/local/devtools/gt3
2) As root to source the environmental variables
   in gt3/etc:  source globus-user-env.sh
3) install ca package (Root):
  in gt3/sbin: ./gpt-build globus_simple_ca_6318be6c_setup-0.12.tar.gz gcc32dbg
                ./gpt-postinstall
4) set default ca (root):
  in gt3/setup/globus_simple_ca_6318be6c_setup: ./setup-gsi -default 
  (this command will create /etc/grid-security dir, and setup Host and user
   DN. It will look like: 
        (1) Base DN for user certificates
         [ ou=nceas.ucsb.edu, ou=ca.ecoinformatics.org,ou=EcoGrid,o=SEEK ]
        (2) Base DN for host certificates
         [ ou=ca.ecoinformatics.org,ou=EcoGrid,o=SEEK ])
                                                
5) request host certificate as root:
   in gt3/bin: ./grid-cert-request -host ecogrid.ecoinformatics.org
6) Send /etc/grid-security/hostcert_reqeust to tao@nceas.ucsb.edu to sign it.

7) Sign it in dev gt3-beta/bin as globus:./grid-ca-sign -in /tmp/hostcert_request.pem -out /tmp/hostcert.pem
8) copy host.pem to /etc/grid-security and make the file: -rw-r--r-- and owner is root.
Note: step 7 and 8 is only for CA administor. In our case it is jones or tao.

9) For user a cert: run the command as a regular user: ./grid-cert-request
   And send the request (in userhome/.globus) and send to tao@nceas.usb.edu to sign it.
10)As root ran  $GLOBUS_LOCATION/bin/setperms.sh
11)Create /etc/grid-security/grid-mapfile as root.
  It looks like:
  "/O=SEEK/OU=EcoGrid/OU=ca.ecoinformatics.org/OU=nceas.ucsb.edu/CN=Matthew Jones" jones
  "/O=SEEK/OU=EcoGrid/OU=ca.ecoinformatics.org/OU=nceas.ucsb.edu/CN=Jing Tao" tao
  "/O=SEEK/OU=EcoGrid/OU=ca.ecoinformatics.org/OU=nceas.ucsb.edu/CN=Aimee Stewart" stewart
  "/O=SEEK/OU=EcoGrid/OU=ca.ecoinformatics.org/OU=nhm.ku.edu/CN=Rod Spears" rspears
  "/O=SEEK/OU=EcoGrid/OU=ca.ecoinformatics.org/CN=host/dev.nceas.ucsb.edu/CN=905" globus
12) If import to tomcat, add .wsdl and .xsd MIME types to Tomcat server edit 
   <tomcat root>/conf/ web.xml file and add the following (anywhere in the web-app):
    <mime-mapping>
       <extension>gwsdl</extension>
       <mime-type>text/xml</mime-type>
    </mime-mapping>

    <mime-mapping>
       <extension>wsdl</extension>
       <mime-type>text/xml</mime-type>
    </mime-mapping>

    <mime-mapping>
      <extension>xsd</extension>
      <mime-type>text/xml</mime-type>
    </mime-mapping>
    
