by Devin Yang

建立於: 8年前 ( 更新: 8年前 )

組態檔語法檢查 (run syntax check for config files)

apachectl -t
Syntax OK

顯示所有載入的模組 (show all loaded modules)

-M相當於-t -D DUMP_MODULES。

apachectl -M
Loaded Modules:
 core_module (static)
 mpm_prefork_module (static)
略...
proxy_ajp_module (shared)
 python_module (shared)
 ssl_module (shared)
Syntax OK

顯示編譯進Apache Server中的模組.

apachectl -l
Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c

Tags: linux

Devin Yang

文章內容無法一一說明,如果您有什麼不了解處,歡迎提問哦:)

No Comment

Post your comment

需要登入才可留言!

類似的文章


linux

Raspberry Pi 3 樹莓派作業系統安裝

這篇文章,分享使用MacOS上的內建指令,進行Raspberry Pi的作業系統安裝。 在這個安裝過程中關於dd指令,請小心指定您of的參數,即是write output到檔案的位置, 指定錯了,會毀掉自己的系統哦。

linux,cli

如何用date指令,顯示昨天的日期

在MacOS或Linux上指令是不同的,但是可以達到相同的效果。 我們來看看如何用date指令顯示昨天的日期。

linux, python, colab

如何從我們的Server透過ssh連線到colab?

介紹我寫的一支bash,用來透過ssh連線到colab vm內。 一行指令,搞定colab OpenSSH Server。