Thanks...that works great....
Arun
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org]On Behalf Of Will McDonald Sent: Thursday, August 03, 2006 3:16 PM To: CentOS mailing list Subject: Re: [CentOS] RHEL4 to CentOS 4
On 03/08/06, tagarsi, arun atagarsi@cgg.com wrote:
Hi , For reasons I will not go in to does anyone know if you can convert a RedHat RHEL4 box to CentOS 4 ? I am hoping this possible with our re installing . If it if what do I need to do to get the system to run yum instead of the RedHat updates.
It should be relatively simple but test on non-critical, non-production systems first, obviously.
The old instructions (we Kickstart CentOS on all new systems now) I have for switching from Whitebox to CentOS, which should be near as damnit what's needed to switch from RHEL too, were as follows...
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4 rpm -Uvh http://www.sunsite.org.uk/sites/msync.centos.org/CentOS/4/os/i386/CentOS/RPM... \ http://www.sunsite.org.uk/sites/msync.centos.org/CentOS/4/os/i386/CentOS/RPM... rpm -Uvh http://www.sunsite.org.uk/sites/msync.centos.org/CentOS/4/os/i386/CentOS/RPM... rpm -e yum rpm -Uvh http://www.sunsite.org.uk/sites/msync.centos.org/CentOS/4/os/i386/CentOS/RPM... rpm -Uvh http://www.sunsite.org.uk/sites/msync.centos.org/CentOS/4/os/i386/CentOS/RPM... \ http://www.sunsite.org.uk/sites/msync.centos.org/CentOS/4/os/i386/CentOS/RPM... \ http://www.sunsite.org.uk/sites/msync.centos.org/CentOS/4/os/i386/CentOS/RPM... \ http://www.sunsite.org.uk/sites/msync.centos.org/CentOS/4/os/i386/CentOS/RPM... \ http://www.sunsite.org.uk/sites/msync.centos.org/CentOS/4/os/i386/CentOS/RPM...
Add this to /etc/yum.repos.d/CentOS-Base.repo
[base] name=CentOS-$releasever - Base baseurl=ftp://archive/centos/$releasever/os/$basearch gpgcheck=1
[update] name=CentOS-$releasever - Updates baseurl=ftp://archive/centos/$releasever/updates/$basearch/ gpgcheck=1
[extras] name=CentOS-$releasever - Extras baseurl=http://archive/centos/$releasever/extras/$basearch/ gpgcheck=1 enabled=0
Add this to /etc/yum.repos.d/Dag.repo
[archive-rhel4-dag] name=RHEL4 Linux $releasever - $basearch - DAG baseurl=ftp://archive/dag/el4/
Quick Yum update...
yum -y update
Where we have "archive" you'd need to replace that with the path to a local mirror. And obviously the URLs for the RPM commands could be changed to somewhere closer with more recent RPMs. But that's an outline of what you'd need.
There are additional artwork RPMs etc. if you're bothered about boot time splash screens and the like.
Will. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi, For some reason I'm really confused over 64bit RedHat vs Centos. On RedHat install of 64bit I have a /lib64 and /usr/lib64 along with the /lib and /usr/lib but when I did a full install of Centos 64bit I only wound up with /lib and /usr/lib. Did I miss something or what? Will both 32bit and 64bit software work? Thanks, Don
On 8/3/06, Don Hudson donh1964@usnetworx.net wrote:
Hi, For some reason I'm really confused over 64bit RedHat vs Centos. On RedHat install of 64bit I have a /lib64 and /usr/lib64 along with the /lib and /usr/lib but when I did a full install of Centos 64bit I only wound up with /lib and /usr/lib. Did I miss something or what? Will both 32bit and 64bit software work?
I don't think you installed what you think you installed.
For example, the ImageMagick-6.0.7.1-14.c4.x86_64.rpm contains files for /usr/lib64 as shown below:
rpm -qpl ImageMagick-6.0.7.1-14.c4.x86_64.rpm /usr/lib64/ImageMagick-6.0.7 /usr/lib64/ImageMagick-6.0.7/config /usr/lib64/ImageMagick-6.0.7/config/coder.mgk /usr/lib64/ImageMagick-6.0.7/config/colors.mgk /usr/lib64/ImageMagick-6.0.7/config/configure.mgk /usr/lib64/ImageMagick-6.0.7/config/delegates.mgk /usr/lib64/ImageMagick-6.0.7/config/english.mgk /usr/lib64/ImageMagick-6.0.7/config/locale.mgk /usr/lib64/ImageMagick-6.0.7/config/log.mgk ....
You may want to double check some things on your end...