Live Chat!

setting up http proxy at console

0 votos Vota!!

December 30th, 2006 mysurface Posted in Admin, export | Hits: 39761 |

Setting up proxy at Firefox do not have effects at console, which means your wget, ssh, apt-get, yum etc do not access through the proxy you set at Firfox browser. To setup http proxy at console, you can do as bellow, assume the proxy IP is 219.93.2.113 and port 3128.

export http_proxy='http://219.93.2.113:3128/'

Remember, you have to specified http://, and to know more about export, check out HERE.

To clear your http proxy and use back yours, do this:

export http_proxy=''

7 Responses to “setting up http proxy at console”

  1. Cool!

  2. yep, but what about if the proxy requires authentication…. what would it be the workaround?

  3. export http_proxy=http://username:password@proxy.thing.com:8080/

  4. can u tell me how to view the http_proxy settings that already has been set ?

  5. echo $http_proxy

  6. how can I save the configuration in the console?

  7. Jaime Garcia Says:

    hi
    you can put the line in /etc/environment
    or
    you can add same line into your .bashrc, in your home directory

Leave a Reply

Security Code: