Quote:
Originally Posted by BFCsaus
Hi,
I have a RHEL5.5 VM which I need to register with RHN. We have a proxy server available 10.96.60.36 but I need to know how to add this to my Redhat server in order to register then download my packages.
Ive amended up2date in /etc/sysconfig/rhn with enableProxy=1 and httpProxy=10.96.60.36:3128 but am still unable to access via rhn_register (presume the port is correct).
I think im doing something wrong on the proxy side so if anyone could enlighten it would be appreciated. This is the first time ive had to register via RHN as most of our servers are not allowed direct Internet access so we are using this server as a repository we can download RPM's from via YUM then distribute accordingly.
|
This is something that's done frequently, when one RHEL server is the central repository for an enterprise, to minimize exposure of servers. The proxy, though, can be sticky. Some proxies will need credentials passed to them, and how they're passed makes a difference. Without knowing that side of things, it's hard to give a decent answer about it. What you've already set is definitely on the right track, though.
Since you're registered with RedHat, you can easily just give them a call, and they can help you set this up. Get all the information you can about the proxy server first, though, since that'll definitely come up. One 'solution' I found for this (with the old, crappy proxy I had where I once worked), was to just open a web-browser from the server, and key in MY credentials. Once I got a session opened for that IP address, I was able to run up2date, and get things pulled down. Had to do it that way, since the proxy server was a piece of junk....