This is the chapter of the MemberManual that describes how to install and configure OpenAFS Client on Debian based systems. These instructions were adapted from HCoop user bpt's instructions.
These instructions have been tested on Debian wheezy.
OpenAFS Client Installation
To install the OpenAFS client and related programs, run apt-get install openafs-client openafs-krb5 krb5-user as root. Answer the configuration questions as follows:
AFS cell this workstation belongs to: hcoop.net
Default Kerberos version 5 realm: HCOOP.NET
You can accept the default values for other questions. If you're not prompted for these values, run dpkg-reconfigure -phigh openafs-client krb5-user.
You may also need to run service openafs-client restart
To gain access to your HCoop AFS share, run kinit user@HCOOP.NET && aklog hcoop.net on your local system.
The tickets gained will last up to 10 hours, but can be renewed with krenew for up to 8 days. The krenew command is provided by the kstart package. The following command w:
krenew -K 30 -t
See the krenew man page to learn what these options are doing.