Apache 安装
2016-06-20 00:00
387 查看
1.http://labs.mop.com/apache-mirror//httpd/httpd-2.4.2.tar.bz2下载apache
2.tar -jxvf httpd-2.4.2.tar.bz2解压
3../configure –prefix=/usr/local/apache配置apache路径
4.安装一些所需插件
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问题>>>>>>
cd apr-1.4.5
./configure --prefix=/usr/local/apr
make && make install
b:解决APR-util not found问题>>>>
tar -zxf apr-util-1.3.12.tar.gz
cd apr-util-1.3.12
./configure --prefix=/usr/local/apr-util -with- apr=/usr/local/apr/bin/apr-1-config
make && make install
c:解决pcre问题>>>>>>>>>
unzip -o pcre-8.10.zip
cd pcre-8.10
./configure --prefix=/usr/local/pcre
make
--disable-shared --with-pic
make&&make install
d.最后编译Apache时加上:
--with-apr=/usr/test/apr
--with-apr-util=/usr/test/apr-util/
--with-pcre=/usr/test/pcre
5.make&&make install
2.tar -jxvf httpd-2.4.2.tar.bz2解压
3../configure –prefix=/usr/local/apache配置apache路径
4.安装一些所需插件
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问题>>>>>>
cd apr-1.4.5
./configure --prefix=/usr/local/apr
make && make install
b:解决APR-util not found问题>>>>
tar -zxf apr-util-1.3.12.tar.gz
cd apr-util-1.3.12
./configure --prefix=/usr/local/apr-util -with- apr=/usr/local/apr/bin/apr-1-config
make && make install
c:解决pcre问题>>>>>>>>>
unzip -o pcre-8.10.zip
cd pcre-8.10
./configure --prefix=/usr/local/pcre
make
--disable-shared --with-pic
make&&make install
d.最后编译Apache时加上:
--with-apr=/usr/test/apr
--with-apr-util=/usr/test/apr-util/
--with-pcre=/usr/test/pcre
5.make&&make install
相关文章推荐
- Apache 安装
- linux中apache访问控制配置文件。
- Apache Flink fault tolerance源码剖析完结篇
- apache mesos 安装
- Apache服务器配置--Linux
- MAC 系统 PHP配置和Apache配置
- 关于端口号同时被占用的问题
- Mac Os10.11.3 自带Apache的相关命令总结,及遇到的坑
- DbUtil组件
- BeanUtil组件
- windows下安装apache笔记
- Apache Commons工具集简介
- windows下安装apache并配置ssl过程
- Mac OS 原来自带了apache及基本用法总结
- apache-hama
- Apache安装配置解析
- spark worker 启动失败 failed to launch org.apache.spark.deploy.worker.Worker
- apache虚拟主机
- 配置Apache虚拟目录
- apache与access与php错误日志