Trying to install apache 2.4
I have been tasked with setting up a RHEL server with apache 2.4. I am new to the RedHat/Linux/unix world so detailed instructions are appreciated. When I do a yum repolist I see repo id rhel-6-server-rpms. When I do a yum list httpd I only see version 2.2.15-xxxx. I did find that the new RedHat collection is supposed to have an Apache version 2.4 but I do not know how to go about acquiring it. I have RHEL 6.5. Thanks in advance.
Responses
Hi Gary, and welcome to the community.
Is there a specific reason that you have been tasked with 2.4 specifically? is it a feature they are after?
The only reason I ask, is (as you have already discovered) that 2.2 is the supported version shipped with RHEL 6.x, and as such is the most straightforward to install.
Installing 2.4 from the software collections repo has some minor support implications (ie. length of support) but it shouldn't impact you too greatly. Specific details can be found here: https://access.redhat.com/support/policy/updates/rhscl/
The process for accessing Software Collections on the site isn't as clear as it could be (and is geared towards Satellite use).
1. Register for software collections to make it available on your account https://access.redhat.com/solutions/472793 (this link specifically https://www.redhat.com/wapps/try/RHSCL)
2. Configure the repository on your server or in your Satellite server (if you are using Satellite)
3. Install Apache 2.4 on the server using yum as your normally would
Do you have a Satellite server configured in your environment?
Hi Gary,
The supported version of apache on RHEL 6.5 is 2.2.x. If you are specifically looking for apache 2.4 you should go for RHEL7 which comes with 2.4.x.
On RHEL6 you can download the 2.4 source and build it yourself but that will not be supported by Red Hat.
-
Swapnil Jain
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
