[SOLVED] Assistance needed to set up RHEL 64-bit as a YUM Proxy server for 32-bit also.
Linux - NewbieThis 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.
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
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.
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).
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.