** This procedure assumes that you have access to the AFS files, either by a CD
or over the net somehow. Since They might be in different places, we will use
$AFSPATH to mean where your AFS files are at. And example is if you are
installing from a cd, $AFSPATH would be /cdrom/i386_linux22
This procedure also assumes that you are using RedHat Linux, will be using a
disk cache, using a
medium sized cache, and that we use a AFS authentication Server. If you will be
doing something else, then you can look at the regular installation and see
where the differences are.**
Make Appropriate Directories
mkdir /usr/vice
mkdir /usr/vice/cache
mkdir /usr/vice/etc
mkdir /afs
Copy Files to their right places
cp -rp $AFSPATH/root.client/usr/vice/etc /usr/vice
cp $AFSPATH/lib/pam_afs.so.1 /lib/security/pam_afs.so.1
cp $AFSPATH/lib/pam_afs.krb.so.1 /lib/security/pam_afs.so.1
cp -p /usr/vice/etc/afs.conf /etc/sysconfig/afs
cp -p /usr/vice/etc/afs.rc /etc/rc.d/init.d/afs
Create the right files
echo "cellname" > /usr/vice/etc/ThisCell
*Copy your CellServDB file from your AFS server, an example is below. How you
really get it is up to you*
cp -p /afs/cellname/common/etc/CellServDB /usr/vice/etc
echo "/afs:/usr/vice/cache:50000" > /usr/vice/etc/cacheinfo
Create the right links
ln -s /lib/security/pam_afs.krb.so.1 /lib/security/pam_afs.so
ln -s /afs/cellname/afs36/i386_linux22/ /usr/afsws
*note: check the above link with the AFS server, it might be in a different
place.*
Enabling AFS Login
AFS Login isn't condensed, but just make my
example on the bottom, into file /etc/pam.d/login and you should be set for
normal telnet logins.
Run appropriate scripts
/etc/rc.d/init.d/afs start
/sbin/chkconfig --add afs
If the above set of instructions does not work (when you do a afs start, you will get the long copywrite notice) then it would be best to go through the steps from the regular Installation
How-To
May 11, 2000