Centos6.764位 安装apache
2015-12-06 15:33
543 查看
按公司要求apache、mysql、php必须源码安装依赖可以yum安装[root@localhost~]#cd/usr/local/src[root@localhostsrc]#viDownloadlistwgethttp://mirrors.hust.edu.cn/apache/httpd/httpd-2.4.17.tar.bz2 #apache下载地址tarjxvf httpd-2.4.17.tar.bz2 cdhttpd-2.4.17
[root@localhostsrc]#cdhttpd-2.2.16 [root@localhosthttpd-2.2.16]#./configure\ --prefix=/usr/local/apache\ --enable-so\ --enable-deflate=shared\ --enable-expires=shared\ --enable-rewrite=shared\
--with-included-apr\--with-pcre
报错什么依赖包就安装什么。
如果在安装apache的时候入到 error:mod_deflatehasbeenrequestedbutcannotbebuiltduetoprerequisitefailures的错误,那是没有安装zlib包。centos下可以采用yuminstallzlib-devel。
没有什么意外的话就可以make&&makeinstall
相关文章推荐
- 升级Windows10后Apache服务器启动失败的解决方法
- Apache Prefork、Worker和Event三种MPM工作模式分析
- Apache Rewrite 伪静态配置
- apache2的一些设置
- apache设置网页gzip压缩(亲测可用)
- apache error_log日志详解
- Apache Shiro 快速入门教程,shiro 基础教程
- org.apache.hadoop.hbase.ClockOutOfSyncException: org.apache.hadoop.hbase.ClockOutOfSyncException: Se
- guava之只读、函数式编程(过滤 转换 约束)、集合与apacheJAVA134-135
- apache 虚拟主机详解 有图哦
- apache虚拟主机
- LAMP 1.7Apache用户认证
- 报错apachectl restart
- 报错apachectl -t
- ubuntu apache linux
- Eclipse中Maven新建web项目报错Could not calculate build plan:Plugin org.apache.maven.plugins...
- 安装Apache详细步骤 (绿色版Apache的安装)自己安装过程中整理
- Apache服务器配置Php7
- Apache服务器
- 解决apache 443端口被占用