Venkateswara Rao Dokku
2016-May-05 05:13 UTC
[CentOS] Regarding upgrade from CentOS .5.5 to CentOS 7
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 -- Thanks & Regards, Venkateswara Rao Dokku.
On 05/05/16 01:13 AM, Venkateswara Rao Dokku wrote:> 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 helpSo 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. -- Digimer Papers and Projects: https://alteeve.ca/w/ What if the cure for cancer is trapped in the mind of a person without access to education?
On 05/05/16 17:13, Venkateswara Rao Dokku wrote:> 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 helpInstall 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
Johnny Hughes
2016-May-05 11:11 UTC
[CentOS] Regarding upgrade from CentOS .5.5 to CentOS 7
On 05/05/2016 12:13 AM, Venkateswara Rao Dokku wrote:> 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 >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. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20160505/0d8af3a3/attachment-0001.sig>