推荐使用在线安装: yum install nginx 安装完成后需要启动nginx: nginx即可。 常用命令: 启动:nginx 重载加载配置:nginx -s reload 停止:nginx -s stop