例如:
[root@linuxserver sbin]#/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.confnginx的停止有三種方式:
1、檢視程序號
2、殺死程序
1、檢視程序號
2、殺死程序
[root@linuxserver ~]# kill -term 2132
或 [root@linuxserver ~]# kill -int 2132

[root@linuxserver ~]# pkill -9 nginx看到如下顯示nginx.conf syntax is ok
nginx.conf test is successful
說明配置檔案正確!
分類: nginx
例如:
[root@linuxserver sbin]#/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.confnginx的停止有三種方式:
1、檢視程序號
2、殺死程序
1、檢視程序號
2、殺死程序
[root@linuxserver ~]# kill -term 2132
或 [root@linuxserver ~]# kill -int 2132

[root@linuxserver ~]# pkill -9 nginx看到如下顯示nginx.conf syntax is ok
nginx.conf test is successful
說明配置檔案正確!
Nginx 啟動 停止 重啟
例如 root linuxserver sbin usr local nginx sbin nginx c usr local nginx conf nginx.conf 停止nginx的停止有三種方式 從容停止 1 檢視程序號 root linuxserver ps ef grep nginx 2...
Nginx啟動停止重啟
你好!這是你第一次使用markdown編輯器所展示的歡迎頁。如果你想學習如何使用markdown編輯器,可以仔細閱讀這篇文章,了解一下markdown的基本語法知識。1.檢視linux核心版本 uname a 2.安裝gcc編譯器,用來編譯c語言 yum install y gcc 3.安裝c 編譯...
nginx啟動 停止重啟
例如 root linuxserver sbin usr local nginx sbin nginx c usr local nginx conf nginx.conf nginx的停止有三種方式 1 檢視程序號 ps ef grep nginx2 殺死程序 kill quit 2072 1 檢視...