 Following instructions are for users, which install NorduGrid software
from zero and are suitable both for those using RedHat and non-RedHat
distributions of Linux OS. Instructions are for non-root users.
 All paths below are given for example and should be changed to fit
Your installation.

1. From http://www.nordugrid.org/download.php download tarball named 
'standalone' suitable for Your operating system and architecture (non-RedHat
users are advised to choose RedHat 7.2).
For example ftp://ftp.nordugrid.org/pub/nordugrid/software/nordugrid/releases/0.3.17/nordugrid-standalone-0.3.17-1.rh72.i386.tgz .

2. Put it into Your home (or other place, for example /home/user) and unpack it 
  tar -zxvf nordugrid-standalone-0.3.17-1.rh72.i386.tgz
You will have directory called something like
  nordugrid-standalone-0.3.17
You can delete tarball now.

3. Setup environment by doing following (for bash-like shells)
  cd /home/user/nordugrid-standalone-0.3.17
  source setup.sh
or (for C shels)
  cd /home/user/nordugrid-standalone-0.3.17
  source setup.csh
Doing that first time will prints a lot of information. If You do not
see words "error" or "failed", You can safely ignore it.

4. NorduGrid software is based on Globus toolkit. That means it uses PKI
for authentication between client and services. Hence You need public keys
(certificates) of certificate authorities (CA), which signed certificates
used by services You want to use. So You need to get those certificates
and put them under nordugrid-standalone-0.3.17/share/certificates (For
more information about certificates and relates things read "Grid 
Certificate Mini How-to" http://www.nordugrid.org/documents/certificate_howto.html).

4.1 nordugrid-standalone already contains certificate of NorduGrid CA. 
Hence if Youa are going to use only NorduGrid service go step 5.

4.2 If You need to contact other services,it is better if You get certificates
directly from corresponding CA. 

4.3 If You can't do that, many of them are available under ftp://ftp.nordugrid.org/pub/nordugrid/software/certificate_authorities/0.13/noarch .
Download those without "local" in their names. For example ca_CERN-0.13-1.noarch.rpm.
To install use 

  rpm2cpio <ca_CERN-0.13-1.noarch.rpm | cpio -i --make-directories
  mv etc/grid-security/certificates/* /home/user/nordugrid-standalone-0.3.17/share/certificates/
  rm -rf etc
(be carefull not to delete too much with last command)

5. You also need private key and public certificate to present Your client to 
service You are going to use. 

5.1 If You already have them, You just need to put them into $HOME/.globus/ 
under names userkey.pem and usercert.pem corespondingly and install 
certificate of CA which issued Your certificate in a way described in step 4.2
or 4.3.

5.2 If You do not have private key and public certificate, You need to 
generate/request them. For that :
 Choose CA most suitable for You (one, which will agree to sign Your request).
 Install corresponding CA certificate as described in step 4.3. 
 Install corresponding "local" configuration (nordugrid-standalone comes
configred for requesting certificates from NorduGrid CA. So skip to step 6
if You are NorduGrid user). For that download corresponding RPM from 
ftp://ftp.nordugrid.org/pub/nordugrid/software/certificate_authorities/0.13/noarch with "local" in it's name and install it using following comands

  rpm2cpio <ca_CERN-local-0.13-1.noarch.rpm | cpio -i --make-directories
  HASH=`ls etc/grid-security/certificates/grid-security.conf* | sed -e 's/.*\.\([^\.]*\)$/\1/'` 
  mv etc/grid-security/certificates/* /home/user/nordugrid-standalone-0.3.17/share/certificates/
  mv etc/grid-security/ca-set-default /home/user/nordugrid-standalone-0.3.17/etc/
  rm -rf etc
  export TRUSTED_CA_DIR=/home/user/nordugrid-standalone-0.3.17/share/certificates 
  nordugrid-standalone-0.3.17/share/certificates/grid-cert-request-config.$HASH 
  nordugrid-standalone-0.3.17/etc/ca-set-default $HASH
  grid-cert-request

 Answer questions and follow instructions.
After You received Your certificate and have it in proper place - go to next
step.

6. If You succeeded in executing previous steps You most probably should
be able to use nordugrid user tools. Do not forget to run  
  cd /home/user/nordugrid-standalone-0.3.17
  source setup.sh
every time You login. Or configure Your environment to do that automatically.
 For usage instructions look into "The NorduGrid Toolkit User Interface: User's Manual" http://www.nordugrid.org/documents/NorduGrid-UI.pdf and "Extended Resource Specification Language" http://www.nordugrid.org/documents/xrsl.pdf.
 If You want to know, how You job is treated after submission read "The NorduGrid Grid Manager And GridFTP Server" http://www.nordugrid.org/documents/GM.pdf .
 To understand how Your job finds place to execute - "The NorduGrid Information System" http://www.nordugrid.org/documents/ng-infosys.pdf .
 To trace execution of Your job (if You are NorduGrid user) in graphical way
You can use "Grid Monitor" at http://www.nordugrid.org/monitor/loadmon.php. 
Usage instructions are available in "The Grid Monitor: Usage Manual" http://www.nordugrid.org/documents/monitor.pdf .
