Installing Apache 2.4.27

Latest response

I've been tasked with building a server for a client. I have RH 7.5 loaded and updated. I recently was running apache 2.4.33 & PHP 7.2.30. I recently requested help, but was told that the versions I am running are not currently support. I understand this.

Today- I removed my previously installed packages and am simply trying to install Apache 2.4.33 via RPMs. I've followed the instructions on installing these packages but after that- I'm at a loss. I don't usually install with RPMs. To be honest- I spend most of my time in Ubuntu. So- Red Hat is this 'whole new world.'

If there's documentation or anything out there - or if you have questions for me - or if you know I'm screwing it up just by reading this- please let me know.

thank you

Responses

Your query is not clear, you said " I've followed the instructions on installing these packages but after that- I'm at a loss".. what steps did you follow? Did you use "rpm" command to install apache package?

To install a package, "rpm" is the front line command, however, it would do a dependency search of all those required packages which needs to be installed, this would be tiresome and mess, hence, there is "yum" command which would use 'rpm' command in the back-end and build dependencies and install all of them required in one go. So, it is advised to use 'yum' command instead of 'rpm' if you are new to installing packages and stuff.

Check out this Red Hat KB for more info https://access.redhat.com/solutions/9934

Hi Michael,

Generally it is not much different compared to Debian or Ubuntu ... instead of apt you use yum for software management tasks.
One of the (among other) advantages is that you can install packages with yum manually, there is nothing like dpkg -i needed. You can download the wanted apache package versions by using the Red Hat Package Browser - change to the folder where the packages reside and install them with sudo yum install *.rpm, of course the required dependencies have to match. Another possibility would be to use Red Hat Software Collections. Find "nearly every" information in the comprehensive Knowledgebase. :)

Regards,
Christian

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.