Skip to content

Instantly share code, notes, and snippets.

@huyinjie
Created June 3, 2017 06:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huyinjie/57086324bcd0664f4e017f2c1b848dee to your computer and use it in GitHub Desktop.
Save huyinjie/57086324bcd0664f4e017f2c1b848dee to your computer and use it in GitHub Desktop.
Ubuntu16.04安装Nginx
编辑/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