<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Differences from the Base installation for Everybody.org</title>
<meta name="title" content="Differences from the Base installation for Everybody.org" />
<meta name="author" content="mah@everybody.org" />
<style type="text/css">
@import "/mah.css";
<!-- Old browsers can't touch this -->
</style>
<meta name="Description" content="
Here, I've documented the differences that I have between Debian
(the base installation) and the installation on staging.everybody.org.  This
is a useful aid when upgrading versions.
" />
</head>
<body>
<div id="header">
<p><a href="/">top</a>::<a href="/docs/">docs</a>::<a href="/docs/install/">install</a>
</p>
<h1>Differences from the Base installation for Everybody.org</h1>
by <a href="http://mah.everybody.org/">Mark A. Hershberger</a> (<a href="http://mah.everybody.org/weblog/">weblog</a>)
</div>
<div id="main">

  <p>I'm also exploring <a
  href="http://www.informatik.uni-koeln.de/fai/">Fully Automated Install</a>.</p>

  <ul>
    <li>Do a base install</li>
    <li>Follow the <a
    href="sasl-gssapi">Configuration
    instructions for SASL/GSSAPI</a>.</li>
    <li>apt-get install sudo apache libapache-mod-perl libapache-mod-ssl postgresql-contrib
      libdbd-pg-perl perlmagick less ntp cyrus-imapd libpam-krb5 
      amanda-client mailman<em>Had to do <tt>apt-get -b
	  source libapache-mod-perl</tt> on another machine since it
	was compiled for 5.6.0 and 5.6.1 was installed.</li>
    <li>Create key: openssl req -new -x509 -nodes -out
    /etc/ssl/certs/server.pem -keyout /etc/ssl/private/server.pem
    -days 365</li>
    <li>Set up openldap:
      <ol>
	<li>Install this <a href="slapd_2.0.14-1_i386.deb">slapd package</a></li>
	<li>Use this <a href="slapd.conf">/etc/ldap/slapd.conf</a></li>
	<li>Use this <a href="access.conf">/etc/ldap/access.conf</a></li>
	<li>Create ldif table and import it.  To enable admin,
	you will need a group with oc=groupOfNames at
	cn=ldap-adm,ou=Groups,o=top with the member attributes
	pointing to the DN's of the users who are admins.</li>
      </ol>
    </li>
    <li>Set up pam_ldap and libnss_ldap:
      <ul>
	<li>Install this <a
	    href="libpam-ldap_118-1_i386.deb">libpam-ldap
	    package</a>.</li>
	<li>Use this <a
	    href="pam_ldap.conf">pam_ldap.conf</a>and this <a
	    href="libnss-ldap.conf">libnss-ldap.conf</a>.</li>
	<li>Sprinkle pam_ldap.so throughout <tt>/etc/pam.d</tt>
	  in many places where you see pam_unix.so.  Put it
	  after the pam_unix.so, make it "required" (instead
	  of "required") and put 'use_first_pass' after
	  pam_unix.so for the "auth" line.</li>
      </ul>
    </li>
    <li>Set up pam_krb5 for shell logins (TODO)</li>
    <li>Set up exim:
      <ol>
	<li>Resource: <a href="http://www.bastard.net/~kos/mailrouter/">http://www.bastard.net/~kos/mailrouter/</a></li>
	<li>Install <a href="exim-tls-perl_3.33-1_i386.deb">exim-tls-perl package</a>.</li>
	<li>create exim kerb key and put it in krb5.keytaab (ank
	  -randkey exim/staging.everybody.org; ktadd
	  exim/staging.everybody.org)</li>
    </li>
    <li>Set up cyrus imapd:<ol>
	<li>Add these cyrus packages: <a
	href="cyrus2-admin_2.0.16-1_i386.deb">cyrus2-admin</a>, <a
	href="cyrus2-common_2.0.16-1_i386.deb">cyrus2-common</a>,
	<a
	href="cyrus2-imapd_2.0.16-1_i386.deb">cyrus2-imapd</a>,
	<a href="cyrus2-pop3d_2.0.16-1_i386.deb">cyrus2-pop3d</a>.
	</li>

      </ol>
    </li>
    <li>Set up apache:
      <ol>
	<li>Install these no-expat apache packages: <a
	    href="apache-no-expat-common_1.3.22-1_i386.deb">apache-no-expat-common</a>,
	  <a
	    href="apache-no-expat-1.3.22-1_i386.deb">apache-no-expat</a>,
	  <a
	    href="libapache-mod-dav-shared-expat_1.0.3-2_i386.deb">libapache-mod-dav-shared-expat</a>.
	</li>
	<li>Install these apache modules: <a
	    href="libapache-mod-perl-1.26-1_i386.deb">libapache-mod-perl</a>,
	  <a
	    href="libapache-mod-auth-ldap_1.6.0-1_i386.deb">libapache-mod-auth-ldap</a>
	  <a
	    href="libapache-mod-auth-kerb_4.10-1_i386.deb">libapache-mod-auth-kerb</a>
	  <a
	    href="libapache-album-perl_1.0-1_all.deb">libapache-album-perl</a></li>
      </ol>
    </li>
  </ul>

  <h2>TODO</h2>
  <ul>
    <li>Set up krb5 keys so that the various servers can do
    lookups off ldap without having to allow anon access.</li>
  </ul>
</div>
<hr />
<div id="footer">
<table width="100%"><tr><td>
<address>
<a href="mailto:mah@everybody.org">mah@everybody.org</a>
</address>
<span class="modified">Last Modified: Sat Jul  9 21:22:05 2005</span>
</td><td align="right">

<a href="http://jigsaw.w3.org/css-validator/check/referer">
<img src="http://jigsaw.w3.org/css-validator/images/vcss.gif"
     alt="Valid CSS!" height="31" width="88" /></a>

<a href="http://validator.w3.org/check/referer">
<img src="http://validator.w3.org/images/vxhtml10"
     alt="Valid XHTML 1.0!" height="31" width="88" /></a>

</td></tr></table>
</div>
</body></html>

