Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install nginx from nginx.org PPA sources
# add source
cat >> /etc/apt/sources.list <<EOF
# Nginx
deb http://nginx.org/packages/ubuntu/ disco nginx
deb-src http://nginx.org/packages/ubuntu/ disco nginx
EOF
# add signing key
curl http://nginx.org/packages/keys/nginx_signing.key | sudo apt-key add -
# update sources
aptitude update
# install nginx from PPA
aptitude install nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.