yum install nginx systemctl start nginx.service systemctl enable nginx.service 转载于:https://www.cnblogs.com/linlz/archive/2012/11/22/2782189.html