HOW TO INSTALL APACHE 2.4 on Red Hat 6

1.- We will need to enable the following Repository rhel-server-rhscl-6-rpms
 
server1# subscription-manager repos --enable rhel-server-rhscl-6-rpms

 
 
If you do not have internet Access and you are using a proxy you will need to  set the proxy,before activate the repository.
 
 
 
server1# subscription-manager repos --enable=rhel-server-rhscl-6-rpms --proxy=192.1.1.3 --proxyuser=user1 --proxypass=password365
 
2.-Proceed to install the package
 
server1# yum install httpd24-httpd
 
 
 
 
 
After finishing we have installed Apache 2.4 with all the dependencies.
 
3.- Finally you can install the other packages  that you need separately as :
 
httpd24-mod-auth
httpd24-mod-ldap
httpd24-mod-sesiĆ³n
httpd24-mod-ssl
 
Depending of the application you will need to install openssl (n order to have security socket layer)
 
4.- Now you can start the apache 2.4
 
# service httpd24-httpd start
 
 
Validate errors in the log file /var/log/httpd24/error_log
 
 
Regards
Roger
 
 
 
 


 

Comments

Anonymous said…
Great post