centos6.5升级httpd

前端之家收集整理的这篇文章主要介绍了centos6.5升级httpd前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
1: rpm -qa httpd* httpd-tools-2.2.15-29.el6.centos.x86_64 httpd-2.2.15-29.el6.centos.x86_64 2:yum -y remove httpd* Removed: httpd.x86_64 0:2.2.15-29.el6.centos httpd-tools.x86_64 0:2.2.15-29.el6.centos Dependency Removed: gnome-user-share.x86_64 0:2.28.2-3.el6 Complete! 3:下载组件包:apr-1.6.2.tar.gz,apr-util-1.6.0.tar.gz,httpd-2.4.27.tar.bz2 本次按照路径都在:/usr/local 下 4:解压安装相应包依赖包 tar xvf httpd-2.4.27.tar.bz2 tar xvf apr-1.6.2.tar.gz tar xvf apr-util-1.6.0.tar.gz mv apr-1.6.2 httpd-2.4.27/srclib/apr mv apr-util-1.6.0 httpd-2.4.27/srclib/apr-util yum install expat-devel 5: 编译安装httpd-2.4.27 ./configure --prefix=/usr/local/httpd24 --enable-so --enable-ssl --enable-cgi --enable-rewrite --with-zlib --with-pcre --with-included-apr --enable-modules=most --enable-mpms-shared=all --with-mpm=prefork 错误 : configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/ 解决方案:yum -y install pcre-devel make && make install 原文链接:https://www.f2er.com/centos/376313.html

猜你在找的CentOS相关文章