新聞中心
這里有您想知道的互聯(lián)網營銷解決方案
詳解Nginx的常用操作
Nginx 是一款面向性能設計的 HTTP 服務器,相較于 Apache、lighttpd 具有占有內存少,穩(wěn)定性高等優(yōu)勢,本篇文章重點為大家講解一下Nginx的常用操作。

關閉
service nginx stop
systemctl stop nginx
啟動
service nginx start
systemctl start nginx
重啟
service nginx reload
systemctl restart nginx
隨系統(tǒng)啟動自動運行
systemctl enable nginx
禁止隨系統(tǒng)啟動自動運行
systemctl disable nginx
知識點擴展:
首先利用配置文件啟動nginx
命令: nginx -c /usr/local/nginx/conf/nginx.conf
重啟服務: service nginx restart
快速停止或關閉Nginx:nginx -s stop
正常停止或關閉Nginx:nginx -s quit
配置文件修改重裝載命令:nginx -s reload
當前名稱:詳解Nginx的常用操作
文章網址:http://fisionsoft.com.cn/article/dhidigs.html


咨詢
建站咨詢
