ubutun apache源码完整安装过程
来源:互联网 发布:淘宝网优依裤 编辑:程序博客网 时间:2024/06/06 19:16
1.到这里下载apache的最新版2.4.3 http://httpd.apache.org/download.cgi#apache24
2.先安装apache需要的几个模块
- 下载所需软件包:
- wget http://archive.apache.org/dist/apr/apr-1.4.5.tar.gz
- wget http://archive.apache.org/dist/apr/apr-util-1.3.12.tar.gz
- wget http://jaist.dl.sourceforge.net/project/pcre/pcre/8.10/pcre-8.10.zip
- 具体步骤如下:
- a:解决apr not found问题>>>>>>
- [root@xt test]# tar -zxf apr-1.4.5.tar.gz
- [root@xt test]# mkdir /usr/local/apr
- [root@xt test]# cd apr-1.4.5
- [root@xt apr-1.4.5]# ./configure --prefix=/usr/local/apr
- [root@xt apr-1.4.5]# make && make install
- b:解决APR-util not found问题>>>>
- [root@xt test]# tar -zxf apr-util-1.3.12.tar.gz
- [root@xt test]# mkdir /usr/local/apr-util
- [root@xt test]# cd apr-util-1.3.12
- [root@xt apr-util-1.3.12]# ./configure --prefix=/usr/local/apr-util -with- apr=/usr/local/apr/bin/apr-1-config
- [root@xt apr-util-1.3.12]# make && make install
- c:解决pcre问题>>>>>>>>>
- [root@xt test]#unzip -o pcre-8.10.zip
- [root@xt test]# mkdir /usr/local/pcre
- [root@xt test]#cd pcre-8.10
- [root@xt pcre-8.10]#./configure --prefix=/usr/local/pcre --disable-shared --with-pic
- [root@xt pcre-8.10]#make && make install
如果还出现libtool: link: Fatal configurationerror. make[1]: *** [libpcrecpp.la] 错误 1 则加上参数--diable-shared
3.接下来就是安装apache了
tar zxvf httpd-2.4.3.tar.gz
- ./configure --prefix=/usr/local/apache --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util/ --with-pcre=/usr/local/pcre
- make;make install
转自:http://blog.csdn.net/zhongweijian/article/details/8168181
http://xtony.blog.51cto.com/3964396/836508
http://blog.csdn.net/zqtsx/article/details/9365601
0 0
- ubutun apache源码完整安装过程
- ubutun apache源码完整安装过程
- apache的源码安装详细过程全纪录
- apache的源码安装详细过程全纪录
- virtual Box 安装 ubutun Qt4.8.5 过程整理
- 安装Redis完整过程
- DB2 完整安装过程
- 安装Redis完整过程
- redis完整安装过程
- 安装Redis完整过程
- 安装Redis完整过程
- 安装Redis完整过程
- ubutun安装repo
- ubutun 安装eclipse
- ubutun下安装mysql
- ubutun的软件安装
- ubutun安装程序出错
- linux下apache+svn+viewvc 源码安装过程
- Linux 下查看.so动态链接库 常用命令
- ASP.NET页面打印技术的总结
- UIView-tag
- mysql配置文件my.cnf详解说明
- image使用之后如何释放内存
- ubutun apache源码完整安装过程
- 黑马程序员---------------------编写程序计算12+22+32+....+1002的和(后面的2是平方).
- Compare It! 4.1b特色的文件直观比较、修改、合并工具┊汉化绿色特别版
- [转] GCC 中的编译器堆栈保护技术
- 用Hibernate实现领域对象的自定义字段
- 黑马程序员_HTML
- 在Eclipse中配置动态加载Class的JVM插件--JavaRebel
- 笨方法实现字符串中字符频度的统计
- oc学习之旅:内存管理2修改数组为非ARC版本