Webserver

UTF-8 and apache - mysql - php

Settings a LAMP server to work in full unicode UTF-8 :

Installing PHP APC (Alternative PHP Cache) on Ubuntu

Installing alternative PHP cache can greatly improve the speed of your PHP scripts by keeping a compiled version of your scripts in the ram. Installation was done on Ubuntu 8.04 LTS server with a pre-existing apache/php/mysql setup. Run the following commands :

Deny or allow countries with Apache htaccess

The following script is using blogama.org IP geolocation API to automatically generate Apache htaccess file to deny or allow specific countries. You can put this script under crontab and the htaccess rules will be automatically updated. Also, it can update multiple htaccess files.

The perfect load balanced & high availability web cluster with 2 servers running Xen on Ubuntu 8.04 hardy heron

In this howto we will build a load balanced and high availability web cluster on 2 real servers with Xen, hearbeat and ldirectord. The cluster will do http, mail, DNS, MySQL database and will be completely monitored. This is currently used on a production server with a couple of websites.