Installation of OpenAFS on RedHat 6.2 with kernel 2.2.17-14: Make sure modutils version is > 2.2 -- I upgraded to the RH6.2 version, 2.3.21-0.6.2 Get OpenAFS source code from /afs/rhic/system/AFSsoftware/OpenAFS/ Untar into # cd # tar zxvf openafs-1.0.1-source_code.tar.gz # mkdir i386_linux22 # mkdir i386_linux22/dest # mkdir i386_linux22/obj # ln -s @sys/dest dest # ln -s @sys/obj obj # ln -s i386_linux22 @sys # ln -s src/Makefile Makefile # cd /usr/src # ln -s linux linux-2.2.17 (since I don't have the source code for 2.2.17) # mkdir /usr/vice # mkdir /usr/vice/etc # cd # make links # make SYS_NAME="i386_linux22" LINUX_VERS="2.2.17" # cd dest/root.client/usr/vice/etc # cp -a modload /usr/vice/etc # cp -a C /usr/vice/etc # cp -p * /usr/vice/etc # cp -p afs.rc /etc/rc.d/init.d/afs (or: # ln -s /usr/vice/etc/afs.rc /etc/rc.d/init.d/afs ) # cd /usr/vice/etc/modload # ln -s libafs-2.2.17.mp.o libafs-2.2.17smp.mp.o # ln -s libafs-2.2.17.mp.o libafs-2.2.17-14smp.mp.o # ln -s libafs-2.2.17.mp.o libafs-2.2.17-14.mp.o # ln -s libafs-2.2.17.o libafs-2.2.17-14.o # /etc/rc.d/init.d/afs start # cd /lib/security # cp -p /dest/lib/pam_afs.so.1 . # ln -s pam_afs.so.1 pam_afs.so # emacs /etc/pam.d/login & add (right before account required ...): auth sufficient /lib/security/pam_afs.so try_first_pass ignore_root # cd /usr/vice/etc # echo "rhic" > ThisCell # scp -p @atlas00.usatlas.bnl.gov:/afs/rhic/common/etc/CellServDB . # mkdir /usr/vice/cache # echo "/afs:/usr/vice/cache:50000" > cacheinfo # mkdir /afs # cp -p /usr/vice/etc/afs.conf /etc/sysconfig/afs (or: # ln -s /usr/vice/etc/afs.conf /etc/sysconfig/afs ) # reboot # /etc/rc.d/init.d/afs start # /sbin/chkconfig --add afs # ln -s /afs/rhic/@sys/usr/afsws /usr/afsws # ln -s /afs/rhic/usatlas/opt/@sys /opt/usatlas Also, make /etc/profile.d/afs.*sh, which add /usr/afsws/bin:/usr/afsws/etc:/opt/usatlas/bin to PATH 12/17/01: usatlas tree changed from /afs/rhic/usatlas to /afs/usatlas.bnl.gov . Therefore, update CellServDB, ThisCell (in /usr/vice/etc), and /usr/afsws and /opt/usatlas : # cd /usr/vice/etc # echo "usatlas.bnl.gov" > ThisCell # cp -p /afs/rhic/common/etc/CellServDB . # rm /usr/afsws /opt/usatlas # ln -s /afs/usatlas.bnl.gov/@sys/usr/afsws /usr/afsws # ln -s /afs/usatlas.bnl.gov/opt/@sys /opt/usatlas and then reboot systems.