Nginx Latest on Debian Wheezy

If you would like to use the latest version of Nginx and prefer using the package manager like me, the following steps below will enable you to install Nginx 1.4.4 from the DotDeb repositories. At the time of writing, the latest version in the DotDeb repo is 1.4.4.

#!/bin/bash
# download the GPG key of the repository and add it to apt:
wget http://www.dotdeb.org/dotdeb.gpg -O /tmp/dot-deb.gpg
# add downloaded key to apt
apt-key add /tmp/dot-deb.gpg
# create apt sources file for DotDeb repo
echo -e "deb http://packages.dotdeb.org wheezy all\ndeb-src http://packages.dotdeb.org wheezy all" > /etc/apt/sources.list.d/dotdeb.sources.list
# update apt & upgrade packages
apt-get update && apt-get install nginx-extras
Did you find this article useful? Why not share it with your friends?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.