36.1 Apache Web 服务器
最后更新于
# service apache24 start # 启动 Apache HTTP Server 2.4 服务
Performing sanity check on apache24 configuration:
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 198.18.0.103. Set the 'ServerName' directive globally to suppress this message
Syntax OK
Starting apache24.
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 198.18.0.103. Set the 'ServerName' directive globally to suppress this message# service apache24 status
apache24 is running as pid 2068./usr/local/
├── etc/
│ └── apache24/
│ ├── httpd.conf # Apache 主配置文件(实际生效的配置)
│ └── httpd.conf.sample # 示例配置文件(参考模板,不直接使用)
└── www/
└── apache24/
└── data/ # 网站根目录(存放网页内容,如 index.html)