如何更新nginx?

时间:2015-09-07 21:31:43

标签: nginx debian

我有nginx的1.2.1版本,我不知道如何升级它。我有debian7。我用nginx-extras包装

安装了它

我的source.list:

deb http://ftp.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main
deb http://packages.dotdeb.org squeeze all
deb-src http://packages.dotdeb.org squeeze all


apt-get upgrade nginx-extras
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  nginx-common nginx-extras php5-memcache php5-memcached
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
有人可以帮帮我吗?谢谢

1 个答案:

答案 0 :(得分:1)

根据官方Debian Wheezy存储库,您已经拥有最新版本的nginx https://packages.debian.org/wheezy/nginx

请查看此问题以获取有关如何使用备用仓库进行更新的更多信息

https://serverfault.com/questions/597756/how-to-upgrade-nginx-from-1-2-to-1-6-on-debian-7