CentOS 6.2 安装 Apache 2.4(转载)

Apache HTTP Server

注意事项

  1. 如果需要通过Apache搭建Bugzilla或MediaWiki,请选择Apache 2.2.22版本,2.4版本无法兼容。详情可参考:(还没写)

安装准备

下载所需文件

  1. 下载Apache Protable Runtime (APR), 下载地址:http://apr.apache.org/download.cgi
  2. 下载Apache Protable Runtime Utility (APR-Util), 下载地址:http://apr.apache.org/download.cgi (和APR在同一个页面上下载)
  3. 下载Apache HTTP Server (Apache Httpd), 下载地址:http://httpd.apache.org/download.cgi
  4. 下载Perl-Compatible Regular Expressions Library (PCRE), 下载地址:http://pcre.org/

安装所需依赖

 

 

安装APR

 

 

安装APR-Util

 

 

安装PCRE

 

 

安装Apache

 

 

测试Apache

 

 

配置Apache

从Apache的文档来讲,其配置可以写成一本书了,在这里我一章一章的来写,其中内容大多参考Apache官方文档,如果读者英文能力足够,可以直接查看官方文档。

此外,也可参考Apache配置索引

posted @ 2012-12-05 16:16  帝血天魂  阅读(62)  评论(0编辑  收藏  举报