Balki’s Weblog

Downloading using wget via a proxy server

Posted by: balkrishnapatankar on: October 10, 2008

Sadly i am unable to update fedora 9 via the proxy server in our college and hence am still stuck using Firefox 3 Beta 5. I had some problems saving the pdf files once they opened in evince in the web browser and hence decided to use wget for the downloads.

Downloading using wget :

//First set the http_proxy variable to the necessary address

export http_proxy=’http://ur.proxy.server:port’

//and then in the wget command line execute with an option –proxy=on

wget –proxy=on http://whatuwant

u can use other options as –proxy-user and –proxy-password for password protected proxies

u can switch of the proxy with –proxy=off

Jai Gurudev

EDIT: Once this proxy variable is set all your apps which require proxy server settings can run from the CLI. After this i was able to update my system via yum after doing a bit moving…. Theres a GUI too for this .

In Fedora : Places => Preferences => Network .

Tags: , ,

1 Response to "Downloading using wget via a proxy server"

You can also set http_proxy in ~/.wgetrc or /etc/wgetrc, or specify it on the command line with -e http_proxy=…

Leave a Reply

Fedora 11

Ubuntu 9.04

Ubuntu: For Desktops, Servers, Netbooks and in the cloud

 

October 2008
M T W T F S S
« Sep   Dec »
 12345
6789101112
13141516171819
20212223242526
2728293031  

Flickr Photos

Untitled

Times Square

after the storm..

More Photos

Blog Stats

  • 6,942 hits

My Tweets

Error: Twitter did not respond. Please wait a few minutes and refresh this page.