(Andrew File System)
Installing AFS 3.5 for Linux at Fermilab
We've been working here at Fermilab to be able to get our AFS clients
setup at easy as possible. Through the work of several people we have been
able to get it down to basically four steps.
Fermi Linux 5.2
Getting the correct kernel installed
rpm -Uvh ftp://linux.fnal.gov/linux/521/i386/Fermi/kernel-2.2/newkernel-1.0-1.noarch.rpm
newkernel
**note: if you are using an smp kernel it is best to just upgrade to
Fermi Linux 6.1.1.**
Installing AFS
rpm -Uvh ftp://linux.fnal.gov/linux/521/i386/Fermi/RPMS/afs-fermi-3.5-1.i386.rpm
Getting the correct ssh installed
First check to see if it is already installed by doing
rpm -qa | grep ssh
If it is just a regular ssh, and not some release of ssh-afs then do the following
rpm -e ssh
rpm -Uvh ftp://linux-rep.fnal.gov/pub/security/ssh-afs-1.2.26-1.i386.rpm
Reboot the machine
Fermi Linux 6.1.1
This works the same for Fermi Linux 6.1.1 and Fermi Linux 6.1.1a
Fermi Linux 6.1.1 has a 2.2.x kernel installed by default. You
do not need to do anything to the kernel
InstallAFS
First check to see which afs release you should get at my
afs-rpms page
rpm -Uvh ftp://linux1.fnal.gov/linux/611/i386/DONOTEXPORT/storage/<latest
AFS rpm>
Install Pam modifications
First check to see which afs pam release you should get at my afs-rpms
page
rpm -Uvh ftp://linux1.fnal.gov/linux/611/i386/DONOTEXPORT/storage/<latest
AFS PAM rpm>
Getting the correct ssh installed
First check to see if it is already installed by doing
rpm -qa | grep ssh
If it is just a regular ssh, and not some release of ssh-afs then do the
following
rpm -e ssh
rpm -Uvh ftp://linux1.fnal.gov/linux/611/i386/DONOTEXPORT/storage/ssh-afs-1.2.27-3.i386.rpm
Reboot the machine
Fermi Linux 6.1.1b
As of this writing 6.1.1b is still not released. The major difference
between the regular 6.1.1 and 6.1.1b is the we have included the fixed
version of insmod. To check to see if you need to follow these instructions
do a 'rpm -q modutils'. If the answer is modutils 2.3 or above, follow
these directions. If it is modutils 2.1 or below then follow the
instructions for the regular Fermi Linux 6.1.1.
Fermi Linux 6.1.1b has a 2.2.x kernel installed by default. You
do not need to do anything to the kernel
InstallAFS
First check to see which afs release you should get at my afs-rpms
page
Be sure to look for 6.1.1b, instead of a.
rpm -Uvh ftp://linux1.fnal.gov/linux/611/i386/DONOTEXPORT/storage/<latest
AFS rpm>
Install Pam modifications
First check to see which afs pam release you should get at my afs-rpms
page
rpm -Uvh ftp://linux1.fnal.gov/linux/611/i386/DONOTEXPORT/storage/<latest
AFS PAM rpm>
Getting the correct ssh installed
First check to see if it is already installed by doing
rpm -qa | grep ssh
If it is just a regular ssh, and not some release of ssh-afs then do the following
rpm -e ssh
rpm -Uvh ftp://linux1.fnal.gov/linux/611/i386/DONOTEXPORT/storage/ssh-afs-1.2.27-3.i386.rpm
Reboot the machine
How-To
Sept. 29, 2000