Server Administration
From the Fink Wiki
Contents |
Backups
Backups are being done with Bacula. It deserves its own page.
DNS
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 (finkmirrors.net, finkdeveloper.net, etc.) and are editable by anyone in the bind group (or root).
To add a finkmirrors.net record, do the following:
- edit /etc/bind/finkmirrors.net
- change the Serial to today's date
- add a distfiles.AIRPORT.STATE.CONTINENT record in the "distfiles (source tarballs) mirrors" section
- add a AIRPORT.STATE.CONTINENT record in the "bindist (.deb package) mirrors" section
- save the file
- 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:
<https://www.finkdeveloper.net/squirrelmail/src/login.php>
<https://www.finkdeveloper.net/cgi-bin/websieve.pl>
Creating New Users
- add the user to LDAP
- details go here
- 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
-
- create their .users.finkproject.org web site
- add to /etc/bind/finkproject.org
-
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
-
- add to /etc/bind/finkproject.org

