Linux apachectl命令

Linux 命令大全 Linux 命令大全

Linux apachectl命令可用來控制Apache HTTP伺服器的程式。

apachectl是slackware內附Apache HTTP伺服器的script檔,可供管理員控制伺服器,但在其他Linux的Apache HTTP伺服器不一定有這個檔。

語法

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

參數

  • configtest 檢查設置檔中的語法是否正確。
  • fullstatus 顯示伺服器完整的狀態資訊。
  • graceful 重新啟動Apache伺服器,但不會中斷原有的連接。
  • help 顯示幫助資訊。
  • restart 重新啟動Apache伺服器。
  • start 啟動Apache伺服器。
  • status 顯示伺服器摘要的狀態資訊。
  • stop 停止Apache伺服器。

Linux 命令大全 Linux 命令大全