首先,你需要获得Apache HTTP Server的安装介质。
该部分的信息如下:
————————————————————————————————————————————————
官方网站:http://httpd.apache.org/
最新发行版为:2.4
文档页:http://httpd.apache.org/docs/2.4/
————————————————————————————————————————————————
本文参考官方文档:编译与安装。
原文地址:http://httpd.apache.org/docs/2.4/install.html

该文档适用于Unix和类Unix操作系统平台。
如果需要了解在Microsoft Windows平台上的技术细节,参阅:
1.Using Apache HTTP Server with Microsoft Windows(使用Apache)
http://httpd.apache.org/docs/2.4/platform/windows.html
2.Compiling Apache for Microsoft Windows(编译Apache)
http://httpd.apache.org/docs/2.4/platform/win_compiling.html

在编译[./configure]前,需要保证操作系统安装了:libtool和autoconf。
Apache HTTPD需要使用它们来创建build环境(该过程是为源码包安装的第二步[make/make install]服务的)
如果你已经部署过Apache HTTP Server,需要对其版本升级,那么你需要查阅:升级部分,以确认技术细节(URL:http://httpd.apache.org/docs/2.4/install.html#upgrading)

安装HTTP Server的其他需求:
1.APR/APR-Util(URL:http://apr.apache.org/)
2.PCRE(Perl-Compatible Regular Expressions Library)
3.Ansi-C Compiler(yum install gcc)
4.apxs

关于HTTP Server主机的说明:
OS Version:Red Hat Enterprise Linux 5 Update 10

网络相关配置

IPTables与Selinux:

磁盘使用量:

YUM状态:

介质临时存储目录:/software

上传介质到服务器:

解压:

创建HTTP Server的安装路径:

编译:./configure

编译:make

编译:make install

这样,HTTP Server就安装好了。

它的配置文件为:$HTTPD_HOME/conf/httpd.conf

启动程序:$HTTPD_HOME/bin/apachectl

浏览器:http://192.168.119.141:80
Http_FirstStart_Browser
——————————————————————————————————
Ending。

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

隐藏
变装