以前web server使用nginx,最近改用Apache,首先需要安装Apache
1 下载安装Apache Portable Runtime(APR)
wget http://mirror.bjtu.edu.cn/apache//apr/apr-1.4.6.tar.gz
./configure && make
sudo make install
2 下载安装 APR-util
wget http://mirror.bjtu.edu.cn/apache//apr/apr-util-1.5.2.tar.gz
./configure --with-apr=/usr/local/apr/
make
sudo make install
3 下载安装Apache
wget http://mirror.bit.edu.cn/apache//httpd/httpd-2.4.4.tar.gz
./configure
make
sudo make install