Skip to content

Instantly share code, notes, and snippets.

@aledbf
Created July 12, 2014 22:26
Show Gist options
  • Save aledbf/df4bf8e266bd00d8e37f to your computer and use it in GitHub Desktop.
Save aledbf/df4bf8e266bd00d8e37f to your computer and use it in GitHub Desktop.
Upgrade CentOS 6.5 to 7
rpm --import ftp://ftp.inf.utfsm.cl/pub/Linux/CentOS/7/os/x86_64/RPM-GPG-KEY-CentOS-7
yum install -y python-simplejson m2crypto mod_wsgi openscap wget
wget http://dev.centos.org/centos/6/upg/x86_64/Packages/preupgrade-assistant-1.0.2-33.el6.x86_64.rpm
wget http://dev.centos.org/centos/6/upg/x86_64/Packages/preupgrade-assistant-contents-0.5.13-1.el6.noarch.rpm
wget http://dev.centos.org/centos/6/upg/x86_64/Packages/preupgrade-assistant-ui-1.0.2-33.el6.x86_64.rpm
wget http://dev.centos.org/centos/6/upg/x86_64/Packages/python-rhsm-1.9.7-1.el6.x86_64.rpm
wget http://dev.centos.org/centos/6/upg/x86_64/Packages/redhat-upgrade-tool-0.7.22-1.el6.noarch.rpm
rpm -Uvh --force --nodeps *.rpm
redhat-upgrade-tool-cli --network 7.0 --instrepo ftp://ftp.inf.utfsm.cl/pub/Linux/CentOS/7/os/x86_64/ --debuglog=/tmp/upgrade.log --force
@linuxman1
Copy link

This is old, the commands will not work, and this upgrade process was discontinued by Centos team.

@ptrj
Copy link

ptrj commented Aug 28, 2018

And is any other supported proccess to upgrade cOS6 to cOS7 ? thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment