[SOLVED] Assistance needed to set up RHEL 64-bit as a YUM Proxy server for 32-bit also.
Linux - NewbieThis 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!
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.
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.
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.
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.
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.