[CentOS] Using HTTP proxy for yum

Ralph Angenendt ra+centos at br-online.de
Wed Aug 22 09:21:14 UTC 2007


Dogsbody 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.
>
> Add the following to /etc/wgetrc
>
> http_proxy = http://username:password@proxy.example.com:8080/
> ftp_proxy = http://username:password@proxy.example.com:8080/
>
> ... the web filter will need to be able to do http byte-range requests 
> though.

Since when does yum read wgetrc?

Ralph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20070822/9d1f8333/attachment.sig>


More information about the CentOS mailing list