[CentOS] centos下安装最新稳定版nginx

vim 编辑 /etc/yum.repos.d/nginx.repo

 

[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

yum install  nginx

 

 

 

posted @ 2021-03-22 16:19  唯一客服系统开发笔记  阅读(69)  评论(0编辑  收藏  举报