
(Andrew File System)
Fermi Linux 7x
What and How to Install AFS
Things are in place, and so it's now time to send out the official 'this is
the step by step way to do it' notes of how to install openafs on a 7x
release.
I am saying 7x, and not Fermi Linux 7x because these instructions
will work for all of the RedHat 7x releases, and all of the Fermi Linux 7x
releases. This also works on the Mandrake 8x releases.
If you already have some form of AFS installed and it's working properly for
you, then you have no need to upgrade. These instructions are for those who
do not have AFS currently installed, and would like it installed.
- Find out what kernel you are currently using.
- /bin/uname -r
Use just the number part (if you have something like 2.4.9-31smp, don't worry
about the smp).
Also, for step 3, to get the kernel name, drop the periods,
and change the - to a period. So 2.4.9-31 would be 249.31
- FTP to fermi's openafs area,
- ftp://linux.fnal.gov/linux/contrib/openafs
- Change to the corresponding directory.
For Fermi Linux 7.1.1 it would be 71x, for Fermi Linux 7.3.1 it would be 73x
- Get the following rpm's.
- openafs-1.2.8-FL(release).(version).i386.rpm
- openafs-client-1.2.8-FL(release).(version).i386.rpm
- openafs-kernel-1.2.8-(dist)(kernel).(version).i386.rpm
Substitute (release) with the Fermi Linux release number, without the periods.
Substitute (version) with the highest number you see there.
Substitue (kernel) with results from step 1.
Substitute (dist) with what distribution you got your
kernel from - FL=Fermi Linux, RH=RedHat MD=Mandrake.
So for the vast majority of people running Fermi Linux, you would get
- openafs-1.2.8-FL731.1.i386.rpm
- openafs-client-1.2.8-FL731.1.i386.rpm
- openafs-kernel-1.2.8-FL2418.27.1.i386.rpm
- End FTP session
*Do the following steps as root*
- Make sure you don't have afs-fermi installed
- rpm -q afs-fermi
- If you do have afs-fermi installed, remove it.
- rpm -e afs-fermi
- Install the openafs rpm's
- rpm -Uvh openafs*
- Setup authentication to get your AFS tokens
- /usr/bin/authconfig
You don't have to change anything here, just tab through to the end and select
'OK'. Authconfig will recognize that you now have AFS, select the appropriate
pam module, and set it up for you.
- Start service
- If you are sure you didn't have AFS running when you started
- /etc/init.d/afs start
- If you had AFS running (either afs-fermi or openafs)
- /sbin/reboot
AFS doesn't unload correctly if even one user is using AFS when you try to unload it.
For safety's sake, it is best to reboot the machine.
If you have any comments or questions please write to
Troy Dawson
who is the maintainer of these rpms
Back to AFS
Back Home
October 8, 2002