用apt-get 升级 nginx (debian6/Ubuntu)
在一个小的vps,默认的nginx 版本太旧,要升级为最新稳定版本
打开 /etc/apt/sources.list 添加下面两行
deb http://nginx.org/packages/debian/ squeeze nginx
deb-src http://nginx.org/packages/debian/ squeeze nginx
Ubuntu 就用下面两行
deb http://nginx.org/packages/ubuntu/ lucid nginx
deb-src http://nginx.org/packages/ubuntu/ lucid nginx
然后
apt-get install nginx
就可以
0
See Also
- Debian/Ubuntu+nginx + spawn-fcgi + WordPress
- apt-get install nginx-extras
- 1.03如何升级到1.04
- 云商店进行升级
- Nginx 支持gRPC
****** 此回复已被管理员屏蔽****