welcome: please sign in

The following 142 words could not be found in the dictionary of 7 words (including 7 LocalSpellingWords) and are highlighted below:
add   afs   After   aklog   amount   an   and   Arch   archlinux   at   aur   automatically   Build   built   cache   category   Category   cd   Cell   change   chapter   Client   commands   compile   conf   configure   considerable   Contents   core   current   daemon   Default   default   describes   directory   distribution   Do   download   each   etc   Expires   fetch   finished   from   Get   give   go   Go   good   got   granting   gz   have   Hcoop   hcoop   how   http   If   in   Install   install   installation   is   it   Kerberos   kinit   klist   krb5   krb5cc   krbtgt   libdefaults   line   Linux   ll   login   ls   makepkg   Manual   Member   net   newly   not   Now   obtained   Of   of   on   open   Open   openafs   org   package   packages   pacman   part   password   php   principal   rc   realm   reboot   renew   server   Service   set   shows   so   start   starting   startup   successful   sudo   Table   tar   Tarball   tell   that   The   the   This   ticket   Ticket   time   tmp   to   Under   unpack   until   up   username   Valid   verify   want   was   we   will   with   xz   You   you   your   zxvf  

Clear message
Edit

MemberManual / TransferringFiles / OpenAFS / Arch

This is the chapter of the MemberManual that describes how to install and configure OpenAFS Client on ArchLinux.

1. Build OpenAFS package from AUR

OpenAFS is not part of the Arch core distribution, so you will want to fetch it from the AUR http://aur.archlinux.org/packages.php?ID=3359. Get the Tarball.

Now we'll unpack the package, and tell it to download and compile OpenAFS.

$ tar zxvf openafs.tar.gz
$ cd openafs
$ makepkg -s

After a considerable amount of time you will have a newly built openafs-*.tar.xz in the current directory.

2. Install and configure package

Now install the package you got.

$ sudo pacman -U openafs-*.tar.xz

After the installation finished open up /etc/krb5.conf. Under the category libdefaults set default_realm to HCOOP.NET. Now login with your Hcoop username and password.

$ kinit USERNAME@hcoop.net
< give password >
$ klist
Ticket cache: FILE:/tmp/krb5cc_1000
Default principal: USERNAME@HCOOP.NET

Valid starting     Expires            Service principal
07/11/11 13:23:59  07/11/11 23:23:59  krbtgt/HCOOP.NET@HCOOP.NET
        renew until 07/12/11 13:24:38

The klist commands shows you, that your login at the Hcoop Kerberos server was successful. You obtained a ticket granting ticket (krbtgt).

Now configure and startup openafs. Go to /etc/openafs/ThisCell and change it to hcoop.net.

# start OpenAFS
$ sudo rc.d openafs start

# get AFS tokens
$ aklog

# verify this worked
$ klist
Ticket cache: FILE:/tmp/krb5cc_1000
Default principal: USERNAME@HCOOP.NET

Valid starting     Expires            Service principal
07/11/11 13:23:59  07/11/11 23:23:59  krbtgt/HCOOP.NET@HCOOP.NET
        renew until 07/12/11 13:24:38
07/11/11 13:24:05  07/11/11 23:23:59  afs/hcoop.net@HCOOP.NET
        renew until 07/12/11 13:24:38

Do an ls -l /afs/hcoop.net/ to verify that your good to go. If you want the OpenAFS daemon to start automatically on each reboot, add openafs to the DAEMONS line in /etc/rc.conf.


CategoryMemberManual

MemberManual/TransferringFiles/OpenAFS/Arch (last edited 2013-01-14 09:07:18 by ClintonEbadi)