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

debianÔ´-¸ü¸ßЧ,¸ü·½±ãµÄ·½·¨ debian-spy

·¢²¼Ê±¼ä:2007-07-30 09:48:26À´Ô´:ºìÁª×÷Õß:History
UubuntuºÍdebian¶¼ÓкܶàµÄÔ´ºÍ¾µÏñ£¬Ò²Óв»ÉٵĹúÄÚ¾µÏñ¡£Ò»Ð©°®ºÃÕßΪÁËÑ°ÕÒ¾µÏñÒѾ­×Ô¼º¡°±ï¡±³öÀ´ÁËһЩpl½Å±¾ÓÃÓÚÑ°ÕÒ×î¿ìµÄ¾µÏñ¡£Êµ¼ÊÉÏdebianµÄ°®ºÃÕßÔç×¼±¸Á˸üÀ÷º¦µÄÎäÆ÷µÈÄãÀ´Ó㬾ÍÊÇapt-spy£¨ÊǼäµý»¹ÊÇС͵£¿¹þ¹þ£©

ÇмÇÏȱ¸·ÝÄã»úÆ÷ÀïµÄÔ´ÁÐ±í¡£

ÎóÇø£ºÍ¨³£´ó¼Ò¶¼ÔÚ½»Á÷ʹÓùúÄÚµÄÄĸöÔ´ËٶȱȽϿ죬ʵ¼ÊÉϺܶà¹úÍâÔ´µÄ·ÃÎÊËÙ¶ÈÊǹúÄڵĺܶ౶¡£

¼ÇµÃÔø¾­Óùý¹úÍâij´óѧµÄÔ´£¬ËÙ¶ÈÊÇ200kÒÔÉÏ¡£ÈÕ±¾µÄ²¿·ÖÔ´¿ÉÒÔ´ïµ½500kÒÔÉÏ¡£

×î½ü·¢ÏǪ̈ÍåµÄÖ÷¾µÏñÔÚÎÒÕâÀïÏÂÔØËٶȾÓÈ»ÊÇ1084k£¬´ïµ½1MÿÃë¡£

²»Ã¦µÄʱºò£¬ÊÔÊÔ¿´£¬Èç¹ûʱ¼ä¹»¶à£¬¿ÉÒÔ¿¼ÂDz»ÏÞ¶¨ÎªÑÇÖÞ£¬ÕâÑùÓпÉÄÜÕÒµ½¸ü¿ìµÄ¾µÏñÔ´¡£

ת×Ô¹Ù·½µÄÒ»²¿·Ö˵Ã÷£º

`apt-spy'»á¸ù¾ÝÕ¾µã»ØӦʱ¼äºÍ´ø¿í×Ô¶¯´´½¨`sources.list'¡£

#apt-get install apt-spy

#mv sources.list sources.list.bak //backup

#man apt-spy //»ñÈ¡ÏêϸµÄʹÓ÷½·¨

#apt-spy update //¸üÐÂÄúµÄ¾µÏñÁбíÎļþ /var/lib/apt-spy/mirrors.txt

# apt-spy -d testing -a Asia

//ÔÚÑÇÖÞÇøÑ°ÕÒËÙ¶È×î¿ìµÄtesting°æ¾µÏñ,²¢Éú³É sources.listÎļþ,Ò²¿ÉʹÓà -o ²ÎÊýÖ¸¶¨Ð´ÈëÎļþ
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ