nginx yum源

[nginx]name=nginx repobaseurl=<a href=""http://nginx.org/packages/mainline/OS/OSRELEASE/$basearch/"> http://nginx.org/packages/mainline/centos/7/$basearch/gpgcheck=0enabled=1

cat >> /etc/yum.repos.d/nginx.repo << EOF
EOF

Replace “ OS ” with “ rhel ” or “ centos ”, depending on the distribution used, and “ OSRELEASE ” with “ 5 ”, “ 6 ”, or “ 7 ”, for 5.x, 6.x, or 7.x versions, respectively.
发布了91 篇原创文章 · 获赞 25 · 访问量 25万+

猜你喜欢

转载自blog.csdn.net/kevin3101/article/details/79422447