CentOS Upgrade Info

Home » CentOS » CentOS Upgrade Info
CentOS 7 Comments

 Hello, I wan to know the details steps about how to do OS upgrade?
Say for an example currently i am using CentOS 6.2 and plan to upgrade that to 7. Please detail me the steps.

Thanks, Jegadeesh

7 thoughts on - CentOS Upgrade Info

  • Jegadeesh Kumar
    writes:

    I suggest you begin by reading the release notes for CentOS 7, which are at http://wiki.CentOS.org/Manuals/ReleaseNotes/CentOS7 — here is an excerpt:

    For the first time, there is a supported upgrade path from CentOS-6 to
    CentOS-7. This path is only supported from the latest version of
    CentOS-6 (being 6.6 at the time of writing) to the latest version of
    CentOS-7. For more information on the upgrade procedure please take a
    look at this page. The tools needed for this functionality are still
    being tested and will be released at a later time. If you can help
    with the testing, please see this CentOS-Devel mailing list thread and
    this wiki entry.

    So, upgrade to 6.6 first, and then use the upgrade procedure from Red Hat, if you’re willing to help with testing.

    Or install 7 from scratch, of course.

  • how to upgrade CentOS 6.6 from 6.2 Thanks, Jegadeesh

    Jegadeesh Kumar
    writes:

    I suggest you begin by reading the release notes for CentOS 7, which are at http://wiki.CentOS.org/Manuals/ReleaseNotes/CentOS7 — here is an excerpt:

      For the first time, there is a supported upgrade path from CentOS-6 to
      CentOS-7. This path is only supported from the latest version of
      CentOS-6 (being 6.6 at the time of writing) to the latest version of
      CentOS-7. For more information on the upgrade procedure please take a
      look at this page. The tools needed for this functionality are still
      being tested and will be released at a later time. If you can help
      with the testing, please see this CentOS-Devel mailing list thread and
      this wiki entry.

    So, upgrade to 6.6 first, and then use the upgrade procedure from Red Hat, if you’re willing to help with testing.

    Or install 7 from scratch, of course.

  • Jegadeesh Kumar
    writes:

    I apologize if I’m doing you a disservice, but the fact that you’re asking this makes me think you’re not familiar with CentOS (or perhaps even Linux generally). Upgrading packages is fairly basic system functionality. You may want to spend some time reading documentation before you do anything else.

    A good deal of information is accessible on a CentOS system itself using the “man” and “info” commands. Additional documentation is available at http://wiki.CentOS.org/Documentation

    The answer to your specific question is found in the manual page for yum (“man yum” at a command line prompt), but yum can do a lot of things. Probably what you want is:

    # yum upgrade

    But depending on your needs and the packages installed on your machine, you may need a different yum command.

  • I am working on linux environment. we have CentOS servers which is running on CentOS 6.2. So far i didn’t work on upgrade OS to higher version. That’s why i asked this question.

    I know yum upgade will update the packages that installed on the server. Any way let me try um upgrade and update you.

  • Every time this comes up, I try to explain how CentOS numbering works and how CentOS works in general.

    In CentOS, there is CentOS-5, CentOS-6 and CentOS-7. The minor versions, or point releases as we call them, like 5.11, 6.6, 7.0.1406
    … are all just “POINT IN TIME” releases of the major CentOS branch you are on.

    These “POINT IN TIME” releases are NOT designed to be consumed out of band. In reality, being on CentOS-6.2 when CentOS-6.3 is available means you are missing security updates as 6.3 is just 6.2 and all current updates.

    If you have any CentOS-6.x release installed and if you run a “yum update” without changing anything then you will get the latest update set for CentOS-6 .. which is currently 6.6 plus updates. That is the only version of CentOS-6 that is in any way tested and it is the only version that might be somewhat secure. Any other CentOS-6 version is missing security updates.

    It is just like Windows 7 and Service Packs. If you have Windows 7, you SHOULD have the latest Service Pack installed. If you don’t that is an unsupported option and you have security issues. You can have Windows
    7, Windows 8 or Windows 10 and be secure, but you must be running the latest service packs on each of those to be secure. If you are running Windows 7 without any service packs, that is a very bad thing.

    Same for CentOS .. you can be running 5, 6, or 7 .. but you need to be running the latest snapshot in that tree to have all the security updates .. and unless you (or your provider) are trying really hard, running any updates set will take you to the latest version in your branch.