centos6.9编译安装httpd2.4(2)
来源:互联网 发布:淘宝二级页面全屏 编辑:程序博客网 时间:2024/06/11 20:44
一、区别
在安装httpd时可以指定apr和apr-util的安装路径,可以一次性把这三个软件包都装好 httpd但是: apr解压后文件和apr-util要放在httpd源码解压后的srclib目录下的 并且改名为apr 和apr-util
二、安装
1.卸载旧版本
yum remove httpd*yum remove apr*
2.解压软件包
tar xf apr-1.6.2.tar.gz tar xf apr-util-1.6.0.tar.gz tar xf httpd-2.4.27.tar.bz2
3.安装需要的包或组
yum -y groupinstall Development\ tools yum -y install expat-devel yum -y install pcre-develyum -y install openssl-devel
4.转移apr和apr-util源码位置
mv apr-1.6.2 httpd-2.4.27/srclib/aprmv apr-util-1.6.0 httpd-2.4.27/srclib/apr-util
5.编译
cd httpd-2.4.27/ ./configure --prefix=/app/httpd24 --sysconfdir=/etc/httpd24 --enable-so --enable-ssl --enable-rewrite --with-zlib --with-pcre --with-included-apr --enable-modules=most --enable-mpms-shared=all --with-mpm=prefork
6.安装
cd apr-1.6.2make && make install
三、可能出现的错误
libtool: error: error: cannot install ‘libaprutil-1.la’ to a directory not ending in /usr/local/httpd-2.4/lib
阅读全文
0 0
- centos6.9编译安装httpd2.4(2)
- Centos6.9编译安装httpd2.4
- centos6.9编译安装httpd2.4(1)
- centos6.9编译安装httpd2.4.27
- httpd2.4编译安装
- httpd2.4编译安装
- LAMP(centos6.9+httpd2.4+maria5.5.7+php5-fpm)
- Centos7上编译安装Httpd2.4
- 安装apache httpd2.4
- centos6下httpd2.2的配置
- centos 6.2 ubuntu 12.04 上安装apache(httpd2.4) nginx1.2 php5.3.10 mysql5.3
- Centos6.9编译安装FFmpeg
- CentOS6.9编译安装LAMP
- centos6.4编译安装haproxy
- CentOS6.4 编译安装memcached
- CentOS6.4 编译安装Redis
- httpd2.2 / python2.6 / mod_wsgi3.2 / mod_python3.3 编译录
- httpd2.4.2安装文档
- 向jre中添加安全证书
- 八(1) 2
- Android 防止多次点击
- 从零开始学习OpenCL开发(十)深入API
- LeetCode学习(5)Shortest Palindrome(最短回文串)
- centos6.9编译安装httpd2.4(2)
- 【算法】【Greedy】Queue Reconstruction by Height
- linux shell 学习
- vim配置C++ IDE(一)
- 从零开始学电脑 1.2
- JDK源码学习之重写hashCode()和equals()方法
- FCM聚类算法(模糊C均值算法)
- IGV、BWA、Samtool的可视化分析过程。
- vim配置C++ IDE(二)