HTTP-2.4.10 安装

wget -c http://apache.fayea.com/apache-mirror//httpd/httpd-2.4.10.tar.gz
#wget -c  http://mirrors.axint.net/apache//apr/apr-1.4.6.tar.gz
#wget -c http://mirrors.axint.net/apache//apr/apr-util-1.4.1.tar.gz
wget -c http://mirrors.hust.edu.cn/apache//apr/apr-1.5.1.tar.gz
wget -c http://mirrors.hust.edu.cn/apache//apr/apr-util-1.5.3.tar.gz
wget -c http://sourceforge.net/projects/pcre/files/pcre/8.32/pcre-8.32.tar.gz/download

tar xzvf pcre-8.32.tar.gz 
cd pcre-8.32
./configure
make && make install

cd ..
tar xzvf httpd-2.4.10.tar.gz


tar xzvf apr-1.5.1.tar.gz 
mv apr-1.5.1 httpd-2.4.10/srclib/apr

tar xzvf apr-util-1.5.3.tar.gz 
mv apr-util-1.5.3 httpd-2.4.10/srclib/apr-util

cd httpd-2.4.10
./configure --prefix=/usr/local/apache10 --with-included-apr --with-mpm=event
make
make install

发表评论

电子邮件地址不会被公开。 必填项已用*标注