[Yum] Does yum have proxy support

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

 



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@xxxxxxxxxxxxx> 
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@xxxxxxxxxxxxxxxxxxxx
> https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux