您的位置:首页 > 运维架构 > Nginx

nginx的centos和rhel的yum配置安装

2016-07-28 18:21 666 查看

Official Red Hat/CentOS packages

To add NGINX yum repository, create a file named
/etc/yum.repos.d/nginx.repo
and paste one of the configurations below:

CentOS:

[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=0
enabled=1


RHEL:

[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/rhel/$releasever/$basearch/
gpgcheck=0
enabled=1
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: