Server Administration

From the Fink Wiki
Revision as of 12:07, 26 September 2008 by Dmrrsn (talk | contribs) (howto restart the mail server)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Backups are being done with Bacula. It deserves its own page.


We are running the default bind9 installation from debian. Domains are each in a separate file in /etc/bind/ named after the top-level domain (,, etc.) and are editable by anyone in the bind group (or root).

To add a record, do the following:

  1. edit /etc/bind/
  2. change the Serial to today's date
  3. add a distfiles.AIRPORT.STATE.CONTINENT record in the "distfiles (source tarballs) mirrors" section
  4. add a AIRPORT.STATE.CONTINENT record in the "bindist (.deb package) mirrors" section
  5. save the file
  6. restart bind: /etc/init.d/bind9 restart


We run a mail server. It really really needs to be documented. (In particular, we are running squirrelmail, websieve, and god knows what else.)

In particular, the following URL's are useful:



Authorized persons can restart the mail server with sudo /etc/init.d/cyrus2.2 restart

Creating New Users

  1. add the user to LDAP
    • details go here
  2. create their SVN experimental directory
    • svnadmin create --fs-type fsfs /var/lib/svn/users/username
    • chown -R www-data:www-data /var/lib/svn/users/username
  3. create their web site
    • add to /etc/bind/
      • 2006XXXXXX ; serial
      • username.users IN CNAME finch
      • /etc/init.d/bind restart
    • add to apache2 config
      • sed -e 's,@USER@,username,g < /etc/apache2/users/user.template > /etc/apache2/users/username.user
      • /etc/init.d/apache2 restart