You are here

Drupal 7 and Aegir server setup

Setting up a high performance Drupal server can be a complex task, which consist of configuring different caching technologies (APC, MemCache and Varnish) and the LAMP stack. This guide explains how I set up me Debian servers to run Drupal sites with the Aegir hosting system. If you are not familiar with the Aegir hosting system, take a look at their community site at I use the Aegir hosting system to better utilize the caching and make it easier for administrators to perform regular tasks such as creation, migration, update and backup of Drupal sites.

The server that I use in this guide is a linode ( virtual private server with 1 GB of memory running Debian 7.

This guide is a work in progress and will continue to be so, because server management will always be a on-going process.


  • 14-12-2011 Added information about firewall restore on reboot.
  • 12-03-2012 Fixed typos.
  • 25-08-2012 Updated remote backup script with PHP version, which sends information about the backup via mails.
  • 14-07-2013 Updated firewall run level commands.
  • 11-02-2014 Updated to Debian 7, PHP 5.4 and MySQL backup version.