Table of Contents

Saffron

Hosts VMware

Overview

*Specs:

Filesystems

{| class=“wikitable” cellspacing=“10”

! Partition Number ! Size ! Filesystem ! Mount point ! UUID ! Notes

The following physical partitions are used for LVM.

{| class=“wikitable” cellspacing=“10”

! Device ! PV UUID ! Size ! Volume Group ! Notes

Installation

Kernel

2.6.28-gentoo-r1|<code>0@@</code>

Installed Software

Also see:

Hosting

Configuration

LDAP

See LDAP/Openldap. Configuration files are stored in subversion, under configs:/ldap/client/.

Mail

Edit <tt>/etc/postfix/main.cf</tt> to set the hostname. As this host is not a primary or backup MX, no other configuration is necessary.

<code>1@@</code>

Samba

Configuration is stored in subversion, under configs:/samba/client. Samba's LDAP password must be set to the same value stored in the directory and then the service can be started.

<code>2@@</code>

Database

Create the initial database tables, then start the server and ensure it starts on boot. <source lang="bash"> /usr/bin/mysql_install_db /etc/init.d/mysql start rc-update add mysql default </source>

Import the original database backup, and reload the privileges table. <source lang="bash"> mysql -u root < mysql.sihnon.net.sql mysql -u root -e 'flush privileges;' </source>

Apache

Apache needs to be compiled with various extensions enabled. Make sure the following useflags are enabled:

Set up permissions on the webroot so that apache can access all files that exist, and are later created using acls. Same for the web users. <source lang="bash"> setfacl -R -m u:apache:rX,d:u:apache:rX,g:web:rwX,d:g:apache:rwX /var/www </source>

For LDAP authentication to work, Apache must be set to use TLS connections by default. Add the following configuration: /etc/apache2/modules.d/46_mod_ldap.conf|<source lang="apache"> LDAPTrustedMode TLS LDAPVerifyServerCert On </source>

See also:

Subversion

Copy the repositories into <tt>/var/svn/repos/</tt>, and the configuration files into <tt>/var/svn/conf</tt>.

Use SVN::Notify to send email alerts containing the contents of new commits. This is not yet in the portage tree, but someone has submitted an ebuild so hopefully it will be soon. Until then, install it using CPAN. <source lang="bash"> cpan install SVN::Notify </source>