Regarding Upgrade From CentOS .5.5 To CentOS 7

Home » CentOS » Regarding Upgrade From CentOS .5.5 To CentOS 7
CentOS 3 Comments

Hi,

I wanted to upgrade from CentOS 5.5 to CentOS 7 without losing the data.

Is there any upgrade path available?

or what is the proper way to do it without affecting the existing config?

Thnaks for the help

3 thoughts on - Regarding Upgrade From CentOS .5.5 To CentOS 7

  • So much changed from 5 to 7 that a re-install is almost certainly the way to go. How exactly you port your config depends entirely on what programs you are talking about.

    The best idea is to create a virtual machine (or install CentOS 7 on spare hardware), figure out how to configure the applications and the process to restore the data from backups. Once you know what to do (and have documented it), reinstall.

  • Install another hard drive or SSD, partition it / install CentOS 7, telling Anaconda to leave your existing drive alone. Once done, and rebooted, you can mount the old drive and copy what you need over using cp or rsync. Enjoy

  • –kpn7cHS57l23H2gmFLMKBxGq2CXSMlmAb Content-Type: text/plain; charset=windows-1252
    Content-Transfer-Encoding: quoted-printable

    Others have touched on this, but you do need to consider how many versions the programs have jumped from 5.5 to 7.

    Configurations for many things are going to need to be completely redone.

    For example: Apache moves from version 2.2.3 to version 2.4.6 .. so you will need to google and read how to upgrade from apache 22 to apache 2.4

    samba (if you use it) moves from version 3.0.33 to version 4.2.3, major config changes needed.

    mysql from 5.0.77 to mariadb 5.5.44 – data is required to be upgraded and new config.

    Basically, if this is a server, every service you run is going to make major version jumps and most of them will require new configurations. Some of them will require some kind of data conversion and configuuration changes.

    So, this is a complete process and not an upgrade.

    –kpn7cHS57l23H2gmFLMKBxGq2CXSMlmAb