ºìÁªLinuxÃÅ»§
Linux°ïÖú
µ±Ç°Î»ÖÃ: ºìÁªLinuxÃÅ»§ > Debian

debianÖÕ¶ËÏÂÉèÖôúÀí¸üÐÂÈí¼þ

·¢²¼Ê±¼ä:2008-01-12 00:16:32À´Ô´:ºìÁª×÷Õß:wynlchae
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
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ