Preparation Tools
httpd_-2.4.4.tar.bz2
Apr-1.4.6.tar.gz (a portable runtime library of Apache)
Apr-util-1.5.1.tar.gz
Mkdir/mnt/cdrom
mount/dev/cdrom/mnt/cdrom/(Establish disc mount point)
cd/mnt/cdrom/server/
ll apr*
RPM-IVH apr-devel-1.2.7-11.e15_3.1.i386.rpm (Install APR development package)
Install apr-1.4.6 Run Library
TAR-ZXVF apr-1.4.6.tar.gz-c/usr/local/src/
cd/usr/local/src/apr-1.4.6/
Configure apr-1.4.6
ll
Less README
./configure (installed by default in the/usr/local directory under the automatically generated Apr directory)
Make
Make install
Cd
Install apr-util-1.5.1
TAR-ZXVF apr-util-1.5.1.tar.gz-c/usr/local/src/
Cd/usr/local/src/apr-util-1.5.1/
ll
Ls
./configure
./configure--with-apr=/usr/local/apr/bin/apr-1-config (to specify the full path to Apr-config)
Make
Make install
Cd
Install PCRE and its development kit (don't ask why to install this, do not pretend to be a problem ...) )
ll/mnt/cdrom/server/pcre*
rpm-ivh/mnt/cdrom/server/pcre-6.6-2.el5_1.7.i386.rpm
rpm-ivh/mnt/cdrom/server/pcre-devel-6.6-2.e15_1.7.i386.rpm
Install http2.4.4
TAR-JXVF httpd-2.4.4.tar.bz2-c/usr/local/src/
cd/usr/local/src/httpd-2.4.4/
Cd/usr/local/apr
Vim/etc/ld.so.conf.d/apr.conf
Write path/usr/local/apr/lib (let system call run library)