Skip to content

Instantly share code, notes, and snippets.

@liudanking
Last active November 12, 2015 05:09
Show Gist options
  • Save liudanking/7ce021a3699b731e7dc5 to your computer and use it in GitHub Desktop.
Save liudanking/7ce021a3699b731e7dc5 to your computer and use it in GitHub Desktop.
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