RE: How do I configure YUM to work through a proxy?
From: Jeffrey Buell (jbuell_at_vmware.com)
Date: 04/19/05
- Previous message: Jeff Vian: "Re: Is it just me or has the traffic slowed down here?"
- Maybe in reply to: cparuss: "How do I configure YUM to work through a proxy?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 18 Apr 2005 18:25:37 -0700 To: <fedora-list@redhat.com>
> My Fedora FCr3 box is on a private network. So it has no
> direct access to the Internet. Up2date supports Proxy
> settings. But up2date now just front ends for YUM or APT.
> RedHat seems to prefer YUM. That's ok with me but I can't
> figure out how to configure YUM to work through a Proxy. I
> keep getting timeouts and "server not found" messages. I
> can't see any YUM settings to support a Proxy. I have put
> the Proxy settings into "up2date --config". No joy. It
> looks like APT supports Proxy servers but that Fedora FCr3
> does not yet support APT. There is a package to download and
> install (apt-0.5.15cnc6-12.r362.i386.rpm). So I downloaded
> and installed it. But there is no "mirrors" list. Can
> someone put me on the right track here?
I used yum directly to go through a proxy. I had to do something like this:
http_proxy=http:// where <proxy> is the name of your proxy server and #### is the port.
Jeff
HTTP_PROXY="$http_proxy"
export http_proxy HTTP_PROXY
ftp_proxy=http://
FTP_PROXY="$ftp_proxy"
export ftp_proxy FTP_PROXY
Also, take a look at /etc/yum.conf and the repository files in
/etc/yum.repos.d/
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
Relevant Pages
... Yum only doesn't work properly with HTTP ... > a Microsoft ISA web proxy with password authentication. ... > work though this web proxy which doesn't require authentication. ... > reads mirror lists for repos its not using and yum 2.2 doesn't. ...
(Fedora)
... corporate firewall and proxy. ... In order to get proxy auth for yum I unsuccesfully tried each of the ... Executing failover method ...
(Fedora)
... On Wed, 2004-02-11 at 18:31, Thiers Botelho wrote: ... > corporate firewall and proxy. ... > In order to get proxy auth for yum I unsuccesfully tried each of the ...
(Fedora)
... cause of a proxy setting in the env. ... try env command and look for HTTP_PROXY environment variable. ... try unset that and rerun yum and see what happens. ... Error: Cannot find a valid baseurl for repo: updates-released ...
(Fedora)
... I am having a bit of problem with making yum work. ... I am behind a proxy server which requires authentication. ... now yum update gives ... but wget http://rpm.livna.org/fedora/4/i386/RPMS.extras/repodata/repomd.xmlgives ...
(Fedora)