1、查看nginx进程
ps -ef | grep nginx
2、yum erase nginx
3、yum install -y epel-release
4、再次安装
yum install -y nginx
5、nginx -v
6、systemctl enable nginx.service
7、systemctl start nginx