deb仓库 添加/etc/apt/sources.list
加上如下两条deb http://Nginx.org/packages/ubuntu/ trusty Nginx
deb-src http://Nginx.org/packages/ubuntu/ trusty Nginx
然后有可能出线pgp钥匙不匹配的问题 W: GPG error: http://Nginx.org trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY xxxxxx
把这个xxxx传下下面的命令中去apt-key adv --keyserver keyserver.ubuntu.com --recv-keys xxxxxx
之后sudo apt-get update
sudo apt-get install Nginx
安装稳定版
Nginx.com/resources/wiki/start/topics/tutorials/install/">https://www.Nginx.com/resourc...