Created
June 3, 2017 06:05
-
-
Save huyinjie/57086324bcd0664f4e017f2c1b848dee to your computer and use it in GitHub Desktop.
Ubuntu16.04安装Nginx
This file contains 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
编辑/etc/apt/sources.list | |
deb http://nginx.org/packages/ubuntu/ xenial nginx | |
deb-src http://nginx.org/packages/ubuntu/ xenial nginx | |
wget https://nginx.org/keys/nginx_signing.key -O - | sudo apt-key add - | |
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