Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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µÄIPv6Ìá¸ßÍøËÙ


1¡¢ÓÃviÔÚ/etc/modprobe.d
Ŀ¼ÏÂн¨Îı¾Îļþbad_list
2¡¢ÔÚbad_list
ÀïÐÂÔöÒ»ÐÐalias net-pf-10 off
3¡¢ÖØÆðϵͳ£ºshutdown -r now
4¡¢½ûÓÃ֮ǰ»òÖ®ºó¿ÉÒÔÔÚ¿ØÖÆ̨ÓÃÈçÏÂÃüÁî¼ì²éÊDz»ÊÇÆðÓÃÁËIPv6:
     ip a | grep inet6
¡¡  Êä³öÁËÄÚÈݱíÃ÷IPv6ÆðÓÃÁË£¬Ê²Ã´¶¼Ã»ÓбíÃ÷ÒѽûÓÃÁË
£»Ò ......

Linuxƽ̨Èí¼þ¹¤¾ßʹÓÃ

 1£¬ÖÆ×÷yaffs2ÎļþÓ³Ïñ¡£
       ¶ÔÓ¦ÓÃÓÚandroidƽ̨µÄuserdataÊý¾Ý£¬ÓÐʱÐèÒªÌí¼ÓһЩҪÓõÄÈí¼þºÍÊý¾Ý½øÈëÆäÖУ¬¿ÉÒÔÓÃÒ»¸ö¹¤¾ß°ümakeyaffs2imageÀ´Íê³É¡£´úÌæÉÕ¼userdata¾Í¿ÉÒÔÁË£¬×¢ÒâÎļþ´óСҲҪ¸Ä±ä£¬Ê¹ÓÃʱ½øÈëϵͳºóÓÃcd data,ls¾Í¿ÉÒÔ¿´µ½Òª´¦ÀíµÄ¶«Î÷¡£²Ù×÷·½Ê½Îª£º¼ÙÉè ......

linuxѧϰ±Ê¼Ç

½ñÌì°Ñ×î½üѧϰubuntuϵͳµÄÀú³ÌÉÔ×÷×ܽá,Ï£Íû¶ÔÐÂÊÖÓÐÓÃ.
ÒÔÎÒµçÄÔΪÀý,˵һϹػúÖØÆôÃüÁî.ºìÉ«¼´ÎªÃüÁî
[root@liwangjun1990 root]#logout                ---×¢ÏúÕË»§
[root@liwangjun1990 root]#shutdown –h now —— ......

linux cÎÊÌ⼯½õ

1.ΪʲôÎÒдµÄMakefile£¬Ôڱ༭ÁËÔ´´úÂëÎļþºó£¬Ê¹ÓÃmake£¬makeÈ´ÌáʾĿ±êÎļþÒѾ­Îª×îеÄÁË£¡
2.OpenGL,ÔÚ´°¿ÚÖл­µãʱ£¬ÔõÑùʹÓÃglVertexi()º¯Êý£¿ÒòΪ´«µÝµÄ²ÎÊýÈç¹ûÊÇ´óÓÚ1µÄintÐÍ£¬Ôò²»ÐУ¬¶ø±ØÐë´«µÝ[-0.1~0.1]Ö®¼äµÄfloat£¬¶øÇÒʹÓú¯Êý
gVertex2f().
3.OpenGL,ʹÓò˵¥Ê±£¬ÔõÑù½â¾öµã»÷²Ëµ¥ºó²»Òª²¶×½GLUT_UPÊ ......

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ºÅ