Help - Search - Members - Calendar
Full Version: CentOS or RHEL5
The Planet Forums > Operating Systems > Red Hat Linux
SuperBaby
NOTE: I have been searching under Googles but could not any page that really tells me whether I should use CentOS or RHEL5 for my new box.

I have been using my current TP box for 5 years. Lately, it has been giving me a lot of problems. It would randomly down about 3 times a month.

After getting a new quote from the TP sales, I decided to change to a new box.

My old box is running RHL9. I am not familiar with other RH version. I wonder if I should go with CentOS or RHEL5? What are the main differences as I am using cPanel/WHM?

Another question is: Is it possible to pre-install (in the new box) PHP4/MySQL4 instead of PHP5/MySQL5? Some of my PHP scripts won't run under PHP5/MySQL5.

Thanks.
eth00
CentOS is essentially a free copy of Redhat 5 that is compiled from the source rpms that redhat is required to give due to the GPL. If you have a choice may as well do RHEL5, though really it is essentially the same.


When you get the server just set mysql 5 in WHM and recompile php via easyapache selection version 5 and you wil get what you need.
SuperBaby
QUOTE (eth00 @ Dec 20 2007, 02:41 AM) *
If you have a choice may as well do RHEL5, though really it is essentially the same.
When you get the server just set mysql 5 in WHM and recompile php via easyapache selection version 5 and you wil get what you need.

You mean I can remove PHP5/MySQL5 under WHM and reinstall with PHP4/MySQL4?
eth00
cPanel source compiles them, the installation of cPanel removes php, apache, and mysql. When cPanel is installed it installs default version of those (I don't know off hand what they are). When you run easyapache yourself you select what you want and the old versions are simply overwritten.

so you don't remove anything, just run easyapache and enjoy whatever software you selected.
SuperBaby
Thank you.
davidm
I'm a bit late on this thread, but I'll toss in my two cents...

I went through this same debate a few months ago. I finally decided to go with RHEL5 simply because then it exactly matched the two books I bought on RHEL5 at the local bookstore. Maybe not a big deal, but it was a consideration for me.
James Jhurani
QUOTE (davidm @ Dec 28 2007, 03:49 AM) *
I'm a bit late on this thread, but I'll toss in my two cents...

I went through this same debate a few months ago. I finally decided to go with RHEL5 simply because then it exactly matched the two books I bought on RHEL5 at the local bookstore. Maybe not a big deal, but it was a consideration for me.


Did you come across any differences? I haven't been able to find any myself. Everything down to Xen is the same.
andiez
I don't have recent experience of RHEL but at one time you could only get updates if you had bought a license and configured your machine via their rather silly online interface. But updates in CentOS are free. That is I think the one and only difference apart from RHEL getting updates applied to it before CentOS because CentOS draws on RHEL.
James Jhurani
QUOTE (andiez @ Dec 28 2007, 03:25 PM) *
I don't have recent experience of RHEL but at one time you could only get updates if you had bought a license and configured your machine via their rather silly online interface. But updates in CentOS are free. That is I think the one and only difference apart from RHEL getting updates applied to it before CentOS because CentOS draws on RHEL.


As of RHEL5/CentOS5 both use yum.

RHEL5 can be configured to use the atrpms RHEL5 repo.
QUOTE
[james@basic ~]$ cat /etc/yum.repos.d/atrpms.repo
[atrpms]
name=Red Hat Enterprise Linux $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/el5-i386/atrpms/stable

[james@basic ~]$


Or if you go with CentOS5, you can use the CentOS5 repo...

QUOTE
[root@localhost ~]# cat /etc/yum.repos.d/CentOS-Base.repo
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

[root@localhost ~]#
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.