This should look a lot like http://www-d0.fnal.gov/software/cmgt/install_ups.html but is perhaps more up-to-date.
rpm -i upsupdbootstrap-2.2-8.i386.rpm cp bootstrap_config.txt /var/tmp/upsupdbootstrap/prd/bootstrap/v2_2/configs/generic
rpm -i upsupdbootstrap-generic-2.2-2.i386.rpm
chown -R products.products /projects/d0 chmod -R g+w /projects/d0
cp updconfig /projects/d0/ups/db/.updfiles/updconfig cp updconfig /projects/d0/usr/db/.updfiles/updconfig cp updconfig /projects/d0/dist/db/.updfiles/updconfig
cp ups-ups-dbconfig /projects/d0/ups/db/.upsfiles/updconfig cp usr-ups-dbconfig /projects/d0/usr/db/.upsfiles/updconfig cp dist-ups-dbconfig /projects/d0/dist/db/.upsfiles/updconfigOK, ups/upd is now set up. Next you need to ensure that users typing "setup" get the ups/upd "setup" and not the system "setup". I suggest defining an alias either for yourself or for all users
tcsh (alias in /etc/csh.cshrc)
----
alias setup 'source /projects/d0/ups/etc/setups.csh; source ups setup \!*'
bash (function in /etc/bashrc)
----
setup(){
source /projects/d0/ups/etc/setups.sh
setup $@
}
This is cleaner than having the script sourced automatically
whenever you login. Often the directory containing the UPS area
is mounted from another machine and if it is down you still
want to be able to login.
Now you should be able to login, type "setup upd" and install some packages. I usually do a test listing of available versions of root
upd list -a rootand install one just to test that everything is ok eg.
upd install root v3_05_04b -f Linux+2.4 -q GCC_3_1