nginx on Debian 6.0


Posted:   |  More posts about Linux Debian nginx

My webserver of choice is nginx, it's resource friendly, fast, reliable and versitile.

I have a resource constrained Debian 6.0 "server" at home and wanted to deploy nginx on it for testing. Sadly, the nginx package in the squeeze repositories is very old. Fortunately, the Debian Backports has a fairly current version, 1.2.1 as the time of writing.

To enable the backports repository add the following line to /etc/apt/sources.list.d/backports.list.

deb http://backports.debian.org/debian-backports squeeze-backports main

Update the repositories.

sudo apt-get update

Install nginx. All backports are deactivated by default, so the apt-get use is somewhat different.

sudo apt-get -t squeeze-backports install nginx-full

nginx is now installed and can be configured in the usual way.

References
Contents © 2013 Martin Wimpress - Powered by Nikola
Creative Commons License
Share