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
Ïà¹ØÎĵµ£º
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 Ê ......
º¯ÊýÔÐÍ£º
#include <pthread.h>
int pthread_create(pthread_t *restrict tidp,const pthread_attr_t *restrict attr, void *(*start_rtn)( ......
¸ÄÄ¿±ê£ºÓÃ×Ô¶¨ÒåµÄ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 > ......
ת×Ôhttp://blog.chinaunix.net/u/30619/showart.php?id=249558
1 linuxĿ¼¼Ü¹¹
/ ¸ùĿ¼
/bin ³£ÓõÄÃüÁî binary file µÄÄ¿錄
/boot ´æ·ÅÏµÍ ......