Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ʹÓÃyumÉý¼¶ºÍyumʹÓüò½é(LInux, RedHat, Fedora)

ʲôÊÇ yum£¿
yum ÊÇ yellowdog updater modified µÄËõд¡£yellowdog ÊÇÒ»¸ö Linux µÄ distribution£¬RH ½«ÕâÖÖÉý¼¶¼¼ÊõÀûÓõ½×Ô¼ºµÄ distribution ÐγÉÁËÏÖÔÚµÄ yum£¬¸Ð¾õÉÏ yum ºÍ apt µÄÔ­ÀíÀàËÆ£¬µ«ÊÇ apt ÊDZàÒë´úÂ룬ִÐÐЧÂÊÔ¶¸ßÓÚʹÓà python д³ÉµÄ yum¡£ÕâÊÇ yum µÄÖ÷Ò³¡£
yum µÄÀíÄîÊÇʹÓÃÒ»¸öÖÐÐIJֿâ(repository)¹ÜÀíÒ»²¿·ÖÉõÖÁÒ»¸ö distribution µÄÓ¦ÓóÌÐòÏ໥¹Øϵ£¬¸ù¾Ý¼ÆËã³öÀ´µÄÈí¼þÒÀÀµ¹Øϵ½øÐÐÏà¹ØµÄÉý¼¶¡¢°²×°¡¢É¾³ýµÈµÈ²Ù×÷£¬¼õÉÙÁË Linux Óû§Ò»Ö±Í·Í´µÄ dependencies µÄÎÊÌâ¡£ÕâÒ»µãÉÏ£¬yum ºÍ apt Ïàͬ¡£apt ԭΪ debian µÄ deb ÀàÐÍÈí¼þ¹ÜÀíËùʹÓ㬵«ÊÇÏÖÔÚÒ²ÄÜÓõ½ RH ÃÅÏ嵀 rpm ÁË¡£
Ò»°ãÕâÀàÈí¼þͨ¹ýÒ»¸ö»òÕ߶à¸öÅäÖÃÎļþÃèÊö¶ÔÓ¦µÄ repository µÄÍøÂçµØÖ·£¬Í¨¹ý http »òÕß ftp ЭÒéÔÚÐèÒªµÄʱºò´Ó repository »ñµÃ±ØÒªµÄÐÅÏ¢£¬ÏÂÔØÏà¹ØµÄÈí¼þ°ü¡£ÕâÑù£¬±¾µØÓû§Í¨¹ý½¨Á¢²»Í¬µÄ repository µÄÃèÊö˵Ã÷£¬ÔÚÓÐ Internet Á¬½Óʱ¾ÍÄÜ·½±ã½øÐÐϵͳµÄÉý¼¶Î¬»¤¹¤×÷¡£ÁíÍ⣬Èç¹ûÐèҪʹÓôúÀí£¬¿ÉÒÔÓà http_proxy ºÍ ftp_proxy ÕâЩ shell ÀïÃæ±ê×¼»·¾³±äÁ¿µÄÉ趨¡£
repository ÊÇÓà yum-arch »òÕß createrepo ÃüÁî´´½¨µÄ£¬Ò²¿ÉÒÔÓñðÈËÒÑÓÐµÄ repository ×÷Ϊ¾µÏñ£¬ÕâÀﲿ̽ÌÖÈçºÎ½¨Á¢Ò»¸ö repository¡£
yum µÄ»ù±¾²Ù×÷
yum µÄ»ù±¾²Ù×÷°üÀ¨Èí¼þµÄ°²×°(±¾µØ£¬ÍøÂç)£¬Éý¼¶(±¾µØ£¬ÍøÂç)£¬Ð¶ÔØ£¬ÁíÍ⻹ÓÐÒ»¶¨µÄ²éѯ¹¦ÄÜ¡£
É趨ºÃÁ˱¾µØµÄ yum Ö®ºó£¬¾Í¿ÉÒԺܷ½±ãµÄ½øÐа²×°(ÏÖÔÚ¼ÙÉè¾ÍÓà fc5 ×Ô´øµÄ yum ½øÐа²×°)£¬ÈçÎÒÃÇÐèÒª°²×°ÐéÄâ»ú bochs£¬¿ÉÒÔʹÓÃ
# yum install bochs
Èç¹û±¾µØÓÐÏà¹ØµÄ rpm Îļþ£¬¿ÉÒÔÓÃ
# yum localinstall ur.rpm
Ç°Õßµ¼Ö yum ËÑË÷ÏÖÓÐ repository ÖеÄÊý¾Ý(Ò»°ãÏÈ»áÁ¬½Óµ½ÕâЩ repository ÏÂÔظüÐÂÊý¾Ý)£¬Èç¹û·¢ÏÖÓдËÈí¼þ£¬Ôò»áͨ¹ý·ÖÎöÆä dependencies È»ºóÏÂÔز¢°²×°ËùÐèÈí¼þ¡£
Èç¹ûÐèҪжÔØ£¬¿ÉÒÔʹÓÃ
# yum remove bochs
»òÕß
# yum erase bochs
ÕâÒ²»áÏû½â¶ÔÓ¦µÄ dependencies£¬Èçɾ³ý firefox »á°Ñ R ͬʱɾµô£¬ÒòΪ R ÒÀÀµÓÚ firefox
¸üÐÂij¸öÈí¼þ¿ÉÒÔÓÃ
# yum update firefox
Èç¹û²»´øºóÃæµÄ³ÌÐòÃû£¬½«»áÉý¼¶ËùÓпÉÒÔÉý¼¶µÄÈí¼þ¡£¹ýʱµÄÈí¼þÈç¹ûÐèÒª´¦Àí(Èçɾµô)¿ÉÒÔÌí¼Ó --obsolete ²ÎÊý£¬»òÕßʹÓà upgrade¡£Èç¹ûÐèÒª¸ü×Ô¶¯»¯Ò»Ð©µÄ²Ù×÷(±ÜÃâ»Ø´ðһЩÎÊÌâ)»¹¿ÉÒÔÔö¼ÓÒ»


Ïà¹ØÎĵµ£º

linux³õѧ

ÇëÕÒͬѧ°ïæװÁËlinuxµÄ²Ù×÷ϵͳ£¬ubuntu9.1£¬´Ó´ËÎÒҲ̤ÉÏÁË˫ϵͳµÄÕ÷³Ì……
²»¹ýÕâ¸ö¹ý³Ì²¢²»ÊÇÒ»·«·ç˳µÄ¡£
Ê×ÏÈÒ»¸öºÜ´óµÄÎÊÌ⣬¾ÍÊDz»ÄÜÉÏÍø£¬Ñ§Ð£µÄ¿Í»§¶ËÔÚlinuxϲ»ÄÜʹÓ㬾Ý˵ҪÓÃÒ»¸öʲôÈí¼þ²ÅÐУ¬Õâ¸öÎÊÌâ´ý½â¾ö¡£
Æä´Î¾ÍÊÇ×ÖÌåÎÊÌ⣬linuxÏÂ×Ô´øµÄ×ÖÌåÌ«ÉÙ£¬ºÜ¶à¶«Î÷¶¼ÏÔʾ²»Õý³£¡£´Ówindow ......

linuxÆô¶¯·ÖÎö

 linuxµÄ/etcÏÂÃæµÄprofileÎļþ¼Ç¼ÁËһЩËùÓÐÓû§¹«ÓõĻ·¾³±äÁ¿£¬rc.local¼Ç¼Óû§µÇ½µÄʱºòÒªÖ´ÐеÄshellÃüÁî¡£¸÷¸öÓû§µÄhomeĿ¼ÏÂÒ²ÓÐ.bashprofileÓÃÓÚÅäÖÃÓû§×Ô¼ºµÄ»·¾³±äÁ¿,.bashrcÓû§µÇ½µÄʱºòÖ´ÐеÄÃüÁî¡£
linuxÓÐ×Ô¼ºÒ»Ì×ÍêÕûµÄÆô¶¯Ìåϵ£¬×¥×¡ÁËlinuxÆô¶¯µÄÂöÂ磬linuxµÄÆô¶¯¹ý³Ì½«²»ÔÙÉñÃØ¡£
±¾ÎÄÖÐ ......

linux»ù±¾ÃüÁîÓëdos±È½Ï

 ×òÌì,¿ªÊ¼×Ôѧ»ã±àÓïÑÔ,ËäȻ֪µÀÃüÁîÌáʾ·ûÏ¿ÉÒÔѧasm,µ«ÓÉÓÚºÃÆæµÄÇýʹ,¸üÏëÉîÈëµÄÁ˽âdosϵͳ,ËùÒÔ½ñÌ컨Á˺ܳ¤Ê±¼ä,°´ÁËÒ»¸ödos 7.1°æ±¾,¿ªÊ¼dosµÄѧϰ.ÏÖÔÚÒѾ­ÊÇ3ϵͳ²¢´æÁË,ubuntu 9.10,xp,dos 7.1,¸Ð¾õ»¹²»´í.¿´µ½ÃüÁî,ÒÔÇ°Í·ºÜ´ó,µ«ÏÖÔÚÔ½À´Ô½Ï²»¶ÉÏÁË.°Ñ×Ô¼ºÖªµÀµÄlinux³£ÓÃÃüÁîºÍdosÂÔ×÷±È½Ï,¿ÉÄÜÓÐÎó.ÔÝÊ ......

Linuxѧϰ±Ê¼Ç

µÚËĽ² Ŀ¼ £¨video07,08,09,10£© Ç¿ÖÆλÓëðÏÕλ£ºÕë¶Ôu,g,o·Ö±ðÓÐset uid,set gid,¼°sticky¡£
set uid: chmod u+s DirName 
set gid: chmod g+s DirName 
sticky:   chmod o+t DirName
ÀýÈç:ls –l /bin/ping ʹÓÃÁËset uid,±£Ö¤ÈκÎÓû§Ö´ÐÐpingÃüÁîʱ¶¼ÊÇÒÔrootÓû§Éí·Ý. ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ