Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a few servers running CentOS 6.2 deploying web applications using Apache/ MySQL/ PHP.

In the past we've just regularly run "yum update" to keep all the software up to date.

As of right now the installed versions are:

  • Apache 2.2.15
  • MySQL 5.1.61
  • PHP 5.3.3

When the latest released versions are:

  • Apache 2.4.1
  • MySQL 5.5.21
  • PHP 5.3.10

We're web developers with a bit of Linux knowledge rather than server administrators so we want to be able keep everything patched to the latest (or near) version without having to go into the depths of compiling software or too much command line jiggery-pokery.

What is the best way for us to easily maintain the latest versions (or at least late as possible versions) on CentOS 6.2?

share|improve this question
If you want the latest versions, don't run CentOS. CentOS is very conservative. Run something like Ubuntu (new release every 6 months). – Gilles Feb 22 '12 at 23:35
Apache Httpd 2.4.1 was released on Monday last or thereabouts. I don't think you need to be in a particular rush to deploy it, since security updates for httpd will be continuing for quite a while. – Ulrich Schwarz Feb 23 '12 at 6:13
up vote 0 down vote accepted

So I'm digging through old questions but hopefully this will still be of some use to you.

So if you want the absolute most up to date releases of those, your best bet is to get them directly from the projects themselves and build from sources.

If you are looking just looking to regularly make sure everything is up to date you might want to set a cron job that runs yum update nightly. The guide that I keep in my bookmarks for when I'm having brain fart moments is this one here. It should help you out in setting that up.

Lastly if you are looking to pull through yum the most recent packages possible, the fasttrack repo from CentOS might be your best bet. Do a ctrl-f fasttrack on this wiki page for the info on it. Although be forewarned I've never used that repo before and can't really say 100% that it's what you will need or that it won't break things.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.