How to Add the Dotdeb Repository to Debian Squeeze

Dotdeb is a repository containing packages to turn your Debian boxes into powerful, stable and up-to-date LAMP servers
– Dotdeb About Page

The Dotdeb repo for Debian based Linux servers contains the latest stable versions of NGINX, PHP and MySQL. All three of these packages combined can provide us with a powerful yet light weight web server to host static and dynamic websites. The aim of this tutorial is to setup NGINX, PHP5-FPM and MySQL on a Rackspace Cloud Server to host a WordPress based website.

To add the Dotdeb repository to any Debian Squeeze server, edit the file


and add these two lines

deb stable all
deb-src stable all

at the bottom of the file. You will now need to fetch the GnuPG key for this repository. You can download the GnuPG key using wget and then add it to the server.

cat dotdeb.gpg | sudo apt-key add –

Run [text]apt-get update[/text] to complete the repository addition.

Source : Dotdeb Website. Please visit the Dotdeb website for instructions on setting up the repository for Debian Lenny servers and updates on all the available packages.