CentOS下 安装 Nginx的方法

zx83986 34 0 PDF 2021-01-30 23:01:08

官方文档:https://nginx.org/en/linux_packages.html#RHEL-CentOS 安装环境:Linux 服务器 CentOS 7.3、Root 权限 1、Install the prerequisites: sudo yum install yum-utils 2、To set up the yum repository, create the file named /etc/yum.repos.d/nginx.repo with the following contents: (注意替换 OS 版本:$releasever,如 centos 版本是 7,就替

用户评论
请输入评论内容
评分:
暂无评论