daily system administration

Linux, Debian and the rest
any questions or comments: Tom@d7031.de

Apache2 with modsecurity as MS Exchange OWA proxy

The intention for this short howto was to use the power of modsecurity to secure a Apache2 running as proxy for an MS Exchange OWA on wild wild web. The system described below is based on a debian lenny machine. Let’s start with editing the sources.list to get the latest version of modsecurity module. Simply add this line: deb http://etc.inittab.org/~agi/debian/libapache-mod-security2 ./ and install the stuff. aptitude install libapache-mod-security apache2-mpm-worker Now I’ve disabled all sites and modules not needed and enable the new modules: Read more →

Moving a XEN-Instance from etch to lenny

With the upgrade from Debian etch to lenny i’ve set up an new machine to serv my XEN-Instances. First install the Dom0 on the new hardware and create a logical volume (here my-lvm-vg on/dev/sdb) for further expansion: pvcreate /dev/sdb vgcreate my-lvm-vg /dev/sdb Then bring up your network by editing the /etc/xen/xend-config.sxp similar to the old system (e. g. network-bridge). If you have broken network interfaces in Dom0, follow this link. Read more →