ºìÁªLinuxÃÅ»§
Linux°ïÖú

Fedora 8ÖÐyumÉèÖÃÏà¹Ø֪ʶ

·¢²¼Ê±¼ä:2008-10-13 16:28:48À´Ô´:ºìÁª×÷Õß:superyongzhe
Ê×ÏÈ̸ÏÂ×Ô¼ºµÄLinuxϵͳÏÖ×´£º

תͶFedora 8ºó¾õµÃ Fedora±ÈUbuntuºÃ£¬²»ÏëÒýÆðÕùÂÛ£¬Ö»ÊǾõµÃFedora×ߵĺܳ¬Ç°£¬ºÜ¶à¶«Î÷¶¼ÊÇFedora 8³öÁ˺ó²ÅÔÚUbuntuÉÏÕÒµ½ÏàËƵÄÓ°×ӵġ£µ«ÊÇFedora 8µÄÔ´ÊÇËûµÄÓ²ÉË£¬»¹ÓоÍÊÇËûµÄ°üÒÀÀµÃ»ÓÐUbuntu×öµÃºÃ¡£

ÕýÎÄ£º

ÍƼö°²×°Ê±Ñ¡ÔñÖÐÎÄ£¬¼´Ê¹Äãϲ»¶ÓÃÓ¢ÎĽçÃæµÄ²Ù×÷ϵͳ£¬ÀýÈçÎÒ£¬ÒòΪҪÊÇĬÈÏÓÃÓ¢ÎÄ°²×°µÄ»°£¬ºÜ¶àÖÐÎÄ×ÖÌå²»»á×°ÉÏ£¬ÖÐÎÄÊäÈë·¨Ò²²»»á×°ÉÏ£¬ºóÆÚÉè ÖúÜÂé·³¡£ÓÃÖÐÎÄÓïÑÔ°²×°ºó£¬½øÈçϵͳ£¬½«ÓïÑÔÉèÖóÉÓ¢Óï¼´¿ÉʵÏÖÓ¢ÎIJÙ×÷ϵͳ£¬ÔÙÔÚϵͳÖÐÉèÖÃϾͿÉÒÔÔÚÓ¢ÎÄ»·¾³ÏÂÓÃÖÐÎÄÊäÈë·¨ÁË£¬ÉèÖÃÈçÏ£º



ÏÖÔÚÉèÖÃÔ´°É£¬Ê×ÏÈÄãÒªgoogleÒ»ÏÂlivnaµÄÔ´£¬°Ñ Ëü¼Ó½øÈ¥ ¡£ÈçÏ£º

su
Password:
# rpm -ivh http://rpm.livna.org/livna-release-8.rpm

°²×°fastestmirror²å¼þ¡£

yum install yum-fastestmirror

ºÃÁË£¬¸Ãµ½ÉèÖÃyumÁË£º

gedit /etc/yum/yum-updatesd.conf

ÆäÅäÖÃÈçÏ£º

[main]
# how often to check for new updates (in seconds)
run_interval = 604800

#¶à¾Ã¼ì²é¸üУ¬ÎÒÉèÖóÉÁË7Ìì

# how often to allow checking on request (in seconds)
updaterefresh = 600
#¸üÐÂË¢ÐÂÖÜÆÚ£¬Õâ¸öÊÇΪÁ˱ÜÃâ·þÎñÆ÷¸ºµ£Ì«ÖØ£¬½¨Òé±£³ÖĬÈÏ£¬»òÕßÉèÖôóµã¡£

# how to send notifications (valid: dbus, email, syslog)
emit_via = dbus
# should we listen via dbus to give out update information/check for
# new updates
dbus_listener = yes
#ÒÔÏÂÈýÏîΪ£ºÊÇ·ñ×Ô¶¯°²×°¸üУ¬ÊÇ·ñ×Ô¶¯ÏÂÔظüУ¬ÊÇ·ñ×Ô¶¯ÏÂÔØÒÀÀµ£¬½¨ÒéÈ«²¿ÉèÖóÉno£¬·ñÔòϵͳ»áÔÚºǫ́×Ô¶¯¸üУ¬µ¼ÖÂǰ̨µÄËùÓа²×°ºÍ¸üгÌÐò±»ËøËÀ¡£

# automatically install updates
do_update = no
# automatically download updates
do_download = no
# automatically download deps of updates
do_download_deps = no

ÉèÖÃfastestmirror

ĬÈϵÄfastestmirror²¢²»ÊÇÿ´Î¶¼ÄÜÕÒµ½×î¿ìµÄÔ´¡£

Òª½øÐÐÒ»µãËãÊÇÓÅ»¯µÄÉèÖãº

gedit /etc/yum/pluginconf.d/fastestmirror.conf

ÅäÖÃÈçÏ£º

[main]
enabled=1
verbose=0
socket_timeout=1
hostfilepath=/var/cache/yum/timedhosts.txt
maxhostfileage=1

#ÉèÖóÉ1£¬¼´Ã¿Ò»ÌìË¢ÐÂÒ»´Î¾µÏñµÄËÙ¶È

maxthreads=15
#exclude=.gov, facebook

×öÁËÈçÉÏÉèÖúóÒ²ÐíÄ㻹ÊÇÁ¬²»ÉÏ×î¿ìµÄ¾µÏñ£¬Õâʱ¾ÍÒªRPºÍË¢ÐÂÁË

yum clean all

ÕâÑù¿ÉÒÔÇå³ý¾µÏñµÄ¼Ç¼£¬ÈÃyumÖØÐÂË¢ÐÂ

¿´ÏÂsystem monitorÀïÃæµÄÍø¿¨Ëٶȣ¬Æ½¾ù100K£¬±ÈÉèÖÃÇ°µÄ3¡«4K¿ì¶àÁË




http://blog.csdn.net/larntin2002/archive/2008/03/11/2166077.aspx
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ