#設置nginx.service為系統服務 systemctl enable nginx.service ##通過系統服務操作nginx systemctl start nginx.service systemctl reload nginx.service systemctl restart nginx.service systemctl stop nginx.service
驗證配置是否正確: nginx -t
查看Nginx的版本號:nginx -V
啟動Nginx:start nginx
快速停止或關閉Nginx:nginx -s stop
正常停止或關閉Nginx:nginx -s quit
配置文件修改重裝載命令:nginx -s reload
## 解壓nginx-1.14.0.tar.gz到/usr/local/目錄下 tar -zxvf nginx-1.14.0.tar.gz -C /usr/local/
