Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-21-2008, 11:58 PM
|
#1
|
LQ Newbie
Registered: Oct 2008
Posts: 7
Rep:
|
yum antivirus and repository question
Dear LQ Member,
Our system is using RHEL 4.0. And we would like to upgrade to RHEL 4.7.
Since Red Hat Network is not free anymore, that leave me no choice to reconfigure my system to Centos and use yum to upgrade the system.
However I am facing a problem with yum. My yum version is yum-2.4.2-0.4.el4.rf.
And it seemed that yum has some kind of bug regarding the header when yum behind a firewall that has somekind of antivirus installed.
Upgrading to yum latest version is not an option either since I have to install a lot of packages prior installing the yum version 3.x.
So that left me no choice to create a local yum repository.
My question is:
1. Can I use the centos 4.7 iso as a local yum repository?
If the answer is yes, then how?
2. How can I fix the yum 2.4 issue without disabling the antivirus in our firewall?
3. Can I redirect the up2date to point to centos instead of Red Hat Network?
Kind Regards,
-erwin
|
|
|
10-23-2008, 09:40 AM
|
#2
|
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Rep:
|
I would defintely not suggest that you try doing what you are doing, unless you really know what you are doing! Can you not do a fresh install of CentOS?
The reason I am saying this is because CentOS tries to keep up to date with RedHat, but it ain't perfect!
|
|
|
10-23-2008, 11:31 AM
|
#3
|
Senior Member
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
|
Quote:
Originally Posted by irishbitte
I would defintely not suggest that you try doing what you are doing, unless you really know what you are doing! Can you not do a fresh install of CentOS?
The reason I am saying this is because CentOS tries to keep up to date with RedHat, but it ain't perfect!
|
I agree with irishbitte...
What you are trying to do can break you system to the point where it will no longer work.
What I suggest is to do a fresh CentOS install on another machine, and then migrate all files/services over to the new machine. This is the "slower" solution, but it will ensure that your system stays in tact.
-C
|
|
|
10-24-2008, 12:58 AM
|
#4
|
LQ Newbie
Registered: Oct 2008
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by custangro
I agree with irishbitte...
What you are trying to do can break you system to the point where it will no longer work.
What I suggest is to do a fresh CentOS install on another machine, and then migrate all files/services over to the new machine. This is the "slower" solution, but it will ensure that your system stays in tact.
-C
|
I'd love to do that as well. However there are some application installed in the server. So I cannot just do a fresh install.
So my only option is to upgrade through the yum install.
By the way, thank you for the reply.
Regards,
-erwin
|
|
|
10-24-2008, 11:21 AM
|
#5
|
Senior Member
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
|
Quote:
Originally Posted by ehartanto
I'd love to do that as well. However there are some application installed in the server. So I cannot just do a fresh install.
So my only option is to upgrade through the yum install.
By the way, thank you for the reply.
Regards,
-erwin
|
No Problem.
What I meant to say is do a fresh install on another machine .
Then (slowly) migrate to the other machine...
This way you have a way to "roll back" if something should go wrong.
-C
|
|
|
10-24-2008, 04:20 PM
|
#6
|
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Rep:
|
Yes, you must understand that you cannot just change the repositories yum operates from! the system and security repos will be unique to redhat, and will have different gpg keys for example! Not to mention the numerous tweaks Cent have done to their versions. Be very careful!
Quote:
I'd love to do that as well. However there are some application installed in the server. So I cannot just do a fresh install.
So my only option is to upgrade through the yum install.
|
You say here that there are apps running on the server. I promise you, if you do what you are planning on a production machine you'll lose more than the machine, probably your job!
|
|
|
10-27-2008, 10:14 PM
|
#7
|
LQ Newbie
Registered: Oct 2008
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by irishbitte
Yes, you must understand that you cannot just change the repositories yum operates from! the system and security repos will be unique to redhat, and will have different gpg keys for example! Not to mention the numerous tweaks Cent have done to their versions. Be very careful!
You say here that there are apps running on the server. I promise you, if you do what you are planning on a production machine you'll lose more than the machine, probably your job!
|
Yes, you are right. Fortunatelly, the server is only a test server.
I thought, centos is 100% compatible with Red Hat
If they tweak it, meaning that Centos is not 100% compatible with Red Hat anymore, right?
Thank's for the reply.
-erwin
|
|
|
10-28-2008, 11:33 AM
|
#8
|
Senior Member
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
|
Quote:
Originally Posted by ehartanto
I thought, centos is 100% compatible with Red Hat
If they tweak it, meaning that Centos is not 100% compatible with Red Hat anymore, right?
Thank's for the reply.
-erwin
|
Yes and no.
Here is a snip from their wiki...
Quote:
CentOS mainly changes packages to remove upstream vendor branding and artwork.
|
Basically they only change the logo.
You should take a look at their wiki if you have any more concerns...
http://wiki.centos.org/FAQ/General
FWIW...
At my company...we develop on Centos...when it's ready; we deploy on our RHEL machines...
-C
|
|
|
10-29-2008, 03:30 PM
|
#9
|
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Rep:
|
You are quite right custangro, but it's still not the same as changing repositories from RH to Cent!
|
|
|
10-30-2008, 03:21 AM
|
#10
|
LQ Newbie
Registered: Oct 2008
Posts: 7
Original Poster
Rep:
|
thank you
Hi All,
Thank you for all the response. As per conclusion, I will reinstall the test server with the Centos 4.7.
Regards,
-erwin
|
|
|
All times are GMT -5. The time now is 08:49 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|