First, download
1, Login http://httpd.apache.org.
2. Download version 2.4.7.
#cd/opt #wget http://mirror.esocc.com/apache//httpd/httpd-2.4.7.tar.gz
Second, installation
1. Install APR, Apr-util, Pcre
Login http://www.apache.org, download apr-1.5.0, apr-util-1.5.3 #tar zxvfv apr-1.5.0 #cd apr-1.5.0 #./configure--prefix=/usr/ LOCAL/APR #make #mkae Install #tar apr-util-1.5.3 #cd apr-util-1.5.3 #./configure--prefix=/usr/local/apr-util-- With-apr=/usr/local/apr/bin/apr-1-config #make #make Install login http://www.pcre.org/, download pcre-8.34 #tar ZXVF pcre-8.34.tar.gz #cd prec-8.34 #./configure--prefix=/usr/local/pcre #make #make Install
2, installation httpd
#tar zxvf httpd-2.4.7.tar.gz #cd httpd-2.4.7 #./configure--prefix=/usr/local/apache2 --enable-so=--with-apr=/ USR/LOCAL/APR --with-apr-util=/usr/local/apr-util/ --with-pcre=/usr/local/pcre --enable-so # Make #make Install
3. Testing
#cd/usr/local/apache/bin#apachectl start opens the browser and accesses http://127.0.0.1. If Apache Test PAGE,OK#NETSTAT-ANP appears | grep httpd appears with 80 mouths to be monitored.
Complete.
centos6.5_x64 Apache httpd installation Configuration