Monday, January 2, 2012

How to run apt-get Through http proxy

add the  following sentences to /etc/apt/apt.conf  file, if the file is not existed, you have to create it.


Acquire::http::Proxy "http://192.168.15.253:455";   #the proxy has no authentication
Acquire::http::Proxy "http://arad:arad@192.168.15.253:455";       #proxy with authentication


choose one among the sentences above that meet your environment

LUCK

No comments:

Post a Comment