当前位置: > Linux服务器 > nginx >

Nginx官方Centos安装源

时间:2016-12-18 10:01来源:linux.it.net.cn 作者:IT

#centos6:
rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
#centos5:
rpm -ivh http://nginx.org/packages/centos/5/noarch/RPMS/nginx-release-centos-5-0.el5.ngx.noarch.rpm
或自添加:

[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/6/$basearch/
gpgcheck=0
enabled=1 (责任编辑:IT)
------分隔线----------------------------
栏目列表
推荐内容