下载最新release版本
release
安装
rpm -ivh nginx-*-wl.el7.x86_64.rpm
关闭selinux
selinux
setenforce 0 sed -i "s#SELINUX=enforcing#SELINUX=disabled#g" /etc/selinux/config
启动
systemctl daemon-reload systemctl enable nginx --now
查看状态
systemctl status nginx