系统相关
首页 > 系统相关> > nginx官方yum库

nginx官方yum库

作者:互联网

1、生成YUM 库
cat >nginx.repo <<EOF
[nginx-stable] name=nginx stable repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=1 enabled=1 gpgkey=https://nginx.org/keys/nginx_signing.key module_hotfixes=true [nginx-mainline] name=nginx mainline repo baseurl=http://nginx.org/packages/mainline/centos/$releasever/$basearch/ gpgcheck=1 enabled=0 gpgkey=https://nginx.org/keys/nginx_signing.key module_hotfixes=true
EOF

标签:signing,centos,mainline,repo,nginx,官方,yum,org
来源: https://www.cnblogs.com/cm920/p/13651457.html