Guides

Mailman with nginx on FreeBSD

I recently had to setup a Mailman install for a few local groups to use for a discussion list. Mailman recommends using Apache for web interface but I was running this on a small-ish VPS so I wanted to use nginx for its thinner profile.

Install the required software via ports:

cd /usr/ports/mail/postfix
make install

cd /usr/ports/mail/mailman
make install 

Make sure you select postfix for the MTA.

cd /usr/ports/www/nginx
make install

I added the options for rewrite and SSL support.

Software RAID on Slackware Linux

This guide will show you how to setup a software RAID system in Slacware using mdadm. It's a good idea to sit down and figure out what disks you want in the array and keep track of them. If you have a lot of drives it can be easy to nix a drive you were intending too. Also, I will be assuming in this tutorial that you have four disks (/dev/sdb /dev/sdc /dev/sde and /dev/sdf) that are going into a RAID5 array, please adjust things where needed.

1.) If you have a custom kernel make sure that md is compiled in or is a module that is loaded on boot.

FreeBSD on a ZFS filesystem

With ZFS now being included in FreeBSD I decided to give it a shot.  With it's ability to dynamically allocate space to partitions, keep checksums of sectors, built in compression and encryption and ease of administration it really does seem to have a lot of problems solved.  I used FreeBSD 7.1 AMD64 for my install.  Just follow the steps below to get a FreeBSD box running on ZFS.

First of all acquire and burn the FreeBSD media.

Boot the machine off the CD. 

Once you've selected your country and location, select Custom install from the systinall menu.