linux Apache安装遇到解决问题
2013-11-19 16:32
501 查看
在安装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环境及遇到的问题解决
- windows及linux下安装django simple captcha 遇到的各种问题及解决办法
- Deepin Linux安装ssh,遇到Package has no installation candidate问题解决方法
- Linux安装MySQL5.5版本+源码安装遇到的问题及解决方法
- linux下安装Subversion遇到关于BerkeleyDB问题及解决方法
- LAMP在Linux系统下的安装中遇到的问题与解决方法
- Linux下安装mysql遇到的一些问题及解决办法
- Linux 服务器下 tomcat9的安装部署(SSL证书部署)以及遇到的问题解决
- 【linux】ubuntu下安装gae遇到的两个问题及解决办法
- linux下mysql的卸载、安装全过程及遇到"MySQL提示:The server quit without updating PID file问题的解决办法"
- 在windows下安装apache+mysql+php时遇到的问题与解决方法
- VM 安装Linux虚拟服务器:环境搭建遇到:《Linux “ifconfig”看不到inet address》问题--解决土方法
- linux下apache安装后403问题的解决办法
- Linux挂载优盘 Linux中安装jdk,eclipse,tomcat以及遇到的问题和解决办法
- linux下的安装mysql与遇到一些常见问题的解决方法
- 虚拟机上Linux系统安装VMware tools 时遇到的问题解决办法(VM10,CentOS6.5)
- 安装domino9_linux64的语言包遇到的问题及解决办法
- linux 下安装android遇到的问题及解决
- SVN在linux下安装时遇到的问题和解决方法
- Nginx在Linux下的安装与配置,以及遇到问题的解决整理