I have a RHEL system and I'm thinking of changing to CentOW. How can this be done most easily. It is important that the e-mail setup not be disturbed, since it was crafted to work with an IP that requires authentication. Thanks, -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities
On Tue, Jun 7, 2011 at 6:55 AM, John J. Boyer <john.boyer at abilitiessoft.com> wrote:> I have a RHEL system and I'm thinking of changing to CentOW. How can > this be done most easily. It is important that the e-mail setup not be > disturbed, since it was crafted to work with an ?IP that requires > authentication. >Not sure if this will help, but I went the other way from CentOS to RedHat by grabbing a list of packages with "rpm -qa", cleaning up the package names a bit, installing a base RedHat based on the same update level, then "yum update" or "yum install"ing from the list of packages. Next I diffed the configuration directories and manually moved the changed files. Finally just backed up/restored the database and application LVMs (dd/gzip the entire partition).
On Tuesday, June 07, 2011 07:40:26 AM Kwan Lowe wrote:> Not sure if this will help, but I went the other way from CentOS to > RedHat by grabbing a list of packages with "rpm -qa", cleaning up the > package names a bit, installing a base RedHat based on the same update > level, then "yum update" or "yum install"ing from the list of > packages. Next I diffed the configuration directories and manually > moved the changed files. Finally just backed up/restored the database > and application LVMs (dd/gzip the entire partition).Whee, that's a lot of work. With EL6 you have 'yum distro-sync' at your beckon call; a patch to add a 'distro-sync full' exists that goes as far as checking checksums, which probably has a greater chance of working correctly. On an EL6 it should be as simple as changing the repositories and issuing yum distro-sync (with some rhn-specific steps depending on the direction of the cross-grade, though). But I say 'should' for a reason, as I've not tried. Yet. I likely will try this once C6 is out, since I have a 32-bit system to cross-grade (want to use the subscription entitlement on a different machine).
>I have a RHEL system and I'm thinking of changing to CentOW. How can > this be done most easily. It is important that the e-mail setup not be > disturbed, since it was crafted to work with an IP that requires > authentication.I switch a RHEL machine in EL6 to scientific linux a while ago, and I suppose it's the exact same thing for Centos. Note this applies to my x64 machine, if you're in i686, you'll just have to change the distrio/package name. Here's what I did : 1. Harvest the sl-release-6.0-6.0.1.x86_64.rpm and redhat-logos-60.0.14-1.sl6.1.noarch.rpm from the repository. 2. Remove unneeded packages : rpm -e rhnlib rhn-client-tools rhn-setup yum-rhn-plugin rhn-check rhnsd redhat-indexhtml redhat-lsb Remove old packages and replice it with the one you downloaded : rpm -e --nodeps redhat-release-server-6Server rpm -hiv sl-release-6.0-6.0.1.x86_64.rpm rpm -e --nodeps redhat-logos rpm -hiv redhat-logos-60.0.14-1.sl6.1.noarch.rpm
On Tuesday, June 07, 2011 09:43:24 AM Nicolas Ross wrote:> I switch a RHEL machine in EL6 to scientific linux a while ago, and I > suppose it's the exact same thing for Centos.[snip process] You do realize that you didn't replace the RHEL binaries, right? To completely switch you need to replace all the binaries with the equivalent ones from either SL6 or C6 (when it's released). Not just the logos; there are other changes (kernel signing, for instance). That's what 'yum distro-sync full' would do (once you've patched it in).