Installing Redmine 2.1 on Debian Squeeze with Apache modPassenger

This article is co-authored by Jérôme Warnier, from work mostly done by him with my occasional support. Kudos go to him. We couldn't find any valuable manual to install Redmine 2.1 on Debian Squeeze, and we sure met a lot of resistance along the way, so we came up with the following step-by-step guide...

Sources of inspiration

We used the following resources as a starting point.

Creating a software RAID array on an already installed Ubuntu 11.04

Let's say you got confused by a misleading fake-RAID feature on an HP Blade server and you decided to ignore that the Ubuntu installer was telling you it found 2 disks while it was supposed (if it was actual hardware RAID) to be detecting only one. And let's say you are lucky to have 3 disks, and you only one to use two as the RAID array (and they do not contain your operating system, i.e. the / partition). You might wonder: "And now what? S**** you, HP!" (that last bit is if you left panic get you, of course).

Installing Squid on ZFS

The recommended filesystem for Squid on OpenSolaris is ZFS: http://wiki.squid-cache.org/BestOsForSquid It is also recommended to disable the atime property on the filesystem holding the cache, and you may want to avoid using any type of RAID. To achieve this on Nexenta (or OpenSolaris, whatever), first create the ZFS filesystem: # zfs create -o atime=off -o mountpoint=/var/spool/squid3 syspool/squidcache Then install Squid (here for version 3.x, as you might have noticed from the com

HOWTO Setup NUT (Network UPS Tools) on Debian

This article was first written in August 2004 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/158).
NUT is the Network UPS Tools. To setup NUT on Debian, you first need to know what kind of UPS you have, and how it is/will be connected to your Debian machine. We will not yet analyse how to do monitoring over the network, but only on the machine physically connected to the UPS, which we suppose has been installed under Debian GNU/Linux (tested on Sarge). First, install the package nut (the

HOWTO Install kana and kanji for Firefox on Debian Sarge

This article was first written in May 2004 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/130).
This is a quick manual on how to install kana and kanji (Japanese writing) handling for the Mozilla-Firefox browser (and probably all other browsers) on Debian Sarge. I don't know whether the following is or isn't mandatory, but these steps were enough to give a good result.

Installing the "Languages" extension

* Note: this section has proven useless so I have moved it to the end of t

XAMS - The eXtended Account Managing Software

This article was first written in April 2004 for
the BeezNest technical website (http://glasnost.beeznest.org/articles/122)
XAMS (eXtended Account Managing Software) is a powerful application suite for managing e-mail accounts for multiple domains in a virtual hosting environment, using a simple set of web pages coded in PHP. It provides with quotas on mailboxes and delegation of management of some tasks to others, through a simple, neat web interface. XAMS is written using

Netfilter - iptables on Debian

To create and save iptables rules the default Debian way, this is the way to go:
  • create your rules using the CLI [1] iptables
  • save them on the active rule by issuing a /etc/init.d/iptables save active
  • create the rules for the inactive state (when booting, for example) and save them accordingly
That way, the rules will survive a reboot. To delete a specific rule previously saved as above:
  • go into /var/lib/iptables/active and take the