deb仓库 添加@H_403_1@/etc/apt/sources.list加上如下两条
@H_403_1@deb http://Nginx.org/packages/ubuntu/ trusty Nginx
@H_403_1@deb-src http://Nginx.org/packages/ubuntu/ trusty Nginx
然后有可能出线pgp钥匙不匹配的问题
@H_403_1@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传下下面的命令中去
@H_403_1@apt-key adv --keyserver keyserver.ubuntu.com --recv-keys xxxxxx
之后
@H_403_1@sudo apt-get update
@H_403_1@sudo apt-get install Nginx
安装稳定版
Nginx.com/resources/wiki/start/topics/tutorials/install/">https://www.Nginx.com/resourc...