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

LinuxÏÂnginxµÄ°²×°ÎÊÌâ

×î½ü×¼±¸¸ø¹«Ë¾µÄÍøÕ¾¼Ü¹¹×öϵ÷Õû£¬°²×°²¿ÊðлúÆ÷µÄʱºòÓöµ½Ò»Ð©ÎÊÌ⣬nginxÔÚ°²×°µÄʱºòÒ»Ö±ÌáʾδÕÒµ½openssl
./configure --prefix=/usr/local/nginx
 ³ÌÐò´úÂë
./configure: error: the HTTP cache module requires md5 functions from OpenSSL library.  You can either disable the module by using --without-http-cache option, or install the OpenSSL library into the system,
or build the OpenSSL library statically from the source with nginx by using --with-http_ssl_module --with-openssl=<path> options.
ÏÂÔØÁËopenssl-0.9.8l.tar.tar°ü£¬´«µ½·þÎñÆ÷
./configure
make
make install
×îºó²é¿´µ±Ç°°æ±¾
openssl version
ϵͳÏÔʾ¸÷·½ÃæÕý³£
ÖØÐÂÔÙ°²×°nginx£¬°´ÕÕÍøÉϵÄÌáʾָ¶¨opensslµÄλÖÃ
./configure --prefix=/usr/local/nginx  --with-http_ssl_module --with-openssl=/usr/local/ssl/include/openssl
ϵͳ¿ÉÒÔͨ¹ý./configure
µ«ÊÇ£¬ÔÚmake¹ý³Ìµ±ÖУ¬ÏµÍ³±¨ÁËÁ½¸öerror
ÉÏÍøÕÒÁ˺ܶà×ÊÁÏ£¬»¹ÊÇûÓнâ¾öÎÊÌ⣬ºóÀ´£¬ÎÊÁËÒ»¸ölinuxÀÏÊÖ£¬È˼ҸæËßÎÒnginxºÜÖÇÄܵģ¬ÄãÖ»ÐèÒªÖ¸ÏònginxµÄ°²×°Â·¾¶¾Í¿ÉÒÔÁË£¬Ëü»á×Ô¶¯°ïÄã×ö±àÒ룬°²×°µÄ£¬ÊÔÁËÒ»ÏÂ
./configure --prefix=/usr/local/nginx  --with-http_ssl_module --with-openssl=/root/httpserver/openssl
make
make install
³É¹¦ÁË¡£¡£¡£
Ò²Ðí£¬Ó¦¸ÃÊÇ×Ô¼ºÔÚ°²×°opensslµÄʱºò£¬ÓÐÄĸöµØ·½Ã»ÓÐÅäÖö԰ɡ£¡£¡£
linuxÐÔÄܷdz£Óջ󣬵«ÊÇ£¬Ò»µ©³öÎÊÌâ£¬ÕæÊÇÈÃÈËÍ·Í´£¡


Ïà¹ØÎĵµ£º

linux Õ¾µã2

2¡£ ¼¼ÊõÍøµã£º
csdn.net
chinaunix.net
ibm.com/developerworks/cn/linux
LinuxÄÚ´æÊ¹ÓÃÏê½â£º
http://blog.chinaunix.net/u2/67750/showart_2154542.html
3¡£ Linux¼¼Êõµã
ϵͳ¹ÜÀíÃüÁî(expect.)
shell±à³Ì
ÕýÔò±í´ïʽ
busybox
Îļþϵͳ
4¡£ ÆäËü¼¼Êõµã
pclint£¨¾²Ì¬´úÂë¼ì²é¹¤¾ß£©
source monitor ......

How to check into Linux OS

I learned some experience while Nanjing found 0x03 error. At begining, we don't know why our GSRM(a linux process) hang in a short time 5 seconds sometimes. It didn't handle any message at that time and the interruption is not regularly. So we assume we have Linux OS problem. We did following checks ......

linuxʵÑé¶þ

ʵÑé2 LinuxÎļþϵͳ
Ò».ʵÑéÄ¿µÄ
ͨ¹ýʵÑéÕÆÎÕLinuxÖÐÎļþ¹ÜÀíµÄ»ù±¾¸ÅÄ°üÀ¨³£ÓÃÃüÁî¸ñʽ¡¢ÎļþÀàÐÍ¡¢Ä¿Â¼½á¹¹µÈ£¬³õ²½Á˽âÓйØÎļþ°²È«·½ÃæµÄ֪ʶ¡£¡£
 
¶þ.ʵÑéÄÚÈÝ
1.ʹÓÃpwd£¬cd£¬lsµÈÃüÁîä¯ÀÀÎļþϵͳ¡£
2.ʹÓÃcat£¬cp£¬mv£¬head£¬tail£¬rmµÈÃüÁî²é¿´ºÍ²Ù×÷Îļþ¡£
3.ʹÓÃfind£¬grepÃüÁî½øÐÐÎļþ²éÕÒºÍ ......

linuxʵÑéËÄ

ʵÑé4  Linux³ÌÐò¿ª·¢»ù´¡
Ò»¡¢ÊµÑéÄ¿µÄ£º
1.      ¼ÌÐøÊìϤLinuxÖÕ¶ËÃüÁ
2.      ¼ÌÐøÑ§Ï°Ê¹ÓÃVi±à¼­Æ÷£»
3.      ѧϰʹÓÃLinux»·¾³ÏÂCÓïÑÔ³ÌÐòµÄ±àÒë¡£
4.      µ÷ÊÔÆ÷GdbµÄʹÓÃ
¶þ¡¢ÊµÑéÒªÇó£º
& ......

LinuxÏÂNginx + Resin µÄ´î½¨

nginxµÄ°²×°
¶ÔÓÚÏÖÔÚÁ÷ÐеÄNginx + Resin£¬ÆäÐÔÄÜ´ó¼Ò¶¼ÓÐÄ¿¹²¶Ã¡£
Ê×ÏÈ£¬°²×°Nginx
¿ÉÒÔ²ÎÊýNginxµÄ°²×°ÎÄÕ£ºhttp://blog.csdn.net/vebasan/archive/2010/02/26/5328494.aspx
Èç¹ûÔÚ°²×°NginxµÄʱºòÌáʾÓÐÎÊÌ⣬¿ÉÒԲο¼£ºhttp://blog.csdn.net/vebasan/archive/2010/02/26/5328545.aspx
ÓйØNginx£¬pcre£¬opensslÏ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ