Apache2.2

Building Apache 2.2 for Centos 4.x

[WWW] http://www.jasonlitka.com/2006/11/24/upgrading-apache-httpd-rhel4-centos4/

Still working on my instructions.

yum install wget emacs diffutils bzip2 python gcc cpp gcc-c++ make autoconf libtool doxygen pkgconfig rpm-build xmlto zlib-devel libselinux-devel openssl-devel distcache-devel e2fsprogs-devel openldap-devel db4-devel expat-devel postgresql-devel sqlite-devel

yum remove httpd httpd-suexec httpd-manual apr-util apr

Switch to a non root user and download apr, apr-util, pcre, and httpd (see also [WWW] Setting up a user build environment)

wget ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/apr-1.2.7-11.src.rpm
wget ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/apr-util-1.2.7-6.src.rpm 
wget ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/pcre-6.6-1.1.src.rpm 
wget ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/httpd-2.2.3-6.el5.src.rpm
rpmbuild --rebuild pcre-6.6-1.1.src.rpm
rpmbuild --rebuild apr-1.2.7-11.src.rpm
rpmbuild --rebuild apr-util-1.2.7-6.src.rpm
rpmbuild --rebuild httpd-2.2.3-6.el5.src.rpm

last edited 2007-03-28 06:05:09 by MichaelBest