Skip to content

Instantly share code, notes, and snippets.

@yegorg
Created November 12, 2015 05:12
Show Gist options
  • Save yegorg/04925c6f32ef47d9ebec to your computer and use it in GitHub Desktop.
Save yegorg/04925c6f32ef47d9ebec to your computer and use it in GitHub Desktop.
install nginx latest ver on ubuntu/debian
wget -O nginx_signing.key http://nginx.org/keys/nginx_signing.key
sudo apt-key add nginx_signing.key
echo "deb http://nginx.org/packages/mainline/ubuntu/ trusty nginx
deb-src http://nginx.org/packages/mainline/ubuntu/ trusty nginx" >> /etc/apt/sources.list
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