linuxÏÂmemcached°²×°ÒÔ¼°Æô¶¯
1.ÏÂÔØmemcached·þÎñÆ÷¶Ë°²×°Îļþ
°æ±¾£º
memcached-1.4.2.tar.gz
ÏÂÔصØÖ·£ºhttp://www.danga.com/memcached/download.bml
2.ÏÂÔØlibevent£¬memcachedÐèÒªÓõ½socked£¬ÒÀÀµ´Ë°²×°Îļþ¡£
°æ±¾£º
libevent-1.4.12-stable.tar.gz
ÏÂÔصØÖ·£ºhttp://www.monkey.org/~provos/libevent/
3.ÓÉÓÚlinuxϵͳ¿ÉÄÜĬÈÏÒѾ°²×°libevent£¬
Ö´ÐÐÃüÁrpm -qa|grep libevent²é¿´ÏµÍ³ÊÇ·ñ´øÓиð²×°Èí¼þ
Èç¹ûÓÐÖ´ÐÐÃüÁrpm -e libevent-1.1a-3.2.1 --nodeps£¨ÓÉÓÚϵͳ×Ô´øµÄ°æ±¾¾É£¬ºöÂÔÒÀÀµÉ¾³ý£©
4.°²×°libevent£¬
tar zxvf libevent-1.4.12-stable.tar.gz
cd libevent-1.4.12-stable
./configure --prefix=/usr/local/libevent-1.4
make
make install
5.°²×°memcached
tar zxvf memcached-1.4.2.tar.gz
cd memcached-1.4.2
./configure --prefix=/usr/local/memcached-1.4.2 --with-libevent=/usr/local/libevent-1.4/
make
make install
ÖÁ´Ëmemcached°²×°Íê±Ï
6.²âÊÔ
µ±Æô¶¯memcachedʱ¾³£²»ÄÜ·¢ÏÖlibevent.so£»¿ÉÒÔͨ¹ýÒÔÏÂÃüÁî¼ì²é£º
½øÈë/usr/local/memcached-1.4.2/binĿ¼
LD_DEBUG=help ./memcached -v
LD_DEBUG=libs
./
memcached -v
½â¾ö·½·¨£º
ln -s /usr/local/libevent-1.4/lib/libevent-1.4.so.2 /lib64/libevent-1.4.so.2
7.Æô¶¯memcache£º
./memcached -help
./memcached -d -m 1024 -u root -p 11211 -c 1024 -p /tmp/memcached.pid
Æô¶¯²ÎÊý˵Ã÷£º
-d Ñ¡ÏîÊÇÆô¶¯Ò»¸öÊØ»¤½ø³Ì£¬
-m ÊÇ·ÖÅä¸øMemcacheʹÓõÄÄÚ´æÊýÁ¿£¬µ¥Î»ÊÇMB£¬Ä¬ÈÏ64MB
-M return error on memory exhausted (rather than removing items)
-u ÊÇÔËÐÐMemcacheµÄÓû§£¬Èç¹ûµ±Ç°Îªroot µÄ»°£¬ÐèҪʹÓô˲ÎÊýÖ¸¶¨Óû§¡£
-l ÊǼàÌýµÄ·þÎñÆ÷IPµØÖ·£¬Ä¬ÈÏΪËùÓÐÍø¿¨¡£
-p ÊÇÉèÖÃMemcacheµÄTCP¼àÌýµÄ¶Ë¿Ú£¬×îºÃÊÇ1024ÒÔÉϵĶ˿Ú
-c Ñ¡ÏîÊÇ×î´óÔËÐеIJ¢·¢Á¬½ÓÊý£¬Ä¬ÈÏÊÇ1024
Ïà¹ØÎĵµ£º
×¼±¸¹¤×÷:
¡¡¡¡Óõ½µÄperl À©Õ¹×é¼þ(modules)ÔÚÉÏƪÌù³ö.( win32::odbc Ä£¿é
)ÏÂÔØ×é¼þºó°´ÕÕReadmeÎļþ°²×°µ¹ÏìӦĿ¼.ÅäÖúÃÏàÓ¦µÄodbcÊý¾ÝÔ´.
¡¡¡¡
¡¡¡¡³ÌÐòʵÏÖ:
¡¡¡¡Ê¹ÓÃ
¡¡¡¡use
Win32::ODBC;
¡¡¡¡
¡¡¡¡Óï¾ä°üº¬Ó¦Ê¹ÓõÄÄ£¿éÊÇwin32::odbc,д³öÊý¾Ý¿â
Á¬½Ó×Ö·û´®
¡¡¡¡
¡¡¡¡$DSN = "DSN =
My DSN ......
¡¾1. linux applications ÓÐÁ½ÖÖÐÎʽ¡¿
i£©¿ÉÖ´ÐеÄÎļþ£º ¿ÉÓɼÆËã»úÖ±½ÓÔËÐУ¬Ï൱ÓÚwindowsµÄ.exeÎļþ
ii£©Script: collections of instructions for another program. Ï൱ÓÚwindowsµÄ.bat .cmdÎļþ
¡¾2. PATH¡¿
ÔÚLinuxÖУ¬µ±ÊäÈë³ÌÐòÃû£¨ÈçFirefox£©Ê±£¬ÏµÍ³»áÔÚÃûΪPATHµÄShell±äÁ¿Ëù¸ø ......
Ò». Æô¶¯,¹Ø»ú,µÇÈë,µÇ³öÏà¹ØÃüÁî
<login> 怬
<logout> µÇ³ö
<exit> µÇ³ö
<shutdown> ֹͣϵͳ
<halt> ֹͣϵͳ
<reboot> ÖØÆô¶¯
<poweroff> ÇжϵçÔ´
<sync> °ÑÄÚ´æÀïµÄÄÚÈÝдÈë´ÅÅÌ
<lilo> °²×°liloÆô¶¯¹ÜÀí³ÌÐò
<grub> °²×°liloÆô¶¯¹ÜÀí³ÌÐò
......
ÓÉÓÚ±¾ÈËÌ«ºÃÕÛÌÚϵͳ£¬¼´Ê¹ÏñlinuxÕâÑùÎȶ¨µÄϵͳҲÄÑÃâ±»ÕûµÄÂÒÆß°ËÔ㣬Èç¹ûÄÜÏñÓÃghost±¸·ÝwindowsϵͳһÑù±¸·Ýlinuxϵͳ£¬ÄǾͷ½±ã¶àÁË¡£
googleһϣ¬Óв»ÉÙ·½·¨£¬×îÏñghostµÄµ±È»ÊÇghost for linuxÁË¡£ÍøÉÏÓÐһЩʹÓõķ½·¨£¬ÎÒÀÁµÄ´ò×ÖÁË£¬Ö±½Ó´Ó±ð´¦¿½±´Ò»·Ý¹ýÀ´ËãÁË£¬ÈçÏ£º
£±¡¢ÏÂÔØG4LµÄisoÎļþ¿Ì³ÉÅÌ£¬´Ó¹â ......
¸øËùÓÐÓû§Ìí¼Ó¿ÉÖ´ÐеÄȨÏÞ
#chmod +x jdk-1_5_0_02-linux-i586.rpm.bin
#./jdk-1_5_0_02-linux-i586.rpm.bin
´Ëʱ»áÉú³ÉÎļþjdk-1_5_0_02-linux-i586.rpm£¬
ͬÑù¸øËùÓÐÓû§Ìí¼Ó¿ÉÖ´ÐеÄȨÏÞ
#chmod +x jdk-1_5_0_02-linux-i586.rpm
-------------ÍøÉϲ鵽£¬Òª½øÐÐÏÂÃæÒ»²½£¬ÎÒÔÙ./jdkʱºò¾ÍÒѾ³öÏÖÐÒéÁË£¬Ò²¾ÍÊÇÒ ......