Found what I was trying to find in yum.conf, but it's not working...
proxy=http://hostname.domain.com/
proxy_username=domain\myusername
proxy_password=mypassword
# yum check-update
Loading "installonlyn" plugin
Setting up repositories
Could not retrieve mirrorlist
http://mirrorlist.centos.org/?release=5&arch=i386&repo=extras error
was
[Errno 14] HTTP Error 407: Proxy Authentication Required
Error: Cannot find a valid baseurl for repo: extras
That's the legit user/pass syntax. I use it when surfing with Firefox.
Thanks,
Scott
On 8/21/07, Scott Moseman <scmoseman at gmail.com>
wrote:>
> Is there a way to use an HTTP proxy (with a user/pass) with yum? Or
> at least a way to pass a user/pass through yum? I have a situation
> with a CentOS server behind a web filter appliance.
>
> Thanks,
> Scott
>