httpd:2.4.4
Apr:
Apr-util:
Apr-iconv
RPM Package:
Binary program/bin,/sbin,/usr/bin,/usr/sbin
Library Files/lib,/usr/lib
Configuration File/etc
Help Document/usr/share/{doc,man}
Compile and install:
/usr/local/where third-party software is stored
Bin, sbin binary file
LIB Library file
ETC configuration file
Share/{doc,man} Help file
Source code compilation Uninstall mode: At the time of installation in the/usr/local/package with the same name of the file
Install Apr--apr-util--httpd It is necessary to hwclock-s the hardware time
1. Tar XF apr-1.4.6.tar.bz2
CD apr-1.4
./configure--PREFIX=/USR/LOCAL/APR
Make
Make install
2. Tar XF apr-util-1.4.1.tar.bz2
CD apr-util-1.4.1
./configure--prefix=/usr/local/apr-util--WITH-APR=/USR/LOCAL/APR
Make
Make install
3. Tar XF httpd-2.4.4.tar.bz2
CD httpd-2.4.4
./configure--prefix=/usr/local/apache--sysconfdir=/etc/httpd--enable-so--enable-rewirte--enable-ssl-- enable-cgi--enable-cgid--enable-modules=most--enable-mods-shared=most--with-zlib--enable-mpms-shared=all-- WITH-APR=/USR/LOCAL/APR--with-apr-util=/usr/local/apr-util
./configure--prefix=/usr/local/apache2--enable-so--enable-rewrite--enable-ssl--with-ssl=/usr/local/openssl-- With-zlib--enable-mods-shared=all--enable-track-vars--with-mysql=/usr/local/mysql--with-included-apr
Make
Make install
2.5. Compile and install Zlib
4. Getenforce 0 Change SELinux to permissive
5./apachectl-f/usr/local/apache2/conf/httpd.conf-k Start up
6. Write the startup shutdown script under INIT.D
7, Chkconfig--add httpd
Chkconfig--level httpd on
Compiling httpd manually