一:编译安装http2.4
1.下载httpd,apr,apr-util
wget http://apache.fayea.com//httpd/httpd-2.4.27.tar.gz
wget http://mirror.bit.edu.cn/apache//apr/apr-1.6.2.tar.gz
wget http://mirror.bit.edu.cn/apache//apr/apr-util-1.6.0.tar.gz
2.安装
a.先安装apr
[root@www ]# cd apr-1.6.2
[root@www apr-1.6.2]# ./configure --prefix=/usr/local/apr
[root@www apr-1.6.2]# make && make install
b.在安装apr-util
[root@www ]# cd apr-util-1.6.0
[root@www apr-util-1.6.0]#./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
[root@www apr-util-1.6.0]#make && make install
c.最后安装htpd2.4
[r