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

LinuxË«Íø¿¨°ó¶¨ÊµÏÖ¸ºÔؾùºâºÍʧЧ±£»¤

Õâ½éÉܵÄLinuxË«Íø¿¨°ó¶¨ÊµÏÖ¾ÍÊÇʹÓÃÁ½¿éÍø¿¨ÐéÄâ³ÉΪһ¿éÍø¿¨£¬Õâ¸ö¾ÛºÏÆðÀ´µÄÉ豸¿´ÆðÀ´ÊÇÒ»¸öµ¥¶ÀµÄÒÔÌ«Íø½Ó¿ÚÉ豸£¬Í¨Ë׵㽲¾ÍÊÇÁ½¿éÍø¿¨¾ßÓÐÏàͬµÄIPµØÖ·¶ø²¢ÐÐÁ´½Ó¾ÛºÏ³ÉÒ»¸öÂß¼­Á´Â·¹¤×÷¡£ÆäʵÕâÏî¼¼ÊõÔÚSunºÍCiscoÖÐÔçÒÑ´æÔÚ£¬±»³ÆΪTrunkingºÍEtherchannel ¼¼Êõ£¬ÔÚLinuxµÄ2.4.xµÄÄÚºËÖоͲÉÓÃÁËÕâÖÖ¼¼Êõ£¬±»³ÆΪbonding¡£bonding¼¼ÊõµÄ×îÔçÓ¦ÓÃÊÇÔÚ¼¯Èº——beowulfÉÏ£¬ÎªÁËÌá¸ß ¼¯Èº½Úµã¼äµÄÊý¾Ý´«Êä¶øÉè¼ÆµÄ¡£ÏÂÃæÎÒÃÇÌÖÂÛÒ»ÏÂbonding µÄÔ­Àí,ʲôÊÇbondingÐèÒª´ÓÍø¿¨µÄ»ìÔÓ(promisc)ģʽ˵Æð¡£ÎÒÃÇÖªµÀ£¬ÔÚÕý³£Çé¿öÏ£¬Íø¿¨Ö»½ÓÊÕÄ¿µÄÓ²¼þµØÖ·(MAC Address)ÊÇ×ÔÉíMacµÄÒÔÌ«ÍøÖ¡£¬¶ÔÓÚ±ðµÄÊý¾ÝÖ¡¶¼Â˵ô£¬ÒÔ¼õÇáÇý¶¯³ÌÐòµÄ¸ºµ£¡£µ«ÊÇÍø¿¨Ò²Ö§³ÖÁíÍâÒ»ÖÖ±»³ÆΪ»ìÔÓpromiscµÄģʽ£¬¿ÉÒÔ½Ó ÊÕÍøÂçÉÏËùÓеÄÖ¡£¬±ÈÈç˵tcpdump£¬¾ÍÊÇÔËÐÐÔÚÕâ¸öģʽÏ¡£bondingÒ²ÔËÐÐÔÚÕâ¸öģʽÏ£¬¶øÇÒÐÞ¸ÄÁËÇý¶¯³ÌÐòÖеÄmacµØÖ·£¬½«Á½¿éÍø¿¨µÄ MacµØÖ·¸Ä³ÉÏàͬ£¬¿ÉÒÔ½ÓÊÕÌض¨macµÄÊý¾ÝÖ¡¡£È»ºó°ÑÏàÓ¦µÄÊý¾ÝÖ¡´«Ë͸øbondÇý¶¯³ÌÐò´¦Àí¡£ ÆäʵÔÚ linux ½«Ë«Íø¿¨°ó¶¨³ÉÒ»¿éÍø¿¨£¬ÅäÖÃÆðÀ´·Ç³£¼òµ¥£¬Ö»ÐèÒª¼òµ¥¼¸¸ö²½Öè¼´¿ÉʵÏÖ£¬ÏÂÃæÎÒÃǾÍÒ»ÆðÀ´ÌåÑéһϰɡ£Ê×ÏÈ£¬»¹Êǽ«±¾´ÎʵÑéµÄ»·¾³×ö¸ö¼òµ¥µÄ½éÉÜ£º ²Ù×÷ϵͳ£º RedHat Enterprise linux 5.4 (VMware) ÄÚ ºË£º Linux heng 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686 athlon i386 GNU/Linux °ó¶¨µÄÇ°ÌáÌõ¼þ£ºÐ¾Æ¬×éÐͺÅÏàͬ£¬¶øÇÒÍø¿¨Ó¦¸Ã¾ß±¸×Ô¼º¶ÀÁ¢µÄBIOSоƬ¡£ ²Ù×÷¹ý³Ì£º Ê×ÏÈ°ÑVMwareÀïµÄ²Ù×÷ϵͳÌí¼ÓÒ»¿éÍø¿¨.ÏÖÔÚ²Ù×÷ϵͳÀïÓÐÁ½ÕÅÍø¿¨. 1¡¢±à¼­ÐéÄâÍøÂç½Ó¿ÚÅäÖÃÎļþ,Ö¸¶¨Íø¿¨IP £¨Ã»ÓÐÕâ¸öÎļþÎÒÃÇ¿ÉÒÔ´ÓÒÔÇ°µÄÅäÖÃÎļþ¸´ÖÆÒ»¸ö¹ýÀ´,¼õÉÙÊäÈëµÄÎÄ×Ö.£© [root @localhost ~] # cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-bond0 È·±£ /etc/sysconfig/network-scripts/ifcfg-bond0 µÄÄÚÈݺÍÒÔÏÂÄÚÈÝÏàͬ [root @localhost~] # cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
BOOTPROTO=static
BROADCAST=192.168.1.255 IPADDR=192.168.1.202 NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Ethernet 2¡¢±à¼­ /etc/sysconfig/network-scripts/ifcfg-eth0 Óë /etc/sysconfig/network-scripts/ifcfg-eth1 ,È·±£±à¼­ºóµÄÄÚÈݺÍÒÔÏÂËùÏÔʾµÄÄÚÈÝÏàͬ [root @localshot ~] # cat /etc/sysc


Ïà¹ØÎĵµ£º

Tips: linux½ø³ÌºÍÏ̲߳îÒì(0)


1 linux½ø³ÌÓëÏ̵߳ÄÁªÏµºÍÇø±ð£º
    ÔÚlinuxÖУ¬Ḭ̈߳´ÕÕ½ø³ÌµÄ·½Ê½ÊµÏÖ¡£ÆäʵÏÖ»úÖÆÓësolarisºÍwindows²îÒìºÜ´ó¡£
    ÔÚÏÖ´ú²Ù×÷ϵͳÖУ¬½ø³ÌÖ§³Ö¶àỊ̈߳¬½ø³ÌÊÇ×ÊÔ´¹ÜÀíÒÔ¼°·ÖÅäµÄ×îСµ¥Ôª£¬Ïß³ÌÊdzÌÐòÖ´ÐеÄ×îСµ¥Ôª¡£Ò»¸ö½ø³ÌʵÌå·ÖΪ£ºÏ̼߳¯ºÍ×ÊÔ´¼¯(°üÀ¨µØÖ·¿Õ¼ä¡¢´ò¿ªµÄÎļþÒ ......

£¨zz£©LinuxÏÂOpenGL¿ª·¢»·¾³´î½¨

×¼±¸Æª
»·¾³ÊÇFedora 8
Ê×ÏÈÐèÒª°²×°OpenGLµÄ¿ª·¢»·¾³¡£ÏÖÔÚLinuxÏÂÓкܶàOpenGLµÄʵÏÖ£¬Fedora 7ÖÐÒѾ­¸½´øÁËMesa,ÕâÊÇOpenGLÒ»¸ö¿ªÔ´µÄʵÏÖ¡£°²×°FedoraʱÈç¹ûÑ¡ÖÐÁË¿ª·¢»·¾³£¬ÄÇôMesa¿ÉÄܾÍÒѾ­°²×°ºÃÁË¡£Èç¹ûÄãºÍÎÒÒ»Ñù°²×°µÄʱºòûÓÐÑ¡Ôñ¿ª·¢£¬ÄÇô£¬¿ÉÒÔͨ¹ýyumÀ´ÔÚÏß°²×°Mesa£º
Ê×ÏȲéÕÒMesaÏà¹ØµÄ°ü£º
&nbs ......

Linux ±¸·ÝÓë»Ö¸´ËÙ³ÉÖ¸ÄÏ

 
 
È·¶¨Òª±¸·ÝµÄÄÚÈÝ
ÔÚ±¸·ÝºÍ»¹Ô­ÏµÍ³Ê±£¬Linux »ùÓÚÎļþµÄÐÔÖʳÉÁËÒ»¸ö¼«´óµÄÓŵ㡣ÔÚ Windows ϵͳÖУ¬×¢²á±íÓëϵͳÊǷdz£Ïà¹ØµÄ¡£ÅäÖúÍÈí¼þ°²×°²»½ö½öÊǽ«Îļþ·Åµ½ÏµÍ³ÉÏ¡£Òò´Ë£¬»¹Ô­ÏµÍ³¾ÍÐèÒªÓÐÄܹ»´¦Àí Windows ÕâÖÖÌØÐÔµÄÈí¼þ¡£ÔÚ Linux ÖУ¬Çé¿ö¾Í²»Ò»ÑùÁË¡£ÅäÖÃÎļþÊÇ»ùÓÚÎı¾µÄ£¬²¢ÇÒ³ýÁËÖ±½Ó´¦À ......

S3C24XXÌåϵµÄLinux GPIO¿ØÖÆÏà¹ØAPIʵÏÖ

GPIO£¨General Purpose Input/OutputµÄËõд£©¾ÍÊÇоƬµÄÒý½Å£¬Òý½ÅÊǿɱà³ÌµÄ¿É¶ÔÒý½ÅµÄ¹¤×÷ģʽ½øÐÐÉèÖãºÊäÈëģʽ(¼ì²âÊäÈëÐźÅ)£¬Êä³öģʽ(Êä³ö0»ò1)£¬¸ß×è״̬(³£ÓÃÓÚADת»»)£¬»¹ÓнûÖ¹»òÔÊÐíÉÏÄÚ²¿ÏÂÀ­µç×è(ÉÏÀ­£º¹Ü½Åͨ¹ýµç×è½Ó¸ßµçƽ£¬ÏÂÀ­£º¹Ü½Åͨ¹ýµç×è½ÓµØ£¬Ò²¿ÉÒÔÍⲿ½ÓÉÏÀ­»òÏÂÀ­µç×è)£¬»¹ÓйܽŸ´Óõȹ¦ÄÜ£¬¼´ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ