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

centos yumÔ´163ºÍsohu(¾õµÃÎÒÓеÀµÂÎÊÌâµÄÃâ½ü,Çë×ÔÖØ)

·¢²¼Ê±¼ä:2010-07-16 23:49:19À´Ô´:ºìÁª×÷Õß:¶éÂäkiss
[i=s] ±¾Ìû×îºóÓÉ ¶éÂäkiss ÓÚ 2010-7-16 23:51 ±à¼­ [/i]

ÔÚÍøÉÏÕÒÁ˺ܶà¹ØÓÚÔ´µÄ£¬¶¼ÊÇ°ÑÔ´µÄÅäÖÃдÏÂÀ´£¬¸Ð¾õÕâ¾ÍÊÇΪÁËƪ·ù³¤Ò»µã£¬ÎÒ˵һϼòµ¥µÄ·½·¨¾Í£´²½£¬»¹ÓУ²²½ÊÇÖظ´µÄ,Ö§³ÖµÄ°æ±¾Ó¦¸ÃÊÇcentos4»òcentos5£¬Ò²Ö§³Ö×îºóµÄcentos5.5,ÀíÂÛÉÏÖ§³Öredhat 4»òrehat5µÄÆóÒµ°æ¡£Ö»ÒªredhatµÄÄÚºËÓëcentosºÍÒ»Ñù¾Í¿ÉÒÔÓÃ(ÕâÀïÎÒ²»×ö±£Ö¤)[code]cd /etc/yum.repos.d/[/code][code]wget http://mirrors.163.com/.help/CentOS-Base-163.repo[/code][code]wget http://mirrors.sohu.com/help/CentOS-Base-sohu.repo[/code][code]yum makecache[/code]-------------------------------------------------------------------------------
ÕâÑùÖ®ºóÄãÒÔ¸üÐÂÁË£¬ÎҸоõÕ⣲¸öÊDZȽϿìµÄ£¬±Ï¾¹ÊÇ´óÍøÕ¾µÄ£¬Óɴ˿ɼû¹úÄÚÒ²Ö§³Ö¿ªÔ´ÁË¡£Õ⣲¸öÔ´Öл¹ÓбðµÄ°æ±¾£¬´ó¼Ò¿ÉÒÔÈ¥http://mirrors.163.comºÍhttp://mirrors.sohu.com¿´¿´±ðµÄ£¬ÅäÖò¶à¡£²»»áµÄ¾Í¿´Ï°ïÖú¡£
-------------------------------------------------------------------------------
ÔÚºìÉ«µÄ·Ö¸îÏßÏ£¬ÊÇÎÒÔÚÍøÉÏ×ܽáµÄ.ÎÒ˵һÏ£¬centosºÍredhat¹«ÓÃÔ´£¬ÔÚÕâÀïÏÈ˵һÏ£¬Èç¹ûÄãµÄredhat as 3ÒÔϵİ汾£¬¾Í²»ÒªÍùÏ¿´ÁË¡£ÒòΪCentosÊÇredhat asµÄÔ´Âë±àÒëµÄ£¬ËùÒÔÔÚÀíÂÛÉÏÊÇ¿ÉÒÔͨÓõģ¬ÔÚÒ»°ã¶¼ÊÇredhatÓÃcentosµÄÔ´£¬ÒªÊÇ·´¹ýÀ´£¬ÎÒʲôҲ²»Ëµ........ÔÚÓÃ֮ǰ¿´Ò»ÏÂcentos¶ÔÓ¦redhatµÄ°æ±¾[code]cat /proc/version[/code]ÏÂÃæÊÇÎÒµÄcentos 5.5ÏÔʾµÄÐÅÏ¢:
Linux version 2.6.18-194.el5 (mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Fri Apr 2 14:58:35 EDT 2010
º¹......ÎÒÕâ¸öÏÔʾÊÇ redhat 4.1.2¿´ÏÂredhatµÄ°æ±¾ºÍÕâ¸öÒ»Ñù²»Ò»Ñù¡£ÆäʵֻҪÊÇÄں˲¶à¾Í³É£¬ÓÃuname -r¿´Ï°ɡ£
ÕâÀïÎÒÏÈ˵Ã÷Ï£¬ÒªÊÇÏëÓÃchentosµÄÔ´¸üÐÂredhat£¬ÄÇô¾ÍÖ±½Ó×°CentOS°É
ÔÚrehatÖÐÏÈɾ³ýredhat×Ô´øµÄyum,Óñ¿·½·¨ rpm -qa|gredp yumÈ»ºóÒ»¸öÒ»¸öµÄ rpm -e°É¡¡½¨Òé¼Ó¸öÇ¿ÖƵIJÎÊý --nodeps¡£
¶¼ÅªÍêÁËÖ®ºó×°ÉÏcentosµÄyum£¬ÕÒÕâ¸ö°²×°°üµÄÄã¾ÍÕâÑù£¬±ÈÈçÄãµÄÊÇ redhat as 5.4ÄÇôÄã¾ÍÈ¥ÎÒÉÏÃæ˵µÄ£²¸ö¾µÏñÖÐcentosĿ¼ÖУ¬ÕÒµ½ÏàÓ¦µÄ°æ±¾.Ó¦¸ÃÊÇyum¿ªÍ·µÄ£¬rpm -ivh¡¡ÄãµÄÄǸö°üµÄµØÖ·.ȫŪºÃÁËÖ®ºóÔÚ/etc/yum.repos.dµÄĿ¼ÏµĶ«Î÷×ö¸ö±¸·Ý£¬È»ºó¾Íȫɾ³ýÁË£¬ÔÚÏñÎÒÉÏÃæÄÇÑù¾Í¿ÉÒÔÁË¡£
-------------------------------------------------------------------------------
ÎÒÔÚÕâÀï˵һÏ£¬ÔÚredhatÓÃcentosÔ´ÓеÄÄÚÈÝÊÇ´ÓÍøÉÏÊÕ¼¯£¬ÎÒ²»±£Ö¤ÄÜÓã¬ÓеÄÊÇÎÒ×Ô¼ºÀí½âµÄ£¬¶ÔÓÚÄǸö˵ÊÇred hat 4.1.2¿ÉÊÇÎÒµÄÊÇcentos 5.5²»¹ýÎÒҪ˵£¬redhat¡¡£µ.£µÓ¦¸ÃÊÇÄÜÓõģ¬ÎÒÊÖͷûÓÐredhat asµÄÅÌ£¬ËùÒÔûÓа취²âÊÔ
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 12 ÌõÆÀÂÛ

  1. zhangpeijun ÓÚ 2012-10-23 18:52:10·¢±í:

    ÏÈÊÕ²ØÁË

  2. lucas.w ÓÚ 2012-10-18 11:16:57·¢±í:

    дµÄºÜÏêϸ

  3. chengshiding ÓÚ 2010-07-18 22:02:46·¢±í:

    ÒýÓÃ:
    centos yumÔ´163ºÍsohu(¾õµÃÎÒÓеÀµÂÎÊÌâµÄÃâ½ü,Çë×ÔÖØ)

    ºÜºÃ£¬ºÜÇ¿´ó¡£
    ²»¹ýÎÒÓöµ½ÎÊÌâÁË£¬ÎÒÖªµÀÄãÒ²ÊÇCentOS 5.5 £¬Çó°ïÖú£¬¾ßÌå²Î¼û
    //m.ajphoenix.com/bbs/thread-182730-1-1.html

  4. kevin_freedom ÓÚ 2010-07-17 22:58:59·¢±í:

    ÎÒÈ¥ÑéÖ¤£¡

  5. Mr.R ÓÚ 2010-07-17 21:27:08·¢±í:

    ¸Ðл¥Ö÷¡£ ѧϰÁË¡£¡£¡£

  6. ÍõÖÐÔÆ ÓÚ 2010-07-17 18:59:51·¢±í:

    ÓõÄÊÔÊÔ

  7. ¶éÂäkiss ÓÚ 2010-07-17 17:33:50·¢±í:

    5# alick


    лл£¬ÕâÏÂÃ÷°×ÁË¡¡

  8. haolong ÓÚ 2010-07-17 15:10:33·¢±í:

    ÎÒÓÃCENTOSÔ´À´¸üÐÂREDHAT9°æ±¾

  9. alick ÓÚ 2010-07-17 12:59:14·¢±í:

    ÒýÓÃ:
    ÄǸö˵ÊÇred hat 4.1.2
    ÊÇgccµÄ°æ±¾

  10. chengshiding ÓÚ 2010-07-17 11:33:35·¢±í:

    ºÜºÃ£¬ÎÞÂÛÈçºÎ£¬ÎÒµÄCentOS5.5»¹ÊÇÏÂÔز»ÏÂÀ´

  11. rotvnx ÓÚ 2010-07-17 09:40:47·¢±í:

    ºÜ°ô

  12. ¿§·ÈÄк¢ ÓÚ 2010-07-17 02:42:51·¢±í:

    (e:e2s