Thanks! I'll try this as soon as I get access to the computer behind the proxy.

On 5/13/06, captain_claw <[EMAIL PROTECTED] > wrote:
Hello John,

make sure you have internet connection ( hehe ).. and try this one on the computer you want to update via yum.

[EMAIL PROTECTED] ~]# HTTP_PROXY="http://ip.address.of.the.proxy:3128 or whatever is your proxy port"
if your proxy needs authentication:
[EMAIL PROTECTED] ~]# HTTP_PROXY="http://ip.address.of.the.proxy:[EMAIL PROTECTED]:3128 or whatever is your proxy port"
[EMAIL PROTECTED] ~]#export HTTP_PROXY

after exporting fire up your yum update..

though this is not permanent settings.. if you want it to be I think you have to append you ( user ) .bash_profile.. or much better you can append directly yum.conf if you dont want to so the exporting thing about
like this: yum.conf
proxy with password:

proxy="http://proxyip:port"
proxy_username="username"
proxy_password="password"

and without

proxy=http://proxyip:port/
proxy_username=
proxy_password=

hope that helps.

Regards,
Ryan





> Hi John.
>
> I assume you'll be using wget. Wget looks for the HTTP_PROXY
> environment variable. If it is set, it uses that.
>
> $ export HTTP_PROXY=http://your.proxys.ip.add:3128/
> $ wget -c http://acme.com/download/file.tar.gz
>
> Hope that helps.
>
> Gari
>
> On May 13, 2006, at 11:17AM, John Peter Loh wrote:
>
> > Hi everyone,
> >
> > How do I set the proxy server in the CLI? I want to download via
> > yum from a computer which is behind a squid proxy server. The
> > computer that I'll be using doesn't have X11.
> >
> > Thanks
> >
> > --
> > John Peter Loh
> >
> >
>
> --
> Garibaldi V. Melecio <[EMAIL PROTECTED]>
> -
>
>
>
>


_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph




--
John Peter Loh

Phone: +13602267476
Mobile: +639196944280
Email: [EMAIL PROTECTED]
Web: http://www.jploh.com/

Software Developer
Echo Systems, Inc.
Email: [EMAIL PROTECTED]
Web: http://www.asterisk.com.ph
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to