yum install epel-release
yum update
yum -y install nginx
nginx命令
systemctl start nginx #开启nginx服务
systemctl stop nginx #停止nginx服务
systemctl restart nginx#重启nginx服务
yum install epel-release
yum update
yum -y install nginx
nginx命令
systemctl start nginx #开启nginx服务
systemctl stop nginx #停止nginx服务
systemctl restart nginx#重启nginx服务