侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

CentOS7使用yum安装Nginx

2023-11-14 星期二 / 0 评论 / 0 点赞 / 80 阅读 / 376 字

Pre-Built Packages for Stable version To set up the yum repository for RHEL/CentOS, create the file

Pre-Built Packages for Stable version

To set up the yum repository for RHEL/CentOS, create the file named /etc/yum.repos.d/nginx.repo with the following contents:

.
[nginx]name=nginx repobaseurl=http://nginx.org/packages/7/$basearch/gpgcheck=0enabled=1
.

 yum install nginx

广告 广告

评论区