Re: Using HTTP proxy for yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxx> 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
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux