最新版nginx,了解一下。yuminstall-ynginxsystemctlstartnginx.serviceln-s/usr/lib/systemd/system/nginx.servicesystemctlenablenginx.servicenginx-t-c/etc/nginx/nginx.conf直接修改vim/etc/selinux/config找到SELINUX=enforcing修改为SELINUX=disable,重启reboot或者setenforce0(该命令使用后不用重启也可以生效)