<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Kevitivity &#187; Unix</title>
	<atom:link href="http://www.kevitivity.com/category/unix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kevitivity.com</link>
	<description>Kevin Stanchfield : Technology and Photography</description>
	<lastBuildDate>Wed, 21 Jul 2010 00:57:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<cloud domain='www.kevitivity.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Installing OpenAFS client on Ubuntu / Fedora / CentOS / Red Hat</title>
		<link>http://www.kevitivity.com/2009/09/installing-openafs-on-ubuntu-fedora-centos-redhat/</link>
		<comments>http://www.kevitivity.com/2009/09/installing-openafs-on-ubuntu-fedora-centos-redhat/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 01:21:23 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[atrpms]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[jpl]]></category>
		<category><![CDATA[linux. afs. openafs]]></category>
		<category><![CDATA[nasa]]></category>
		<category><![CDATA[pbone]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[rpmforge]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.kevitivity.com/?p=145</guid>
		<description><![CDATA[How to install and configure OpenAFS client software on Ubuntu, Fedora, RedHat, and CentOS.]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Andrew_File_System">AFS</a> is a distributed filesystem not unlike NFS but more robust and geared towards replicated / read-only implementations.  It&#8217;s used a great deal here at <a href="http://www.jpl.nasa.gov/">JPL</a>, where I work as an admin.</p>
<p><a href="http://www.openafs.org/">OpenAFS</a> is an open source implementation of AFS that works nicely with JPL&#8217;s setup.  It&#8217;s easy to install and quite stable.<br />
<BR></p>
<p><strong><B>Ubuntu</B></strong>:<br />
I&#8217;ve tested these instructions in 9.04, 8.10, and even recently in 6.06 (Yes, the apt-get method of maintaining a Linux machine is far superior to using RPMs).  </p>
<p>The first step is to build and install the OpenAFS kernel module.  The following steps take care of downloading the appropriate software, compiling and installing everything.  As usual, this needs to be done as root, or using the sudo command.</p>
<p><code><br />
$ apt-get install module-assistant openafs-modules-source<br />
$ module-assistant prepare<br />
$ module-assistant auto-install openafs-modules<br />
$ depmod -a<br />
</code></p>
<p>If all of that is successful, your computer should now have the OpenAFS kernel module buit and installed.  The next step is to install the OpenAFS client software.</p>
<p><code><br />
$ apt-get install openafs-client openafs-krb5<br />
</code></p>
<p>Ok, you now have all the software you should need.  The last step on Ubuntu systems is to configure OpenAFS per your site.  Running the following command will start an interactive program that asks you about your site specific AFS configuration.  The most important piece of info you&#8217;ll need is your &#8220;Cell&#8221; name.  For us at JPL, it&#8217;s jpl.nasa.gov.  I&#8217;ve found that most of the time, the default responses for the rest of the questions are fine.</p>
<p>Configure OpenAFS:</p>
<p><code><br />
$ dpkg-reconfigure openafs-client<br />
</code></p>
<p><BR><br />
<strong>Installing on Fedora / CentOS / Red Hat</strong>:<br />
Unfortunately, installing OpenAFS requires a few more steps on RPM based distributions, but nothing too tough.  Mostly, this involves hunting down the appropriate RPMs for your system.  I&#8217;m using CentOS for this example.  For those not in the know, CentOS is basically a free, binary compatible version of RedHat Enterprise Linux.  Please visit <a href="http://www.centos.org/">CentOS.org</a> for more details.</p>
<p>First, you&#8217;ll need to locate the appropriate RPMs for your distribution and kernel version.  The following RPMs were required on my CentOS 5.3 machines:</p>
<p><code><br />
$ rpm -qa | grep afs<br />
openafs-1.5.55-el5.1.1<br />
openafs-krb5-1.5.55-el5.1.1<br />
openafs-kmdl-2.6.18-92.1.13.el5-1.4.7-29.el5<br />
openafs-kpasswd-1.5.55-el5.1.1<br />
openafs-client-1.5.55-el5.1.1<br />
openafs-devel-1.4.7-29.el5<br />
openafs-authlibs-1.5.55-el5.1.1<br />
kmod-openafs-1.5.55-1.1.2.6.18_92.1.18.el5<br />
openafs-docs-1.5.55-el5.1.1<br />
openafs-compat-1.5.55-el5.1.1<br />
</code></p>
<p>You can find these RPMs in a few places as none of these distributions provide them for you.  First off, <a href="http://atrpms.net/">ATrpms</a> has them.  In the past, I&#8217;ve also found them at the main OpenAFS site, <a href="http://www.openafs.org/">OpenAFS.org</a>.  <a href="http://rpm.pbone.net/">Pbone</a>, another third party RPM repository, has OpenAFS rpms that where built for Redhat EL5 <a href="ftp://ftp.pbone.net/mirror/dl.central.org/dl/openafs/1.5.55/rhel5/i386/">here</a>.  Those RPMs will work just fine with CentOS 5 too.  Lastly, another place to get hard to find RPMs is <a href="https://rpmrepo.org/RPMforge">RPMforge</a>.</p>
<p>Once you have your RPMs installed, then you only have to edit one config file.  Populate /etc/openafs/ThisCell with your sites specific cell name.  Some smaller sites will have to configure /etc/openafs/CellServDB as well.</p>
<p>Thats it.  You should be able to start the OpenAfs daemon (/etc/init.d/openafs start) and then start using AFS.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevitivity.com/2009/09/installing-openafs-on-ubuntu-fedora-centos-redhat/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
