OpenAFS-Client on Ubuntu 9.10 – the dkms way
With sur5r’s dkms-hint, let’s write this article again:
The installation of the client on modern Linux distributions is pretty straight forward.
- get the packages
compile the kernel module- mess around in some config files
First step: get the packages
sudo apt-get install
openafs-client openafs-doc openafs-modules-dkms openafs-krb5 krb5-clients krb5-config krb5-user krb5-doc
(Yes, we’ll install the -doc-Packages, because everyone likes documentation)
Last step: the config files
Open /etc/krb5.conf and edit the sections containing the following:
1 2 3 4 5 6 7 8 9 10 11 12 | [libdefaults] default_realm = MYCELL.NET [realms] MYCELL.NET = { kdc = kdc1.mycell.net kdc = kdc2.mycell.net admin_server = kdc1.mycell.net default_domain = mycell.net } [domain_realm] .mycell.net = MYCELL.NET mycell.net = MYCELL.NET |
You should translate mycell.net to your local cell settings, but you already knew that, right? Ask your AFS Admin, if you are not sure about the correct values.
You may also take a look at /etc/openafs/afs.conf.client, /etc/openafs/ThisCell and /etc/openafs/CellServDB, but in most cases there’s no need to change something within these three files. If you need to get an updated version of /etc/openafs/CellServDB, just get it via FTP from grand.central.org.
wget -O /etc/openafs/CellServDB
ftp://ftp.central.org/pub/cellservdb/CellServDB
The very last step: restart the client
sudo /etc/init.d/openafs-client restart
Now the magic happens. The missing kernel module will be compiled in time and the OpenAFS-Client gets started. The benefit: remember updating your kernel and updating every single module again and again? dkms will help you, that you only need to update the kernel – the modules will be upgraded automagicly.
You’re done! kinit and aklog will be your best friends from now on!
Related:
- OpenAFS-Client on Ubuntu 9.10 “Karmic Koala”...
- OpenAFS 1.5.50 in debian/experimental...
- OpenAFS-Client für Debian “etch”...





