Linux centos installation httpd-2.4.12, centoshttpd-2.4.12
Assume that:
Apr is installed in:/home/manage/lib/apr
Install apr-util in/home/manage/lib/apr-suite/apr-util
Install apr-iconv on/home/manage/lib/apr-suite/apr-iconv
Install apache http server (httpd) in/home/manage/lib/httpd
1. Download applications
Wget http://mirrors.cnnic.cn/apache//httpd/httpd-2.4.12.tar.gz
Wget http://archive.apache.org/dist/apr/apr-iconv-1.2.1.tar.gz
Wget http://archive.apache.org/dist/apr/apr-util-1.5.4.tar.gz
Wget http://archive.apache.org/dist/apr/apr-1.5.2.tar.gz
2. Decompress each compressed package, for example:
Tar-zxvf apr-1.5.2.tar.gz
3. Set the installation path and install the command (before executing each command, you need to enter the directory after the installer is decompressed and then execute./configure)
./Configure -- prefix =/home/manage/lib/apr & make install
. /Configure -- prefix =/home/manage/lib/apr-suite/apr-util -- with-apr =/home/manage/lib/apr/bin/apr-1-config & make & & make install
./Configure -- prefix =/home/manage/lib/apr-suite/apr-iconv -- with-apr =/home/manage/lib/apr & make install
. /Configure -- prefix =/home/manage/lib/httpd -- enable-mod-shared = all -- enable-proxy-connect -- enable-proxy-ftp -- enable- proxy-http -- enable-proxy-ajp -- enable-proxy-balancer -- enable-rewrite -- enable-status -- with-apr =/home/manage/lib/apr -- with-apr -util =/home/manage/lib/apr-suite/apr-util