Linux»úÆ÷ÔöÌíÒ»¿éÐÂÍø¿¨
ת×Ô±¾È˸öÈËÍøÕ¾¡¾£Ð£È£Ð̽·Õß¡¡£è£ô£ô£ð://£÷£÷£÷.£ð£è£ð£÷£å£ì£ì.£ã£ï£í
¡¿
ÔÎĵØÖ· http://www.phpwell.com/?p=43
¡¡¡¡¡¡¹«Ë¾ÄÚµÄһ̨²âÊÔ·þÎñÆ÷Ô±¾Ö»ÊÇ·ÅÔÚ¹«Ë¾ÄÚÍøÉÏʹÓã¬ÏÖÐèÒª½«²âÊÔ»·¾³ÖÃÓÚInternetÉÏ£¬
ÒÔ±ãÓÚ¿Í»§¼´Ê±Á˽âÏîÄ¿½øÕ¹Çé¿ö¡£ÎªLinuxϵͳÔöÌíÒ»¿éÍø¿¨µÄ¹ý³Ì¼Ç¼ÈçÏ£º
²½ÖèÒ»£º½«Ò»¿éÐÂÍø¿¨²åÈëµ½Ö÷°åÀ©Õ¹²Û²¢¹Ì¶¨ºÃ£¬Ê¹ÓÃÒ»¸ùÁ¼ºÃµÄÍøÏß½«»úÆ÷½ÓÈë·ÓÉÆ÷£¬¿ª»ú¼ì²é
Íø¿¨Ö¸Ê¾µÆÕý³£·¢ÁÁ¡£
²½Öè¶þ£ºµÇÈëlinuxϵͳʹÓÃifconfig ÃüÁî·¢ÏÖÔÚeth0֮϶à³öÁËÈçÏÂÄÚÈÝ
eth1 Link encap:Ethernet HWaddr 00:E0:4C:D0:14:93
inet6 addr: fe80::2e0:4cff:fed0:1493/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:4 txqueuelen:1000
RX bytes:748 (748.0 b) TX bytes:1494 (1.4 KiB)
Interrupt:17 Base address:0xe000
´Ëʱ¿ÉÒÔÈ·¶¨£¬ÏµÍ³ÒѾʶ±ðÁ˵ڶþ¿éÍø¿¨£¬¼´eth1¡£
²½ÖèÈý£ºÎªÐÂÍø¿¨ÅäÖÃIPµØÖ·¡¢Íø¹ØµØÖ·¡¢×ÓÍøÑÚÂë¡£ÔÚ/etc/sysconfig/network-scriptsĿ¼Ï£¬¸´ÖÆ
Íø¿¨Ò»µÄÅäÖÃÎļþifcfg-eth0 £¬Ð½¨ifcfg-eth1£¬Ð޸ıà¼ÈçÏÂÄÚÈÝ£º
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static //ÓÉÓÚÊǹ̶¨ÍâÍøIP£¬´Ë´¦Ðë¸ÄΪstatic¡£
IPADDR=***.**.**.***
NETMASK=255.255.255.248
GATEWAY=***.**.**.***
±£´æÎļþ¡£
²½ÖèËÄ£º¼¤»îÍø¿¨£¬ÔËÐÐ/etc/init.d/network reload
²½ÖèÎ壺²é¿´È·ÈÏ£¬ÔËÐÐifconfig ·¢ÏÖeth1 ÏÂÄÚÈÝÒѾ¸úÐÂΪ²½ÖèÈýÖÐÉèÖõÄÐÅÏ¢¡£
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
1¡¢´ò¿ªÖնˣ¬Çл»µ½rootÓû§£¬ÊäÈ룺free -m²é¿´ÄÚ´æ״̬
[root@lxt lxt]# free -m
total used free shared buf ......
ps -aux|grep java ²é¿´java½ø³Ì
tar xvfz tomcat5.tar.gz ½âѹÎļþ
mount -o username=administrator,password=zyj //192.168.1.1/info /info Ó³ÉäÍøÂçÇý¶¯Æ÷
rm -rf ./info ³¹µ×ɾ³ýÎļþ¼Ð¼°ÆäÀïÃæµÄÄÚÈÝ
tail -f catalina.out ²é¿´ÈÕÖ¾Îļþ ......