admin
admin
4240 1 0

用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

Nearby


Discussion (1)

zxczxc
zxczxc 2013-11-03 00:56

****** 此回复已被管理员屏蔽****

0
Login Topics