apache的安装过程
来源:互联网 发布:优先次序矩阵 编辑:程序博客网 时间:2024/06/08 19:43
下载地址:http://archive.apache.org/dist/apr/
#wget http://archive.apache.org/dist/apr/apr-1.4.8.tar.gz (就可以下载到apr的tar包, -O 目录,可以下载到相应的目录)
# tar -zxvf apr-1.4.8.tar.gz
# ./configure --prefix=/usr/local/apr
# make
# make install
2,安装 apr-util
下载地址:http://archive.apache.org/dist/apr/
#wget http://archive.apache.org/dist/apr/apr-util-1.4.1.tar.gz (就可以下载到apr的tar包, -O 目录,可以下载到相应的目录)
# tar -zxvf apr-util-1.4.1.tar.gz
# ./configure --prefix=/usr/local/apr-util
# make
# make install
3,安装 pcre下载地址:http://pcre.org/
# tar -zxvf pcre-8.35.tar.gz
# ./configure --prefix=/usr/local/pcre
# make
# make install
(如果在编译的时候出现的话,也可以通过yum install pcre-devel 安装后在编译)注意:如果在安装 pcre 时,遇到问题:configure: error: You need a C++ compiler for C++ support.
解决方法:sudo apt-get install build-essential(ubuntu系统)
yum groupinstall Development Tools (可以通过yum grouplist 查看)
yum groupinstall Development Library
二,安装apache
下载地址:http://httpd.apache.org/
# tar -zxvf httpd-2.4.9.tar.gz
# ./configure --prefix=/usr/local/apache --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-pcre=/usrl/local/pcre
#make
#make install
用sudo fuser -n tcp 80 -k 这句话是解决80端口被占用的!
- apache的安装过程
- linux安装apache的纠结过程
- Apache Thrift安装过程出现的问题
- Apache安装过程遇到的问题
- apache的源码安装详细过程全纪录
- apache、mysql安装过程遇到的问题
- linux下 apache的安装过程
- php和apache安装memcache的过程
- apache的源码安装详细过程全纪录
- Apache 的安装及Apache与php整合过程详解
- apache tomcat安装过程
- Linux 下 安装 Apache 的详细过程以及安装步骤
- linux下apache 的安装,php安装过程
- 安装Apache详细步骤 (绿色版Apache的安装)自己安装过程中整理
- 安装Apache的过程中所出现的一些错误
- 记CentOs6.0下的一次安装Apache的过程
- Linux下Mysql+Apache+PHP的安装过程
- ubuntu下apache的编译安装过程笔记
- 黑马程序员_javaAPI中String类相关概述
- hihocoder Lucky Substrings
- poj 3974
- [华为机试练习题]60.水仙花数
- 高并发服务器处理
- apache的安装过程
- 关于Java中输入和输出最基础的东东
- [leetcode]longest consecutive sequence(java)
- yii框架学习——1. 安装
- 黑马程序员——01_比较器中比较结果顺序快速颠倒
- 初出茅庐
- Android学习 22->菜单menu
- python 返回‘tatktssat’字符串中‘t’所有的位置
- 简单注册机制作