CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 6 - Software Support
  How to yum install Apache HTTP Server (httpd) 2.4?

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  Zane
      Zane
How to yum install Apache HTTP Server (httpd) 2.4?
#1
Peeking in the Member Window
Joined: 2009/9/14
From Ferrara, Italy
Posts: 25
Hi all,
currently, my server is using the "standard" httpd 2.2.15 provided by the official repo.

Since Apache HTTP Server (httpd) 2.4 is out, is there a way to upgrade to it using yum?

Thanks!
_________________
Gianluigi "Zane" Zanettini - zane.it
Posted on: 2012/2/23 16:32
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: How to yum install Apache HTTP Server (httpd) 2.4?
#2
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6334
No.

Such is the nature of an Enterprise distribution, the idea is that you get thoroughly tested packages and not the bleeding edge. If you want bleeding edge packages then CentOS is not the right distribution for you and Fedora is --> over there!

Redhat backport security fixes and selected enhancements from the mainline of each package to their own version but the version of all packages stays (mostly) fixed for the 10 year lifetime of the CentOS version you are running.
_________________
Linux/VoIP Systems Administrator
Posted on: 2012/2/23 16:52
Create PDF from Post Print
Top
  •  minfrin
      minfrin
Re: How to yum install Apache HTTP Server (httpd) 2.4?
#3
Newbie
Joined: 2012/2/24
From
Posts: 1
I did some work getting apr v1.4.x, apr-util v1.4.x and httpd v2.4.x to work out the box on Redhat/CentOS/Fedora, in an effort to ensure httpd v2.4 was as easy to deploy as possible.

The catch is you have to build the RPMs yourself, however this involves "yum install"-ing some dependencies, and then running rpmbuild as described here, so it's not too complex:

http://httpd.apache.org/docs/2.4/platform/rpm.html

Make sure you follow these instructions for apr and apr-util as well, so that at least v1.4 is available of both.
Posted on: 2012/2/24 11:46
Create PDF from Post Print
Top
  •  adam704a
      adam704a
Re: How to yum install Apache HTTP Server (httpd) 2.4?
#4
Newbie
Joined: 2012/5/12
From
Posts: 2
Hello,

"The catch is you have to build the RPMs yourself, however this involves "yum install"-ing some dependencies, and then running rpmbuild"


After going down this path myself, I am left with the following unresolved dependencies.

rpmbuild -tb httpd-2.4.2.tar.bz2
error: Failed build dependencies:
apr-devel >= 1.4.0 is needed by httpd-204002001:2.4.2-1.x86_64
apr-util-devel >= 1.4.0 is needed by httpd-204002001:2.4.2-1.x86_64
distcache-devel is needed by httpd-204002001:2.4.2-1.x86_64

I can't find these anywhere for CentOS.

Any ideas?
Posted on: 2012/5/12 14:33
Create PDF from Post Print
Top
  •  adam704a
      adam704a
Re: How to yum install Apache HTTP Server (httpd) 2.4?
#5
Newbie
Joined: 2012/5/12
From
Posts: 2
Update: I managed to get all of these dependencies resolved. Now I am left with an RPM Build error:

RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/share/man/man8/fcgistarter.8.gz


Any thoughts?

(I am running this on CentOS 6.2)
Posted on: 2012/5/12 16:16
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: How to yum install Apache HTTP Server (httpd) 2.4?
#6
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

After reading those links you should realize why you should not hijack threads as you have done.

Please read FAQ#20. Where can I get the latest version of XyZ.rpm for CentOS? I cannot find it anywhere.

You have apparently already replaced some core packages with updated versions. If still determined to proceed then start a new Topic for your issue to get the attention you need, providing a link to this one if required for context. This thread is now locked.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/5/12 17:56
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You cannot view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com