[CentOS] Upgrade from CentOS 6.x to 7

m.roth at 5-cent.us

m.roth at 5-cent.us
Tue Sep 9 17:30:41 UTC 2014


SilverTip257 wrote:
> On Tue, Sep 9, 2014 at 12:39 PM, John R Pierce <pierce at hogranch.com>
> wrote:
>> On 9/9/2014 9:33 AM, Mike Watson wrote:
>>
>>> Can I directly upgrade (update?) from my current 6.5 box to version 7?
>>> Or, must I wipe my drives and install from scratch?
>>
>> I wouldn't.   redhat does have an upgrade script for headless
>> server-only type configurations, but there's just so much room for
'wrong', with
>> newer versions of all the system components like python, apache, libc and
>> other libraries, postgresql database server, etc etc etc.
>>
>> I would save /home, a copy of /etc/passwd,shadow and any other specific
>> configuration files, dump any databases, apache configurations, etc etc,
>> then do a clean install and piece that stuff back together.
>>
> As John says, it's risky.
> And you're going to want backups anyways if things go south.
>
> There is a tool in the works, but last I heard it needs testing.
> http://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool
>
> (I'm a member of the fresh install camp!)

Huh. I thought preupgrade was part of RHEL 7, since it's in fedora 19 (and
pretty much works, most of the time...).

Another idea: back up your o/s: mv /boot/* to /boot/old, stuff off / to
/old, then just install. Easy downgrade path....

        mark




More information about the CentOS mailing list