Try this Methods
But I would prefer building an RPM from the tarball.
root@localhost# yum update
root@localhost# yum groupinstall "Development Tools"
root@localhost# yum install rpmdevtools rpm-build redhat-rpm-config openssl-devel apr-devel apr-util-devel openldap-devel db4-devel expat-devel pcre-devel distcache distcache-devel
Installing those packages mentioned in yum install are not mandatory as long as they already exist in the system.
Create a user to run the rpmbuild.
root@localhost# /usr/sbin/useradd rpmbuilder
root@localhost# su - rpmbuilder
$ wget http:
$ chmod 755 RPM-build-tree.txt
$ rpmbuild -tb httpd-2.2.17.tar.gz
This should build the RPM from the tar ball. Try using this file to install httpd on your machine.