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


Ïà¹ØÎĵµ£º

linux sedÃüÁîÏê½â

1. Sed¼ò½é
sed ÊÇÒ»ÖÖÔÚÏ߱༭Æ÷£¬ËüÒ»´Î´¦ÀíÒ»ÐÐÄÚÈÝ¡£´¦Àíʱ£¬°Ñµ±Ç°´¦ÀíµÄÐд洢ÔÚÁÙʱ»º³åÇøÖУ¬³ÆΪ“ģʽ¿Õ¼ä”£¨pattern
space£©£¬½Ó×ÅÓÃsedÃüÁî´¦Àí»º³åÇøÖеÄÄÚÈÝ£¬´¦ÀíÍê³Éºó£¬°Ñ»º³åÇøµÄÄÚÈÝËÍÍùÆÁÄ»¡£½Ó×Å´¦ÀíÏÂÒ»ÐУ¬ÕâÑù²»¶ÏÖظ´£¬Ö±µ½Îļþĩβ¡£ÎļþÄÚÈݲ¢Ã»ÓÐ
¸Ä±ä£¬³ý·ÇÄãʹÓÃÖض¨Ïò´æ´¢Ê ......

linux °²×°eclipse×¢ÒâÊÂÏî

ÔËÐл·¾³£ºfedora12 + jdk1.6
1£ºÆô¶¯myeclipseʱ JVM terminated. Exit code=127
½â¾ö·½·¨Ò»£º
java -jar startup.jar
instead of the eclipse executable
½â¾ö·½·¨¶þ£º
Ò²ÓпÉÄÜÊÇfedora×Ô´øµÄfirefoxÔËÐеÄjava»·¾³ÓëeclipseÔËÐеÄjava»·¾³ÓгåÍ»£¬½«fedora×Ô´øµÄfirefoxɾ³ý£¬ÔÙ´ÓÍøÉÏÏÂÔظöÓþͿÉÒÔÁË
×¢£ºÒÔ ......

LinuxÏÂ80¶Ë¿Ú±»Õ¼ÓÃ

½â¾ö·½°¸£ºlinux Ͻ«tomcatµÄserver.xmlµÄ¶Ë¿Ú¸ÄΪ80ºóÒÔtomcatÉí·ÝÎÞ·¨Æô¶¯tomcat¡£
 
ÔÚredhatÉÏÆô¶¯tomcat£¨½«server.xmlÖеĶ˿ڸÄΪ80£©
 
su - tomcat -c "$CATALINA_HOME/bin/startup.sh"
 
ºó³öÏÖ£ºCatalina.start: LifecycleException: null.open: java.net.BindException: Permission deni ......

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

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