Debian Lenny - set proxy for apt

Tuesday, 1 June 2010 12:20 by myro

If you need to set up a proxy into your debian machine you should open you terminal and run the following command:

HTTP Proxy
export http_proxy="http://USERNAME:PASSWORD@PROXYSERVER:PORT"

FTP Proxy
export ftp_proxy="ftp://USERNAME:PASSWORD@PROXYSERVER:PORT"


hope it helps

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   Linux
Actions:   Bookmark and Share | Permalink | Comments (0) | Comment RSSRSS comment feed
If you consider this post usefull for your purposes, please consider visiting my sponsors to help me out with the myrocode.com maintenance. Thank you.