debianÌṩÁË·½±ãµÄÈí¼þ°ü¹ÜÀí¹¤¾ß"ÐÂÁ¢µÃ°ü¹ÜÀíÆ÷", ÆäÖаüº¬ÁË´úÀí·þÎñÆ÷µÄÉèÖÃ,µ«ËüÖ»ÄÜÔÚͼÐνçÃæÏÂʹÓÃ.
ÔÚÖÕ¶ËÏÂÉèÖÃapt´úÀí·½·¨:
µÚÒ»²½:
$ export http_proxy=http://user:pass@proxy_server_IP:port
(µ«¹Ø±ÕÖն˺ó, Õâ¸öÉèÖþÍʧЧÁË.ҪʹµÃÉèÖó¤ÆÚÓÐЧ, ¿ÉÒÔÔÚ ~/.bashrc ÖÐÌí¼ÓÉÏÊöÃüÁî.)
µÚ¶þ²½:
$ sudo vi /etc/apt/apt.conf
¼ÓÈëÒ»¾ä»°:
Acquire::http::proxy "http://username:password@proxy_adress:port_number";
È¡ÏûÉèÖõĴúÀí:
$ unset http_proxy