[Yum] Does yum have proxy support
Fred
fredn1 at gmx.de
Mon Nov 15 15:14:50 UTC 2004
Or set an Alias for yum,
- aliases can be handy ...
Fred.
____________________________________________
/root/.alias
____________________________________________
[snip]
alias yum='export http_proxy=http://<Proxy_IP>:<Proxy_Port>;yum'
____________________________________________
____________________________________________
/root/.bashrc
____________________________________________
# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
if [ -f ~/.alias ]; then
. ~/.alias
fi
____________________________________________
On Monday 15 November 2004 15:49, Justin Conover wrote:
> On Mon, 15 Nov 2004 08:03:34 -0500 (EST), Jim Wildman <jim at rossberry.com>
wrote:
> > > Does anybody know if yum has proxy support and if so where do i
> > > specify the proxies. I run a net connection behind my college proxy
> >
> > from man yum....
> >
> > Proxy configuration
> > If you would like to use a proxy with yum you can simply
> > set a
> > shell environment variable of http_proxy. Set it to the
> > url for
> > your proxy. Ex: "http://your_proxy:port/"
>
> If the box is always behind the proxy than I will set it in /etc/profile
>
> export http_proxy="http://your_proxy:port"
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum
More information about the Yum
mailing list