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£Óջ󣬵«ÊÇ£¬Ò»µ©³öÎÊÌâ£¬ÕæÊÇÈÃÈËÍ·Í´£¡
Ïà¹ØÎĵµ£º
inuxµÄchmodÃüÁîʹÓÃÏê½â
ʹÓ÷½Ê½ : chmod [-cfvR] [--help] [--version] mode file...
˵Ã÷ : Linux/Unix µÄµµ°¸´æÈ¡È¨ÏÞ·ÖΪÈý¼¶ : µµ°¸ÓµÓÐÕß¡¢Èº×é¡¢ÆäËû¡£ÀûÓà chmod ¿ÉÒÔ½åÒÔ¿ØÖƵµ°¸ÈçºÎ±»ËûÈËËù´æÈ¡¡£
mode : ȨÏÞÉ趨×Ö´® ......
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 ......
2005Äê9ÔÂ22ÈÕ£¬Ç廪ÔÚ¶Á²©Ê¿ÉúÍõÛóÔÚˮľÉçÇøBLOGÉÏ·¢±íÁË¡¶Ç廪ÃεķÛËé--д¸øÇ廪´óѧµÄÍËѧÉêÇë¡·Ã÷È·ÒªÇóÍËѧ, ÒýÆðÉç»á¸÷½ç¹ã·ºÕùÂÛ. Ëû´´×÷µÄ³¤ÆªÎÄÕ¡¶ÍêÈ«ÓÃLinux¹¤×÷¡·, ÑóÑóÁ½Íò¶à×Ö, ´Ó²»Í¬½Ç¶È¾Ó¸ßÁÙϵIJûÊöÁËËûÑÛÖÐLinuxÍêÈ«ÓÅÔ½ÓÚWindowsµÄ¸÷ÖÖÀíÓÉ, ÕâÆªÎÄÕ²¢²»¼òµ¥µÄÊÇһƪÂÛÊö"WindowsÄÜ×öµÄÊÂLinux¶¼Ä ......
1£¬ÏÈ¿´¿´¹¤×÷¶ÓÁкÍtaskletµÄÇø±ð£º
£¨1£© ¶¨Ê±Æ÷ºÍtasklet£º
Tasklets resemble kernel timers in 3 ways.
1)They are always run at interrupt time,
2)they always run on the same CPU that schedules the ......
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Ï ......