On Wed, 22 Aug 2007 11:17:37 +0100, 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@xxxxxxxxxxxxxxxxx:8080/ > >> ftp_proxy = http://username:password@xxxxxxxxxxxxxxxxx:8080/ > > > > Since when does yum read wgetrc? > > I believe yum uses wget (or libraries) and wget reads wgetrc, I > picked this up from the yum mailing list and it works too! :-) Setting the local vars HTTP_PROXY and FTP_PROXY is also enough if you just want to use it in the current session. Michel -- Het.Grote.Net WebMail, powered by OpenWebMail -- _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos