LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-26-2009, 08:22 PM   #1
xenner
Member
 
Registered: Jul 2009
Location: Brisbane
Distribution: RHEL 6.5
Posts: 39

Rep: Reputation: 0
Assistance needed to set up RHEL 64-bit as a YUM Proxy server for 32-bit also.


Hi,

Does anyone have an UP TO DATE document, or know how to set up a standard RHEL 4.1.2... 64-bit box to be a YUM Proxy machine???

I have found several manuals, all being dated a while ago, none of them being helpful.

Thanks for your assistance.
 
Old 08-26-2009, 11:39 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,269

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
This might be useful http://kenfallon.com/?p=176
Of course, RHEL 4.1 is old itself, they are onto 5.3 now.
If you've got a legal copy of RHEL, you can get support by phoning up RH. Otherwise, you may as well go Centos, as you won't be able to get updates anyway.
Maybe you should enable the RH Proxy pkgs.
http://www.redhat.com/docs/manuals/R...tro-proxy.html
 
Old 08-27-2009, 02:27 AM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
For stock systems that use yum you can use the createrepo package. Unfortunately RHEL4.X did not use yum in its stock form, it used up2date. This might complicate thing considerably. Not sure if RH will support yum on RHEL4.X but it is worth asking.
 
Old 08-31-2009, 12:36 AM   #4
xenner
Member
 
Registered: Jul 2009
Location: Brisbane
Distribution: RHEL 6.5
Posts: 39

Original Poster
Rep: Reputation: 0
I'm not sure I was being clear.

We have around 12 Red Hat boxes, mostly 32-bit, with a few 64-bit machines.
We do have them registered for support with Red Hat, so failing this, I will be phoning them up, but given the hold music, I'd prefer not to

I need to have our machines all update from a proxy, as you're aware, but we don't have the RHEL AS version as suggested in the documentation.
The update machine is 64-bit RHEL, and this should update everything automatically, and when I run YUM on all other machines, 32-bit included, they should point at the RHN proxy to get the upates, not the internet.

Any suggestions??

Thanks.
 
Old 08-31-2009, 01:43 AM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
As I stated before RH did not start using yum until RHEL5 before that they used up2date. How did you install yum on your RHEL4.X boxes?

You do understand that you will need two separate local repos? One for 64bit and one for 32bit.

You will need to run the createrepo package every time you add new packages to your local repo. This will need to be done on both repos (32bit and 64bit).
 
Old 08-31-2009, 07:05 PM   #6
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,269

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
I'd say definitely see my post #2; sounds like a classic example of installing the RHEL Proxy pkg on the proxy server. Its designed to do exactly what you want.
 
Old 09-10-2009, 12:44 AM   #7
xenner
Member
 
Registered: Jul 2009
Location: Brisbane
Distribution: RHEL 6.5
Posts: 39

Original Poster
Rep: Reputation: 0
Hi,

I set up the 64-bit version using the post you recommended Chrism, thankyou for that.

However, the 32-bit one, I noticed the reposync command isn't there. Is there a different version of reposync for 32-bit Red Hat? I have downloaded and installed all the available YUM packages to no avail.

Thanks again for your continued assistance.
 
Old 10-19-2009, 08:50 PM   #8
xenner
Member
 
Registered: Jul 2009
Location: Brisbane
Distribution: RHEL 6.5
Posts: 39

Original Poster
Rep: Reputation: 0
Okay,

I did it... But with two seperate boxes... One 32bit and one 64bit.

I should have updated this ages ago and closed it. Thanks for your assistance guys, much appreciated.

Basically, I reposync'd both boxes individually using a script I wrote up so I wouldn't have to duplicate the configuration on both.
I modified the client machines /etc/yum.repos.d/.repo file by disabling the 'debug' repo and creating a new one pointing to the local proxy on the network. Had to retrieve the updates via HTTP from the local proxy, so set that up.
I then configured Apache to accept HTTP requests, pointing them all to the local repo' I created from the RHN sync. Does that make sense??? I'm sure it does. Either way, I tested it out on five of our machines here (after hours of course), and they all updated as they should without any problems.
I will now just schedule the sync' and repo' creation so it happens once a week.

Thanks again for your assistance guys, much appreciated.
 
  


Reply

Tags
proxy, rhn, setup, yum


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
64 bit cpu-64 bit Ubuntu-are there 32 bit app issues? sofasurfer Ubuntu 7 04-09-2014 02:02 PM
Howto install 32-bit libraries on 64-bit Linux using yum shawn_t Linux - Server 16 07-13-2012 02:46 AM
Major Changes between 32 bit RHEL and 64 Bit RHEL? sahil.jammu Linux - Newbie 2 07-03-2009 01:31 AM
Unable to boot to RHEL 4 32 bit after installing RHEL 64 - bit raj_ksrt Linux - Software 1 04-27-2009 09:44 AM
RHEL 5 w/ Gnome - How to set 32 bit Firefox as default browser? rkmason Red Hat 2 07-01-2007 10:42 AM


All times are GMT -5. The time now is 02:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration