●OS: CentOS Linux release 7.5.1804 (Core)
[root@qfedu.com ~]# vim /etc/selinux/config
●将内容中的SELINUX=enforcing修改为SELINUX=disabled
[root@qfedu.com ~]# setenforce 0
[root@qfedu.com ~]# reboot
[root@qfedu.com ~]# sestatus
SELinux status:disabled !
[root@qfedu.com ~]# systemctl stop firewalld.service
[root@qfedu.com ~]# yum -y install epel- release.noarch
[root@qfedu.com ~]# rpm -Uvh
http://nginx.org/packages/centos/7/noarch/RPM5/nginx-release-centos-0.e17ngx.noarch.rpm<