httpd2.4+版本安装步骤
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了httpd2.4+版本安装步骤相关的知识,希望对你有一定的参考价值。
1.准备相应版本的安装包:
所需的包自取
----------------链接:http://pan.baidu.com/s/1o8HBL0m 密码:0ria-------------------
#安装编译环境包组:Development Tools , Desktop Platform Development
#查看包组:yum grouplist
#安装包组:yum groupinstall Development Tools
#yum groupinstall Desktop Platform Development
#apr和apr-util应在1.4版本以上
#pcre安装包
#httpd2.4.x
2.解压apr并安装
# tar xf apr-1.4.6.tar.gz # cd apr-1.4.6 # ./configure --prefix=/usr/local/apr # make && make install
3.解压apr-util并安装
# tar xf apr-util-1.4.1.tar.gz # cd apr-util-1.4.1 # ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr # make && make install
4.解压pcre并安装
# tar xf pcre-8.20.tar.bz2 # cd pcre-8.20 # ./configure --prefix=/usr/local/pcre # make && make install
5.解压httpd24并安装
# tar xf httpd-2.4.3.tar.gz # cd httpd-2.4.3 #./configure --prefix=/usr/local/apache --sysconf=/etc/httpd24 --enable-so --enable-ssl --enable-cgi --enable-rewrite --with-zlib --with-prce=/usr/local/pcre --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --enable-modules=most --enable-mpms-shared=all --with-mpm=prefork # make && make install
6.安装过程常见意外
1)程序依赖关系未解决:请尝试依次安装apr,apr-util,pcre,httpd;
2)编译环境不完整:请安装Development Tools , Desktop Platform Development包组,见第一步;
3)指定路径不存在:确定已安装的路径是否正确;
4)依赖程序版本太旧:更新提示程序
5)……
本文出自 “11460225” 博客,请务必保留此出处http://11470225.blog.51cto.com/11460225/1857498
以上是关于httpd2.4+版本安装步骤的主要内容,如果未能解决你的问题,请参考以下文章