дµÃÂùºÃµÄlinuxѧϰ±Ê¼Ç£¨×ª£©
linuxĿ¼¼Ü¹¹
/ ¸ùĿ¼
/bin ³£ÓõÄÃüÁî binary file µÄÄ¿錄
/boot ´æ·ÅϵͳÆô¶¯Ê±±ØÐë¶ÁÈ¡µÄµµ°¸£¬°üÀ¨ºËÐÄ (kernel) ÔÚÄÚ
/boot/grub/menu.lst GRUBÉèÖÃ
/boot/vmlinuz ÄÚºË
/boot/initrd ºËÐĽâ壓縮ËùÐè RAM Disk
/dev ϵͳÖܱßÉ豸
/etc ϵͳÏà¹ØÉ趨Îļþ
/etc/DIR_COLORS É趨ÑÕÉ«
/etc/HOSTNAME É趨Óû§µÄ½ÚµãÃû
/etc/NETWORKING Ö»ÓÐYES±êÃ÷ÍøÂç´æÔÚ
/etc/host.conf Îļþ˵Ã÷Óû§µÄϵͳÈçºÎ²éѯ½ÚµãÃû
/etc/hosts É趨Óû§×ÔÒѵÄIPÓëÃû×ֵĶÔÓ¦±í
/etc/hosts.allow ÉèÖÃÔÊÐíʹÓÃinetdµÄ»úÆ÷ʹÓÃ
/etc/hosts.deny ÉèÖò»ÔÊÐíʹÓÃinetdµÄ»úÆ÷ʹÓÃ
/etc/hosts.equiv ÉèÖÃÔ¶¶Ë»ú²»ÓÃÃÜÂë
/etc/inetd.conf É趨ϵͳÍøÂçÊØ»¤½ø³ÌinetdµÄÅäÖÃ
/etc/gateways É趨·ÓÉÆ÷
/etc/protocols É趨ϵͳ֧³ÖµÄÐÒé
/etc/named.boot É趨±¾»úΪÃû×Ö·þÎñÆ÷µÄÅäÖÃÎļþ
/etc/sysconfig/network-scripts/ifcfg-eth0 ÉèÖÃIP
/etc/resolv.conf ÉèÖÃDNS
/etc/X11 X WindowµÄÅäÖÃÎļþ,xorg.conf »ò XF86Config 這兩個 X Server µÄ設¶¨檔
/etc/fstab ¼Ç¼¿ª»úÒªmountµÄÎļþϵͳ
/etc/inittab É趨ϵͳÆô¶¯Ê±init½ø³Ì½«°ÑϵͳÉèÖóÉʲôÑùµÄrunlevel
/etc/issue ¼Ç¼Óû§µÇ¼ǰÏÔʾµÄÐÅÏ¢
/etc/group É趨Óû§µÄ×éÃûÓëÏà¹ØÐÅÏ¢
/etc/passwd ÕʺÅÐÅÏ¢
/etc/shadow ÃÜÂëÐÅÏ¢
&nb
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
Linux:°²×°ApacheÓëPHP
1¡¢Apache
ÔÚÈçÏÂÒ³ÃæÏÂÔØapacheµÄfor Linux µÄÔ´Âë°ühttp://www.apache.org/dist/httpd/; ´æÖÁ/home/xxĿ¼£¬xxÊÇ×Ô½¨Îļþ¼Ð£¬ÎÒ½¨ÁËÒ»¸öwjµÄÎļþ¼Ð¡£
ÃüÁîÁÐ±í£º
cd /home/wj
tar -zxvf httpd-2.0.54.tar.gz
mv httpd-2.0.54 apache
cd apache
./co ......
Ò»¡¢¸ÅÊö
̸µ½ÔÚlinuxϵͳϱàдI2CÇý¶¯£¬Ä¿Ç°Ö÷ÒªÓÐÁ½ÖÖ·½Ê½£¬Ò»ÖÖÊÇ°ÑI2CÉ豸µ±×÷Ò»¸öÆÕͨµÄ×Ö·ûÉ豸À´´¦Àí£¬ÁíÒ»ÖÖÊÇÀûÓÃlinux I2CÇý¶¯Ìåϵ½á¹¹À´Íê³É¡£ÏÂÃæ±È½ÏÏÂÕâÁ½ÖÖÇý¶¯¡£
µÚÒ»ÖÖ·½·¨µÄºÃ´¦£¨¶ÔÓ¦µÚ¶þÖÖ·½·¨µÄÁÓÊÆ£©ÓУº
¡ñ ˼·±È½ÏÖ±½Ó£¬²»ÐèÒª ......