HowTos/MigrationGuide adding RHEL-7 -> CentOS-7 migration.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

could I get a permission to add to HowTos/MigrationGuide a guide for
conversion of RHEL 7 to CentOS 7? For personal reasons, I had to switch
my machines from RHEL to CentOS, and I think it would be helpful to have
it there. If it is OK to have migration guides for lower versions of
RHEL/CentOS, why not 7?

OK, here we go:

    URLBASE=http://mirror.centos.org/centos/7/os/x86_64/Packages
    mkdir TMP
    cd TMP
    wget $URLBASE/centos-indexhtml-7-9.el7.noarch.rpm \
        $URLBASE/centos-release-7-4.1708.el7.centos.x86_64.rpm \
        $URLBASE/yum-3.4.3-154.el7.centos.noarch.rpm \
        $URLBASE/yum-plugin-fastestmirror-1.1.31-42.el7.noarch.rpm
    subscription-manager remove --all
    yum remove rhnlib abrt-plugin-bugzilla redhat-release-notes\* \
        subscription-manager\*
    rpm -e --nodeps redhat-release-workstation redhat-indexhtml
    for dir in /usr/share/redhat-release\;\* ; do rm -fv $dir ; done
    rmdir /usr/share/redhat-release
    rpm -Uvh *
    yum clean all && rm -rf /var/cache/yum
    yum upgrade
    yum upgrade
    yum distro-sync
    package-cleanup --orphans
    cd .. && rm -rf TMP

I am not sure, what’s the deal with /usr/share/redhat-release\*
files/symlinks, but they stood in a way, so I had to remove them.

Also, the redhat-releae\* package could be -workstation, -server,
-computernode, or -client.

Any comments?

Best,

Matěj
-- 
https://matej.ceplovi.cz/blog/, Jabber: mcepl@xxxxxxxxxx
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8

"Push to test." (click) "Release to detonate..."
 -- from a bugzilla quip list

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS-docs mailing list
CentOS-docs@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos-docs

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Users]     [CentOS Virtualization]     [Linux Media]     [Asterisk]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]     [Project Hail Cloud Computing]

  Powered by Linux