linux Apache安装
来源:互联网 发布:网络机柜安装图 编辑:程序博客网 时间:2024/06/16 16:36
在安装Apache的httpd的时候经常会遇到:
configure: error: APR not found . Please read the documentation.
configure: error: APR-util not found . Please read the documentation.
configure: error: pcre-config for libpcre not found. PCRE is required and available
网上也有文章指导如何下载后安装这些依赖的文件,本文
将这些依赖的文件都打包在http://download.csdn.net/detail/kkdelta/4424852.
将下面所有文件都放在 /root/wkr目录
apr-1.4.6.tar.gz
apr-util-1.4.1.tar.gz
httpd-2.4.2.tar.gz
pcre-8.30.zip
1,安装APR:
tar -zxvf apr-1.4.6.tar.gz
cd apr-1.4.6
./configure
make
make install
2,安装APR-UTIL
#tar -zxvf apr-util-1.4.1.tar.gz
#cd apr-util-1.4.1
#./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
#make
#make install
3安装pcre
#unzip -o pcre-8.30.zip
#cd pcre-8.30
#./configure --prefix=/usr/local/pcre
#make
#make install
4安装Apache
tar -xzvf httpd-2.4.2.tar.gz
cd httpd-2.4.2
./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
5启动Apache
cd /usr/local/apache/bin
./apachectl start
如果需要新版本:
http://httpd.apache.org/download.cgi
http://apr.apache.org/download.cgi
http://sourceforge.net/projects/pcre/
configure: error: APR not found . Please read the documentation.
configure: error: APR-util not found . Please read the documentation.
configure: error: pcre-config for libpcre not found. PCRE is required and available
网上也有文章指导如何下载后安装这些依赖的文件,本文
将这些依赖的文件都打包在http://download.csdn.net/detail/kkdelta/4424852.
将下面所有文件都放在 /root/wkr目录
apr-1.4.6.tar.gz
apr-util-1.4.1.tar.gz
httpd-2.4.2.tar.gz
pcre-8.30.zip
1,安装APR:
tar -zxvf apr-1.4.6.tar.gz
cd apr-1.4.6
./configure
make
make install
2,安装APR-UTIL
#tar -zxvf apr-util-1.4.1.tar.gz
#cd apr-util-1.4.1
#./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
#make
#make install
3安装pcre
#unzip -o pcre-8.30.zip
#cd pcre-8.30
#./configure --prefix=/usr/local/pcre
#make
#make install
4安装Apache
tar -xzvf httpd-2.4.2.tar.gz
cd httpd-2.4.2
./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
5启动Apache
cd /usr/local/apache/bin
./apachectl start
如果需要新版本:
http://httpd.apache.org/download.cgi
http://apr.apache.org/download.cgi
http://sourceforge.net/projects/pcre/
- linux下安装apache
- linux Apache 安装笔记
- apache安装linux下
- Linux下安装Apache
- Linux 安装apache
- linux apache 全面安装
- Linux下安装apache
- Apache 安装手册(Linux)
- linux下安装apache
- Linux 安装 apache
- Linux 安装 apache mod_jk
- linux Apache安装
- Linux下安装apache
- linux 安装apache
- linux Apache安装
- linux Apache安装
- apache linux上安装
- Linux下安装apache
- Firefox 自动化插件开发系列(获取窗口句柄)
- windows下使用makefile
- 不安装oracle客户端连接oracle数据库
- How do I pause my game?
- activeMq 的应用1
- linux Apache安装
- 三维GIS开发二
- addView android
- 您应该知道的UNIX工具系列之3:lsof
- 就业感言:从培训完成到就业的一些小小的感想和经验
- casperjs小结
- windows phone 数据传递
- 制作Linux映像和Kernel的启动
- WCF基础2