Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Linux 系統教學 >> 關於 Linux

apachectl 控制 Apache HTTP 服務完整參數表:啟動、重啟、優雅重啟、語法檢查、狀態查詢

編輯:關於 Linux

功能

控制 Apache HTTP Server 程式的啟停、重載、狀態檢查。

語法

apachectl [configtest|fullstatus|graceful|help|restart|start|status|stop]

參數詳解

參數說明
configtest檢查設定檔語法
fullstatus顯示完整狀態資訊
graceful優雅重啟(不中斷現有連線)
help顯示說明
restart重啟服務
start啟動服務
status顯示摘要狀態
stop停止服務

補充

apachectl 為 Slackware 附屬腳本,其他發行版不一定內建。

結語

熟記八大參數,即可在支援 apachectl 的系統上高效管理 Apache 服務生命週期。

Copyright © Windows教程網 All Rights Reserved