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 |
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.
|
 |
08-26-2009, 08:22 PM
|
#1
|
Member
Registered: Jul 2009
Location: Brisbane
Distribution: RHEL 6.5
Posts: 39
Rep:
|
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.
|
|
|
08-26-2009, 11:39 PM
|
#2
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,442
|
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
|
|
|
08-27-2009, 02:27 AM
|
#3
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep: 
|
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.
|
|
|
08-31-2009, 12:36 AM
|
#4
|
Member
Registered: Jul 2009
Location: Brisbane
Distribution: RHEL 6.5
Posts: 39
Original Poster
Rep:
|
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.
|
|
|
08-31-2009, 01:43 AM
|
#5
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep: 
|
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).
|
|
|
08-31-2009, 07:05 PM
|
#6
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,442
|
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.
|
|
|
09-10-2009, 12:44 AM
|
#7
|
Member
Registered: Jul 2009
Location: Brisbane
Distribution: RHEL 6.5
Posts: 39
Original Poster
Rep:
|
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.
|
|
|
10-19-2009, 08:50 PM
|
#8
|
Member
Registered: Jul 2009
Location: Brisbane
Distribution: RHEL 6.5
Posts: 39
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 09:35 PM.
|
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
|
|