Short gLite-3 UI Installation Instruction

This type of installation recommended for SL(C)-3 on x86.
It also works on SL(C)-4.
 1. See general instruction in TWiki.

 2. Download from CERN (see README file first) 
    two latest tarballs (for example) :
   
   [ gliteUI_WN-2007-05-15.tar.gz 		(163M)
     gliteUI_WN-userdeps-2007-05-15.tar.gz	( 19M) ]

   gliteUI_WN-PPS-2007-05-30.tar.gz 		(163M)
   gliteUI_WN-userdeps-PPS-2007-05-30.tar.gz	( 19M)
   
 3. Download Java SDK (j2sdk-1.4.2) from Sun site.
    Select j2sdk-1_4_2_14-linux-i586-rpm.bin (34 MB)

 4. Install them (as 'root') for common usage. It will need 
    ~732 MB for gLiteUI_WN and ~163 MB for j2sdk, in total ~1 GB. 
   
   As 'root' do (replacing ~rud/ by your user name) :

	chmod a+x ~rud/j2sdk-1_4_2_14-linux-i586-rpm.bin
	cd ~rud/
	./j2sdk-1_4_2_14-linux-i586-rpm.bin
		[Agree with licence agreement]
	
	rpm -Uvh j2sdk-1_4_2_14-linux-i586.rpm
	
	mkdir /gLite
	cd /gLite
	tar zxf ~rud/gliteUI_WN-PPS-2007-05-30.tar.gz
	tar zxf ~rud/gliteUI_WN-userdeps-PPS-2007-05-30.tar.gz	

	ls /gLite
	boost  classads  d-cache  edg  etc  glite  globus  gpt  lcg

 5. Create file /gLite/site-info.def - with defaults, like this one, tuned for SINP
    (INSTALL_ROOT, VOS, JAVA_LOCATION corrected and Atlas stuff added).

    For reference see :
 	https://twiki.cern.ch/twiki/bin/view/LCG/VOConfigForSites2007  :
 	https://twiki.cern.ch/twiki/bin/view/LCG/VOConfigForSitesMay2007 ;
 
   See corrected Java version in JAVA_LOCATION.


 6. Before configuration running  -- fix Java version also in 

	/gLite/edg/etc/profile.d/edg-wl-ui-gui-env.sh
	/gLite/edg/etc/profile.d/edg-wl-ui-gui-env.csh
	/gLite/glite/etc/profile.d/glite-wmsui-gui-env.sh
	/gLite/glite/etc/profile.d/glite-wmsui-gui-env.csh

	cp -p /gLite/edg/etc/profile.d/edg-wl-ui-gui-env.sh /gLite/edg/etc/profile.d/edg-wl-ui-gui-env.sh.org
	cp -p /gLite/edg/etc/profile.d/edg-wl-ui-gui-env.csh /gLite/edg/etc/profile.d/edg-wl-ui-gui-env.csh.org
	cp -p /gLite/glite/etc/profile.d/glite-wmsui-gui-env.csh /gLite/glite/etc/profile.d/glite-wmsui-gui-env.csh.org
	cp -p /gLite/glite/etc/profile.d/glite-wmsui-gui-env.sh /gLite/glite/etc/profile.d/glite-wmsui-gui-env.sh.org

	Now fix Java version there.

 7. Now run configuration :

	cd /gLite
	./glite/yaim/bin/yaim -c -s ./site-info.def -n TAR_UI

    See output here.


Post-install work :
=================

 8. Create links in /etc/profile.d/ :

	ln -s /gLite/etc/profile.d/grid_env.sh /gLite/etc/profile.d/grid_env.csh /etc/profile.d

 9. Next run "setup-gsi" script :

	first make sure env.variable GLOBUS_LOCATION exists :

	echo $GLOBUS_LOCATION
	gLite/globus

	/gLite/globus/setup/globus/setup-gsi	[running it]

    See output here.

10. REBOOT your computer.

11. To check installation run "gpt-postinstall" script as 'root' :

	/gLite/gpt/sbin/gpt-postinstall -verbose

globus_common_setup-noflavor-pgm is already set up
globus_gatekeeper_setup-noflavor-pgm is already set up
globus_gram_job_manager_setup-noflavor-pgm is already set up
globus_gram_job_manager_setup_fork-noflavor-pgm is already set up
globus_gram_reporter_setup_fork-noflavor-pgm is already set up
globus_mds_common_setup-noflavor-pgm is already set up
globus_mds_gris_setup-noflavor-pgm is already set up
globus_trusted_ca_42864e48_setup-noflavor-pgm is already set up
gsi_openssh_setup-noflavor-pgm is already set up
All of the packages in your GLOBUS_LOCATION are already set up

Done!


Last modified on June 19, 2007.