Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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ϵͳµ÷ÓÃÁбí

 


 
 
±¾ÎÄÁгöÁ˴󲿷ֳ£¼ûµÄLinuxϵͳµ÷Ó㬲¢¸½ÓмòÒªÖÐÎÄ˵Ã÷¡£
ÒÔÏÂÊÇLinuxϵͳµ÷ÓõÄÒ»¸öÁÐ±í£¬°üº¬Á˴󲿷ֳ£ÓÃϵͳµ÷ÓúÍÓÉϵͳµ÷ÓÃÅÉÉú³öµÄµÄº¯Êý¡£Õâ¿ÉÄÜÊÇÄãÔÚ»¥ÁªÍøÉÏËùÄÜ¿´µ½µÄΨһһƪÖÐÎÄ×¢Ê͵ÄLinuxϵͳµ÷ÓÃÁÐ±í£¬¼´Ê¹ÊǼòµ¥µÄ×ÖĸÐòÓ¢ÎÄÁÐ±í£¬ÄÜ× ......

LinuxÈ˲ÅÐèÇó¸ßÕÇ UnixÓëWinÐèÇó³Öƽ

 ÐÂÎÅÀ´Ô´:¿ªÔ´ÖйúÉçÇø
µ÷²é·¢ÏÖ£¬Ëæ׏úÄÚʹÓÃLinuxµÄµ¥Î»Ô½À´Ô½¶à£¬Ïà¹ØÈ˲ŵÄÐèÇóËæ¼´²úÉú£¬²¢ÇÒ³ÊÏÖ³ö¹©²»Ó¦ÇóµÄ¾ÖÃ棬Æä´ÓÒµÈËÔ±µÄ¾ÍÒµ»ú»áÏÔןßÓÚUnix´ÓÒµÕߣ¬ÓëWindows»ù±¾³Öƽ¡£
´Óµ®ÉúÆð£¬Linux¾ÍÒÔ¿ª·ÅÔ´´úÂëµÄģʽ¼°Æ䰲ȫÐÔºÍÎȶ¨ÐÔÎüÒý×ÅÈ«ÊÀ½ç¼ÆËã»ú°®ºÃÕß¡£¶øËæ×ÅLinuxÔÚÖйúÊг¡Ñ¸ÃÍ·¢Õ¹£¬¹úÄÚLin ......

linuxѧϰ±Ê¼Ç

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

ѧϰLinuxµÄһЩ±Ê¼Ç

 ½ñÌìÆð¿ªÊ¼¶ÔLinuxѧϰ×öЩÏà¹ØµÄ±Ê¼Ç£¬ÒÔ±ãÈÕºóÄܹ»ÓõÄÉÏ
1.ÈçºÎÈÃsshÖ»ÔÊÐíÖ¸¶¨µÄÓû§µÇ¼
    ¿ÉÒÔÔÚ/etc/ssh/sshd_configÖÐÔö¼ÓAllowUsers  user_name£¬È»ºóÖØÆô·þÎñ(service sshd restart)
2.¸Ä±ässhµÄ¶Ë¿ÚºÅ
   ¿ÉÔÚ/etc/ssh/ssd_configÎļþÖмÓÈëÀýÈ磺Port 2222£¬È»ºóÖØÆ ......

linux cÎÊÌ⼯½õ

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