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

linux install memcached,Linux°²×°memcached

rzÉÏ´«Îļþµ½Ä³Ä¿Â¼
½âѹËõ tar zxvf
½øÈëlibeventĿ¼ ./configure
תµ½rootÓû§ make install
½øÈëmemcachedĿ¼ ./configure
תµ½rootÓû§ make install
Æô¶¯memcached
cd /usr/local/bin
/usr/local/bin/memcached -d -P /var/local/logs/memcached.pid -t 4 -m 200 -u root -c 1024 -v >> /var/local/logs/memcached.log 2>&1
´Ëʱ¿ÉÄÜûÓÐÆô¶¯³É¹¦£¬¿´ÈÕÖ¾»áÓÐ
usr/local/bin/memcached: error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file or directory
תµ½./memcached ËùÔÚĿ¼
ÓÃLD_DEBUG=libs ./memcached -v 2>&1 > /dev/null | less ²é¿´
Êä³öÈçÏÂ
¡£¡£¡£¡£¡£
26438: trying file=/usr/lib/i686/libevent-1.4.so.2
26438: trying file=/usr/lib/sse2/libevent-1.4.so.2
26438: trying file=/usr/lib/libevent-1.4.so.2
26438:
./memcached: error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file or directory
memcached»áµ½ºÜ¶àµØ·½È¥ÕÒ£¬ÕâÑùÎÒÃÇÐ轨һ¸öÈíÁ´½Ó£¬Ö¸¶¨µ½ÎÒÃǰ²×°µÄÀà¿âÉϼ´¿É
ÕÒµ½¿ÉÌæ´úµÄÎļþºó£¬×öÒ»¸öÈíÁ¬½Ó
ln -s /usr/local/lib/libevent-1.4.so.2 /usr/lib/libevent-1.4.so.2
ÔÚÆô¶¯¾Í¿ÉÒÔÁË
¿ÉÒԲο¼
http://www.91linux.com/html/article/guanli/20090120/15456.html


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨Èý£© HCI²ã±à³Ì

1. HCI²ãЭÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI)  ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈЭÒé ......

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌá¹©ÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

Linux¶àÏ̱߳à³ÌµÄ»ù±¾µÄº¯Êý

  º¯ÊýÔ­ÐÍ£º                  
#include <pthread.h>
int pthread_create(pthread_t *restrict tidp,const pthread_attr_t *restrict attr, void *(*start_rtn)( ......

linuxÆô¶¯logoÐÞ¸Ä bootlogo

¸ÄÄ¿±ê£ºÓÃ×Ô¶¨ÒåµÄppmÍ¼Æ¬Ìæ´ú/drivers/video/logo/logo_linux_clut224.ppm
ͬʱɾ³ýlogo_linux_clut224.c logo_linux_clut224.oÎļþÕâÑù²ÅÄÜʹ±àÒëµÄʹÓÃlogo_linux_clut224.ppmÖØÐ±àÒë
ppmͼƬµÄÉú³É£º
# pngtopnm logo_linux_clut224.png > logo_linux_clut224.pnm
# pnmquant 224 logo_linux_clut224.pnm > ......

Linux×î»ù±¾µÄ²Ù×÷¼¼ÇÉ

ת×Ôhttp://blog.chinaunix.net/u/30619/showart.php?id=249558
1 linuxĿ¼¼Ü¹¹
/       ¸ùĿ¼
/bin         ³£ÓõÄÃüÁî   binary   file   µÄÄ¿錄
/boot       ´æ·ÅÏµÍ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ