Skip to content

Instantly share code, notes, and snippets.

@sumodirjo
Last active August 29, 2015 14:07
Show Gist options
  • Save sumodirjo/c65c841d9f5a84173d94 to your computer and use it in GitHub Desktop.
Save sumodirjo/c65c841d9f5a84173d94 to your computer and use it in GitHub Desktop.
Install nginx Ubuntu 14.04 (Trusty Tahr)
wget -c -O- http://nginx.org/keys/nginx_signing.key | sudo apt-key add -
echo "deb http://nginx.org/packages/ubuntu/ trusty nginx" | sudo tee -a /etc/apt/sources.list.d/nginx.list > /dev/null
echo "deb-src http://nginx.org/packages/ubuntu/ trusty nginx" | sudo tee -a /etc/apt/sources.list.d/nginx.list > /dev/null
sudo apt-get update
sudo apt-get install nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment