Last active
November 12, 2015 05:09
-
-
Save liudanking/7ce021a3699b731e7dc5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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