LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 10-21-2008, 11:58 PM   #1
ehartanto
LQ Newbie
 
Registered: Oct 2008
Posts: 7

Rep: Reputation: 0
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
 
Old 10-23-2008, 09:40 AM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
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!
 
Old 10-23-2008, 11:31 AM   #3
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by irishbitte View Post
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
 
Old 10-24-2008, 12:58 AM   #4
ehartanto
LQ Newbie
 
Registered: Oct 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by custangro View Post
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
 
Old 10-24-2008, 11:21 AM   #5
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by ehartanto View Post
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
 
Old 10-24-2008, 04:20 PM   #6
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
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!
 
Old 10-27-2008, 10:14 PM   #7
ehartanto
LQ Newbie
 
Registered: Oct 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by irishbitte View Post
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
 
Old 10-28-2008, 11:33 AM   #8
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by ehartanto View Post
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
 
Old 10-29-2008, 03:30 PM   #9
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
You are quite right custangro, but it's still not the same as changing repositories from RH to Cent!
 
Old 10-30-2008, 03:21 AM   #10
ehartanto
LQ Newbie
 
Registered: Oct 2008
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum Repository nitrohuffer2001 Linux - General 7 04-23-2013 04:23 AM
yum antivirus issue ehartanto Linux - Enterprise 2 10-22-2008 03:56 AM
YUM repository Mr.J Linux - Newbie 3 06-27-2008 02:18 AM
Redhat 5.1 Yum Repository vs Fedora x.x Yum Repository lead2gold Linux - Software 1 05-22-2008 03:19 PM
Yum repository for 10.1 mijohnst SUSE / openSUSE 6 04-11-2006 09:42 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 08:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration