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

64λLinuxÉÏ°²×°MemcachedÏêϸ²½Öè

ÓÉÓÚ32λ²Ù×÷ϵͳÏÂÃæµ¥½ø³Ì×î´óÄÚ´æʹÓò»Äܳ¬¹ý2G£¬¶øÎÒÃÇÓÃMemcached¾­³£ÐèҪʹÓøü´óµÄÄÚ´æ¿Õ¼ä£¬ËùÒÔÑ¡Ôñ64λµÄLinux°æ±¾ÊDZØÐëµÄ£¬64λOSϵÄMemcached°²×°ºÍ32λOSϲ¶à£¬Ö»ÓÐÒ»¸öµØ·½ÉÔÓв»Í¬£¬Ïê¼ûÏÂÃæµÄºìÉ«×ÖÌ岿·Ö¡£
ÎÒÃÇÒÔ°æ±¾memcached-1.2.6ΪÀý£¬¶ÔÓÚÆäËû°æ±¾Ìæ»»ÏàÓ¦°æ±¾ºÅ¼´¿É£»
ÏÂÔصØÖ·£ºhttp://www.danga.com/memcached/dist/memcached-1.2.6.tar.gz
ÓÉÓÚMemcachedÓõ½ÁËlibeventÕâ¸ö¿âÓÃÓÚSocketµÄ´¦Àí£¬ËùÒÔ»¹ÐèÒª°²×°libevent£¬libeventµÄ×îа汾ÊÇlibevent-1.4.8-stable£¨Èç¹ûÄãµÄϵͳÒѾ­°²×°ÁËlibevent£¬¿ÉÒÔ²»Óð²×°£©¡£
ÏÂÔصØÖ·£ºhttp://www.monkey.org/~provos/libevent-1.4.8-stable.tar.gz
Ö±½ÓÓÃwgetÖ¸ÁîÖ±½ÓÏÂÔØÕâÁ½¸ö¶«Î÷£¬ÏÂÔØ»ØÔ´Îļþºó£¬Ê×ÏÈ°²×°libevent£¬Ö®ºó°²×°memcached¼´¿É£»
Ïêϸ²½ÖèÈçÏ£º
·Ö±ð°ÑmemcachedºÍlibeventÏÂÔØ»ØÀ´£¬·Åµ½ /tmp Ŀ¼Ï£º
# cd /tmp
# wget http://www.danga.com/memcached/dist/memcached-1.2.6.tar.gz
# wget http://www.monkey.org/~provos/ libevent-1.4.8-stable.tar.gz
ÏÈ°²×°libevent£º
# tar zxvf libevent-1.4.8-stable.tar.gz
# cd libevent-1.4.8-stable
# ./configure --prefix=/usr/local/libevent-1.4.8-stable
# make
# make install
²âÊÔlibeventÊÇ·ñ°²×°³É¹¦£º
# ls -al /usr/local/libevent-1.4.8-stable/lib | grep libevent
# vi /etc/ld.so.conf ¼ÓÈë/usr/local/libevent-1.4.8-stable/lib
ÔËÐÐ ldconfig ·ñÔòÔËÐÐmemcachedµÄʱºò£¬»áÌáʾÕÒ²»µ½soÎļþ
»¹ÓÐÒ»ÖÖ·½·¨ÊÇÖ±½ÓÔÚlib64Ŀ¼ÖÐÐÂÔöÒ»¸ölinkÁ´½Ó
# ln -s /usr/lib/libevent-1.4.so.2 /usr/lib64/libevent-1.4.so.2
°²×°memcached£¬Í¬Ê±ÐèÒª°²×°ÖÐÖ¸¶¨libeventµÄ°²×°Î»Öãº
# cd /tmp
# tar zxvf memcached-1.2.6.tar.gz
# cd memcached-1.2.6
# ./configure  --prefix=/usr/local/memcached-1.2.6 --with-libevent=/usr/local/libevent-1.4.8-stable --enable-64bit --enable-threads
# make
# make install
# ln -s /usr/local/memcached-1.2.6 /usr/local/memcached
Èç¹ûÖмä³öÏÖ±¨´í£¬Çë×Ðϸ¼ì²é´íÎóÐÅÏ¢£¬°´ÕÕ´íÎóÐÅÏ¢À´ÅäÖûòÕßÔö¼ÓÏàÓ¦µÄ¿â»òÕß·¾¶¡£
°²×°Íê³Éºó»á°Ñmemcached·Åµ½ /usr/local/memcached/bin/memcached
²âÊÔÊÇ·ñ³É¹¦°²×°memcached£º
# ls -al /usr/local/memcached/bin/mem*
-rwxr-xr-x 1 root root 137986 11?? 12 17:3


Ïà¹ØÎĵµ£º

LINUXÖжϻúÖÆÓëÐźÅ


ÔÚѧϰAPUEʱѧϰÐźűà³Ì£¬ºÜ¶àµØ·½²»ÊÇÀí½â£¬±ã²éÔÄÁËÍøÂçÉϵÄÏà¹Ø×ÊÁÏ£¬×î³£¼ûµÄÒ»¾ä»°¾ÍÊÇ“ÐźÅÊÇÖжϻúÖƵÄÒ»ÖÖÄ£Ä┣¬¼ÈÈ»Ìáµ½ÁËÖжϣ¬ÄǾÍÊ×ÏÈÁ˽âÁËÒ»ÏÂÖжϵľßÌå·ÖÀàÒÔ¼°ÊµÏÖ£¬×îºóÔÙÕÒ³öÖжϺÍÐźŵÄÇø±ð¡£
LINUXÖжϻúÖÆÓëÐźÅ
ÖжϺÍÒì³£
 

ÖÐ ¶Ï£¨Ò²³ÆÓ²¼þÖжϣ©
¶¨Òå
£ºÖ ......

Linux ÐźÅsignal´¦Àí»úÖÆ Ò»

ÐźÅÊÇLinux±à³ÌÖзdz£ÖØÒªµÄ²¿·Ö£¬±¾ÎĽ«Ïêϸ½éÉÜÐźŻúÖƵĻù±¾¸ÅÄî¡¢Linux¶ÔÐźŻúÖƵĴóÖÂʵÏÖ·½·¨¡¢ÈçºÎʹÓÃÐźţ¬ÒÔ¼°ÓйØÐźŵļ¸¸öϵͳ
µ÷Óá£
       
ÐźŻúÖÆÊǽø³ÌÖ®¼äÏ໥´«µÝÏûÏ¢µÄÒ»ÖÖ·½·¨£¬ÐźÅÈ«³ÆΪÈíÖжÏÐźţ¬Ò²ÓÐÈ˳Æ×÷ÈíÖжϡ£´ÓËüµÄÃüÃû¿ÉÒÔ¿´³ö£¬ËüµÄʵÖʺ ......

Linux ÐźÅsignal´¦Àí»úÖÆ ¶þ

¶þ¡¢ÐÅ ºÅ »ú ÖÆ
ÉÏ Ò»½ÚÖнéÉÜÁËÐźŵĻù±¾¸ÅÄÔÚÕâÒ»½ÚÖУ¬ÎÒÃǽ«½éÉÜÄÚºËÈçºÎʵÏÖÐźŻúÖÆ¡£¼´ÄÚºËÈçºÎÏòÒ»¸ö½ø³Ì·¢ËÍÐźš¢½ø³ÌÈçºÎ½ÓÊÕÒ»¸öÐźš¢½ø³ÌÔõÑù¿ØÖÆ×Ô¼º¶ÔÐÅ ºÅµÄ·´Ó¦¡¢ÄÚºËÔÚʲôʱ»ú´¦ÀíºÍÔõÑù´¦Àí½ø³ÌÊÕµ½µÄÐźš£»¹Òª½éÉÜÒ»ÏÂsetjmpºÍlongjmpÔÚÐźÅÖÐÆðµ½µÄ×÷Óá£
1¡¢Äں˶ÔÐźŵĻ ......

Linux redhat9.0³£ÓÃÃüÁî(1)Îļþ·ÃÎÊȨÏÞ

[root@localhost root]# ls -l
»áÏÔʾĿ¼»òÎļþÐÅÏ¢£ºdrwxr-xr-x 2 root root 4096 06-29 14:30 Test
                               -rwxr--r-- 2 root roo ......

linuxÏÂtomcat°²×°ÅäÖÃ

ÎÒ°ÑÎÒÕûºÏapache£«tomcat£«mod_webapp.soµÄ¹ý³Ì·¢ÉÏÀ´¡£ÆäÖаüÀ¨ÁËÐí¶àÇ°È˵ÄÐĵÃÓë¾­Ñé  
   
 
1.ËùÐèµÄÈí¼þ°ü  
   
  ¡¡¡¡j2sdk-1_4_1_02-linux-i586.bin(jdk1.4.1)  

  ¡¡¡¡Apache2.0.40   (Red   Hat   Linux8.0×Ô´ø)   ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ