yum 安装
yum -y install nginx
开机启动
systemctl enable nginx
启动服务
systemctl start nginx systemctl status nginx
访问首页
http://localhost:80
安装完成