by Devin Yang

建立于: 9年前 ( 更新: 9年前 )

组态档语法检查 (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,system,config

修正CentOS6.x无法再更新的问题

有些地方或许还存在一些老旧进程,只能跑旧的系统。但又希望能运行及安装一些想要的包,您或许可以试这招请注意,如果这个系统对您很重要,请自行评估,建议您是Docker环境,并且有备份了image才可尝试。

linux

公钥验证之多个ssh的组态档

我们使用ssh公钥验证时,通常会在~/.ssh/config添加相关设置。 如果说有些是公司用的或是家里用的,是否可以使用多个config呢? 其实可以的,我们能git透过Include加载公司共用,有版本控制的config。

linux,raspberry

树莓派安装VNC Server

检单介绍如何在树莓派上启动VNC Server