Linux基础命令---httpd守护进程

栏目: 服务器 · Apache · 发布时间: 5年前

apache 超文本传输协议的主程序,它被设计成一个独立运行的守护进程。 httpd 会建立一个线程池来处理 http 请求。

RedHatRHELUbuntuCentOSSUSEopenSUSEFedora

]

serverroot

ServerRoot 指令

config

apache 服务器的配置文件。如果配置文件不使用绝对路径,那么就是相对于 ServerRoot 的路径

httpd 进程发送信息,可以控制 httpd

param

apache 的配置文件中一起使用

level

file

httpd 模块列表

apache 服务配置文件中的指令列表

httpd 模块列表

httpd 版本

httpd 服务 

[root@localhost ~]# httpd -k restart             // 重启服务

You have new mail in /var/spool/mail/root

[root@localhost ~]#  

[root@localhost ~]# httpd –t                     // 检测配置文件,没有错误

httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName

Syntax OK

[root@localhost ~]# 

apache 中的模块

[root@localhost ~]#  httpd -M

httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName

Loaded Modules:

core_module (static)

mpm_prefork_module (static)

http_module (static)

so_module (static)

auth_basic_module (shared)

auth_digest_module (shared)

authn_file_module (shared)

authn_alias_module (shared)

authn_anon_module (shared)

authn_dbm_module (shared)


链接:https://pan.baidu.com/s/1GOLVU2CbpBNGtunztVpaCQ  密码:n7bk 
Linux基础命令---httpd守护进程


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

高性能Python

高性能Python

(美)戈雷利克、(英)欧日沃尔德 / 东南大学出版社 / 2015-2

你的Python代码也许运行正确,但是你需要运行得更快速。通过探讨隐藏在设计备选方案中的基础理论,戈雷利克和欧日沃尔德编著的《高性能Python》将帮助你更深入地理解Python的实现。你将了解如何定位性能瓶颈,从而显著提升高数据流量程序中的代码执行效率。 你该如何利用多核架构和集群?或者你该如何搭建一个可以自由伸缩而不会影响可靠性的系统?有经验的Python程序员将会学习到这类问题的具体解......一起来看看 《高性能Python》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具