www.centos.org Forum Index CentOS 4 - General Support Migrating RHEL 4 to CentOS
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread | Rated: 14 Votes |
|---|
|
Migrating RHEL 4 to CentOS | #1 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2006/3/11
From
Posts: 2
|
Hello, I've got some RHEL 4 systems I'd like to migrate to CentOS 4 but am not quite sure what all I need to do to make it successful. What I've done so far on my test system is:
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4 up2date --configure Change noSSLServerURL to http://www.centos.org/XMLRPC Change serverURL to https://www.centos.org/XMLRPC Got rid of /etc/sysconfig/rhn/systemid Successfully ran: up2date centos-release yum centos-yumconf Which caused it to load those as well as: python-elementtree python-sqlite python-urlgrabber sqlite Finally, ran up2date -u and it installed: comps indexhtml initscripts redhat-logos But I'm pretty sure I'm not completely done, for example, I still have up2date-4.4.67-4 instead of up2date-4.4.50-4.centos4, and I still have rpmdb-redhat-4-0.20060303 instead of rpmdb-CentOS-4.2-0.20051011 The production machines I want to migrate are running apache and Plesk so I'm a little nervous about doing this until I am 100% sure what all needs to change. We've been installing fresh servers using CentOS no problem, so it's just these old boxes I want to move that worry me. Thanks, PD |
||
Posted on: 2006/3/11 21:36
|
|||
|
Re: Migrating RHEL 4 to CentOS | #2 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2006/3/11
From
Posts: 2
|
Forgot to mention one other change I made up front. Edit /etc/sysconfig/rhn/sources
and comment out "up2date default" and add the following at the bottom: yum centos4-Base http://mirror.centos.org/centos/4/os/$ARCH/ yum centos4-Updates http://mirror.centos.org/centos/4/updates/$ARCH/ yum centos4-extras http://mirror.centos.org/centos/4/extras/$ARCH/ #yum centos4-contrib http://mirror.centos.org/centos/4/contrib/$ARCH/ yum centos4-addons http://mirror.centos.org/centos/4/addons/$ARCH/ #yum centos4-centosplus http://mirror.centos.org/centos/4/centosplus/$ARCH/ |
||
Posted on: 2006/3/12 15:35
|
|||
|
Re: Migrating RHEL 4 to CentOS | #4 |
|
|---|---|---|---|
|
Peeking in the Member Window
![]()
Joined: 2006/4/6
From
Posts: 15
|
Phil,
I'm moving from RHEL 3 (ES) to CentOS 4.3. I was going to use the CD's and choose the 'Upgrade' option but I'm worried how it'll turn out. Its on a mission-critical web server. Will your yum method above work for me?! What about using the CDs? Any good? Thanks for any help you can give me, I've got to make the decision between RHEL or CentOS by tomorrow night when we install ;) Devin |
||
Posted on: 2006/4/6 0:42
|
|||
|
Re: Migrating RHEL 4 to CentOS | #5 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2006/4/19
From
Posts: 1
|
I would also be curious about moving from rhel3 to cent4.3.
-scoon |
||
Posted on: 2006/4/19 20:45
|
|||
|
Re: Migrating RHEL 4 to CentOS | #6 |
|
|---|---|---|---|
|
Peeking in the Member Window
![]()
Joined: 2006/4/6
From
Posts: 15
|
Why so, scoon? I decided to stick with Red Hat (we still have almost a year on our subscription) and upgraded from ES 3 to ES 4, Update 3 (essentially centos 4.3, no?) and it was seamless. All of my config files worked, though some needed to be renamed from .rpmsave. I did the upgrade the old fashioned way, via the CDs. The only problems I had were rather simple ones albeit strange, the upgrader installed the non-smb version of the kernel, limiting me to one processor on a dual core xeon system with hyperthreading. Downloaded the smb kernel from Red Hat and fixed that. Besides that, there was a strange problem where apparently 64bit versions of RHEL 4 are missing a kerboros5 file which broke pop3 and imap connectivity. Found the file online and installed it, now I'm running with no problem. Anyone having this problem, just telnet to your pop3 port and it will report on the missing file.
Devin |
||
Posted on: 2006/4/20 19:43
|
|||
|
Re: Migrating RHEL 4 to CentOS | #7 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2006/5/29
From
Posts: 1
|
I too am curious about migrating RHEL 3 and/or 4 to Centos 4.3 ... Has anyone done so? I was assuming the safest way would be to put the ISO disks in and do "Upgrade" just like you'd do with a RHEL .... does anyone have any experience with this?
TedT |
||
Posted on: 2006/5/29 2:03
|
|||
|
Re: Migrating RHEL 4 to CentOS | #8 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2006/8/20
From
Posts: 1
|
Phil,
Thanks for your post. After my student subscription expired, I was faced with paying out of my own pocket the fees for RHEL 4 upgrade subscription services. I tried Fedora Core 5, but it broke too my of my commercial software applicaitons. With your post, I was able to seamlessly switch over to CentOS. I liked the yumex uitlity in Fedora much better than up2date on RHEL. Now, I have the best of both worlds. Thanks again, Bruce ![]() |
||
Posted on: 2006/8/20 18:39
|
|||
|
Re: Migrating RHEL 4 to CentOS | #9 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2006/8/21
From
Posts: 1
|
Quote:
Did you ever try this on your PLESK server? I am about to. I will try it on two test machines. One without Plesk. Then one with Plesk installed. Any advice will be helpfull. |
||
Posted on: 2006/8/21 13:05
|
|||
|
Re: Migrating RHEL 4 to CentOS | #10 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2006/11/1
From
Posts: 1
|
I'd be very interested to hear some success stories on this method. We've currently got Apache, Postfix, Dovecot, Webmin, and possibly a few other things running on this server. Is it really just as simple as running this handful of commands that Phil has posted for us?
I wouldn't mind paying for Red Hat support as much if they offered a reasonable level of it. Either you pay through the nose and get average support or you pay a reasonable amount with a two-day response time. That's unacceptable. I've thought of switching to other distributions entirely but the migration seems daunting and the time involved might be enough by itself to justify paying for the minimal level Red Hat support just so I don't have to be bothered with it.. |
||
Posted on: 2006/11/1 17:53
|
|||
|
Re: Migrating RHEL 4 to CentOS | #11 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2006/11/18
From
Posts: 2
|
Yesterday, I successfully migrated my RHEL 4 system to CentOS 4 using the procedure described by Phil above. There was one exception, however: I did not find the centos-yumconf package. Nevertheless, the upgrade went smooth as silk and was finished in less than 10 minutes. My environment is a typical LAMP-setup that includes Apache, MySQL and Perl. I've had no problems so far. I would recommend a full backup prior to upgrading though, e.g. using mondoarchive.
# Download rpm packages from a CentOS mirror of choice RPM-GPG-KEY-centos4 centos-release centos-yumconf python-elementtree python-sqlite python-urlgrabber sqlite yum # Import gpg key rpm --import RPM-GPG-KEY-centos4 # Remove redhat dependencies rpm -e --nodeps redhat-release # Install the centos packages above rpm -Uvh *.rpm # Upgrade the installation yum upgrade Andreas -- |
||
Posted on: 2006/11/18 13:32
|
|||
|
Re: Migrating RHEL 4 to CentOS | #12 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2006/11/19
From Perth, Western Australia
Posts: 122
|
I would be interested too on the results of upgrading from RHEL3 to Centos4.
In fact, I am considering upgrading RHEL2 (with Oracle) to Centos4. Does anyone foresee any problems? Thanks, Bill. ![]() |
||
|
_________________
Local Area Network in Australia, the LAN Down Under. |
|||
Posted on: 2006/11/24 0:45
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
14 Votes
iampd







You cannot start a new topic.
You can view topic.