LinuxÈ«¹¥ÂÔ
LinuxÈ«¹¥ÂÔ--yum·þÎñÆ÷ÅäÖÃ
Yum£¨È«³ÆΪ Yellow dog Updater, Modified£©ÊÇÒ»¸öÔÚFedoraÖеÄshellÇ°¶ËÈí¼þ°ü¹ÜÀíÆ÷¡£»ùÓÚrpm°ü¹ÜÀí£¬Äܹ»´ÓÖ¸¶¨µÄ·þÎñÆ÷×Ô¶¯ÏÂÔØRPM°ü²¢ÇÒ°²×°£¬¿ÉÒÔ×Ô¶¯´¦Àí ÒÀÀµÐÔ¹Øϵ£¬²¢ÇÒÒ»´Î°²×°ËùÓÐÒÀÀµµÄÈíÌå°ü£¬ÎÞÐë·±ËöµØÒ»´Î´ÎÏÂÔØ¡¢°²×°¡£
¡¡¡¡ÈíÌå°üÀ´Ô´
¿É¹©YumÏÂÔصÄÈíÌå°ü°üÀ¨fedora ±¾ÉíµÄÈíÌå°üÒÔ¼°Ô´×Ôrpm.livna.orgµÄFedora Extras£¬È«²¿ÊÇÓÉLinuxÉçÇøά»¤µÄ£¬²¢ÇÒ»ù±¾ÊÇ×ÔÓÉÈíÌå¡£ËùÓеİü¶¼ÓÐÒ»¸ö¶ÀÁ¢µÄGPGÇ©Ãû£¬Ö÷ÒªÊÇΪÁËÄãµÄϵͳ°²È«¡£¶ø¶ÔÓÚFedora core 4.0 µÄÓû§£¬rpm.livna.org µÄÇ©ÃûÊÇ×Ô¶¯µ¼Èë²¢°²×°µÄ¡£
ͼÐλ¯Ç°¶Ë
¡¡¡¡YumµÄͼÐλ¯Ç°¶ËÖ÷ÒªÓÐyumexºÍkyum¡£ËüÃDz¢²»ÊǶÀÁ¢ÓÚYumµÄ£¬¶øÊÇYumµÄͼÐÎÇ°¶Ë£¬Ò²¾ÍÊÇ˵ÔÚ°²×°ºÍʹÓÃYumexºÍkyumͬʱ£¬¶¼ÊÇÒÔYumµÄ°²×°ºÍÅäÖÃΪ»ù´¡£»ËùÒÔÔÚÓÃYumex»òkyum ʱ£¬±ØÐëÏÈ°²×°ÅäÖÃYum¡£
Ò».×öºÃ×¼±¸¹¤×÷.
1.°²×°FTP,Ò»°ã¶¼ÊÇͨ¹ýFTPÀ´ÏÂÔØÈí¼þ°ü.
°²×°ºÃºóÆô¶¯Ëü.
2.ÏÖÔÚ½øÐп½±´Îļþ.
°Ñ¹âÅÌÀïµÄËùÓÐÎļþ¶¼¿½±´µ½/var/ftp/pub/ÏÂÃæ.ʵ¼ÊÉÏÖ»¿½±´Server ºÍVTÁ½¸öÎļþ¹ýÈ¥¾ÍÐÐÁË,»¹¿ÉÒÔ²»ÓðÑÈ«²¿RPM°²×°Èí¼þ°ü¿½±´¹ýÈ¥,Ì«¶àÁË,Ò»¹²2.4G×óÓÒ,Èç¹ûϵͳһ¿ªÊ¼°²×°·ÖÅä¸øvarµÄ¿Õ¼ä²»¹»¾Í¿ÉÒÔÕâÑù×ö.
Íê³ÉºóÇл»µ½/var/ftp/pub/Ŀ¼ÏÂ
ɾ³ý*.html
ɾ³ýServer/repodata/TRANS.TBL
ɾ³ýVT/repodata/TRANS.TBL
ÒÔÉÏÊǽ¨Òéɾ³ýµÄ,²»É¾³ýÒ²¿ÉÒÔ.
¶þ.ÅäÖÿͻ§¶Ë
½øÈ¥ºóÌí¼ÓÈçÏÂÄÚÈÝ.×¢Òâ¿´ÇåÁËÄÚÈݺÜÀàËÆ.
ÅäÖÃÎļþÄÚÈݼò½é£º
[ ]ÄÚµÄÊDzֿâµÄÃû×Ö
name²Ö¿âµÄÃèÊö
baseurl ÊÇÄãµÄYUMÔ´µØÖ·,ÒòΪÕâÀïÅäÖõÄÊÇFTP,»¹¿ÉÒÔÊÇHTTP,FILEµÈ
enabled ÊÇ·ñÆôÓÃÕâ¸ö²Ö¿â£¬1ΪÆðÓã¬0Ϊ½ûÓÃ
gpgcheck ÊÇ·ñ¼ì²éGPGÇ©Ãû£¨ÓÃÀ´ÑéÖ¤Òª°²×°µÄ°üÊDz»ÊÇREDHAT¹Ù·½µÄ£©
GPGKEY µÄ´æ·ÅµØÖ·ÐèÒªÓÃÏÂÃæµÄÃüÁîµ½ÈëÕâ¸öÇ©Ãû¡£²ÅÄÜʹÓÃÕâÏÄÜ
Èý.ÅäÖ÷þÎñÆ÷
°²×°createrepo¹¤¾ß£¬È»ºóÓÃÕâ¸ö¹¤¾ßÉú³ÉYUMͨÓÃÊý¾Ý¿â.
¿É¿´µ½Ò»¸öÊÇ°²×°,Á½¸ö²Ù×÷,ºÜÀàËƵÄ.Ò²¿ÉÒÔ¿´µ½Êdzɹ¦µÄ.
ÕâÑù¾ÍOKÏÂ
ËÄ.ÏÂÃæ¿´ÏÂyumµÄÃüÁîºÍ½øÐвâÊÔ.
1. yum install <package> ÕâÀïÊÇ°²×°ÏÂÔصÄÈí¼þ°ü,ÓÉÓÚ±¾ÊµÑéûÓÐÌṩFTPÏÂÔØ.
2.yum localinstall <package> ±¾µØ°²×°Èí¼þ°ü,ÔÚÕâÀï±¾·þÎñÆ÷×öYUMÔ´.¿´¸öÀý×Ó.
[root@rhel5 /]# yum localinstall /var/ftp/pub/Server/dhcp*
Loading "rhnplugin" plugin
Loading "installonlyn" pl
Ïà¹ØÎĵµ£º
½ñÌìÔÚVMÖа²×°REDHat9Ö®ºó£¬ÔÚÖÕ¶ËÖÐÖ´ÐÐifconfigÖ¸Áî·¢ÏÖ²»ÄÜ»ñÈ¡²»µ½IP£¬Ö´ÐÐsetupÃüÁÐÞ¸ÄIP»ñÈ¡·½Ê½Îª¶¯Ì¬»ñÈ¡ºó»¹ÊÇ»ñÈ¡²»µ½£¬Ö´ÐÐsetup eth0 ÏÔʾ“ÎÞÁ¬½Ó¡£¡£¡£”ÉÏÍø²éÕÒÔÒòºÜ¶àÈ˶¼ËµÊÇÇý¶¯Ã»°²×°¡¢Íø¿¨Ã»°²×°µÈ£¬×îºó·¢ÏÖ¶¼Êdz¶µ¡£ÕæÕýµÄÔÒòÊÇδ°²×°VMware Tools¡£°²×°VMtools·½Ê½
1 µã» ......
ÄÚºËÓëÓ¦ÓóÌÐò·Ö¿ª¹¹½¨
ÄÚºËÓëÓ¦ÓóÌÐò±»Éè¼Æ³É·Ö¿ª¹¹½¨µÄ£¬ÓÉCÍ·ÎļþºÍC¿âʵÏÖ£¨KEMIN:ÎÒÃÇÒ»°ã¶¼ÊÇ»ùÓÚ¿â±àÒë¹¹½¨Ó¦ÓóÌÐò£¬ÕâÊÇĬÈϵġ£µ«ÊÇÈç¹ûûÓÐÓëʵʱϵͳµÄͳһ¹¹½¨·½Ê½¶Ô±È£¬ÈÏʶÃæºÜµ¥Ò»£¬ÄÑÒÔ½ÏÈ«ÃæÈÏʶ¹¹½¨Èí¼þµÄ±¾ÖÊ£©¡£·Ö¿ª¹¹½¨µÄÓŵãÊÇÒ×ÓÚ¶ÀÁ¢¿ª·¢ÐÂÓ¦Óã¬Âú×㶯̬ÐèÇó£»È±µã»ò´ú¼ÛÊǶÔÄÚºËÓëÓ¦ÓÃµÄ½Ó¿Ú ......
³£¼ûµÄÁ½ÖÖ´íÎó£º
1.ÔÚ²åÈëÄ£¿éµÄʱºò³öÏÖÈçÏÂÎÊÌ⣺
# insmod globalmem.ko insmod: error inserting 'globalmem.ko': -1 Device or resource busy
ANSWER:Ö÷É豸ºÅ±»Õ¼ÓÃÁË£¬»»ÁíÒ»¸ö¡£ Äã°Ñglobalmem.cÎļþÀïÃæµÄºê¶¨ÒåÄÇÀï¸ÄΪ226»òÆäËû£¬È»ºóÔÙ±àÒë¾Í¿ÉÒÔ²åÈëÁË£¡
Ìرð×¢Ò⣺   ......
VM-Linux-ÈçºÎÅäÖÃÍøÂç(2009-07-26 03:01:29)
±êÇ©£ºvm ÅäÖÃÍøÂç linux it
·ÖÀࣺIT
ÅäÖÃÐéÄâ»úµÄÍøÂç
¡¡¡¡¹âÓÐÐéÄâ»úÊDz»¹»µÄ£¬ÎÒÃÇÐèҪʹÓÃÐéÄâ»úºÍÕæʵÖ÷»úÒÔ¼°ÆäËûµÄÐéÄâ»ú½øÐÐͨѶ¡£Í¨Ñ¶·ÖÁ½¸ö²¿·Ö£¬Ò»¸öÊǾÖÓòÍøÄڵģ¬ÁíÒ»¸öÊÇÁ¬½Óµ½¹«ÍøµÄ¡£ÕâÒ»²¿·ÖÊÇÖص㣬ÈýÖÖ²»Í¬Ä£Ê½µÄÓÃ;¾ÍÒª½ÒÏþ ......