Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Install mainline version of nginx on wheezy.
# Remove nginx that is already installed.
apt-get purge nginx
apt-get autoremove
(cat <<-SRC
# nginx mainline repository
deb wheezy nginx
deb-src wheezy nginx
) > /etc/apt/sources.list.d/nginx-mainline.list
apt-key add nginx_signing.key
apt-get update
apt-get install nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment