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£Óջ󣬵«ÊÇ£¬Ò»µ©³öÎÊÌâ£¬ÕæÊÇÈÃÈËÍ·Í´£¡
Ïà¹ØÎĵµ£º
ÈÈÐĵãÆÀ£ºÓ²Å̰²×°fedoraµÄ¹æÔò¾ÍÏñÎÒÃǷdz£ÑÇ¿ËÎ÷µÄÕþ²ßÒ»Ñù£¬ ¸æËßÄã²»ÄÜ·¢ËÍyellow¶ÌÐÅ£¬ µ«¾ÍÊDz»¸æËßÄãyellowµÄ³ß¶ÈÊÇʲô£¬ ÄãÖ»ÄÜð×ÅÊÖ»úÍ£»úµÄΣÏÕ£¬²âÊÔÏÂÄÄЩ¶ÌО¿¾¹É仯ÁË¡£ ͨ¹ý²»ÏÂÁ½Î»ÊýµÄÖØÆô£¬ ÃþË÷ÁËÒ»µãµã¹æÔò¡£ OK, ÎÒÏëLinux²»ÊÇgov, °²×°»¹ÊÇÓйæÔò¿ÉÑԵģ¬Ö»ÊÇÎÒÃÇ»¹Ã»ÓÐÕÒµ½Õâ¸öreadme? ´ï ......
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 ......
ʵÑé5 ½ø³Ì¹ÜÀí
Ò»¡¢ÊµÑéÄ¿µÄ£º
1. ÁË½â½ø³ÌÓë³ÌÐòµÄÇø±ð£¬¼ÓÉî¶Ô½ø³Ì¸ÅÄîµÄÀí½â¼Ó£»
2£® ÕÆÎÕ½ø³Ì²¢·¢Ö´ÐеÄÔÀí£¬¼°ÆäËùÒýÆðµÄͬ²½¡¢»¥³âÎÊÌâµÄ·½·¨
¶þ¡¢ÊµÑéÒªÇó£º
Íê³ÉʵÑéÄÚÈݲ¢Ð´³öʵÑ鱨¸æ£¬±¨¸æÓ¦¾ßÓÐÒÔÏÂÄÚÈÝ£º
1£® Ê ......
#protect share data
spin_lock/spin_unlock: protect the data during process context(and only at process context), and make sure your code bewteen lock/unlock is fast enough.There may deadlock if the same spin_lock is called at interrupt context.
spin_lock_irq/spin_unlock_irq: call it during interru ......
windowsÏÂÓзdz£ºÃÓõľÖÓòÍøÍ¨ÐÅÈí¼þ£ºipmsg£¨·É¸ë´«Ê飩¡£
ipmsgÒ²ÓÐlinux°æ±¾£¬µ«ÊÇ£¬ÓÐbug£¬¸üÐÂÒ²Âý¡£
linuxÏÂÓÐÒ»¸ö¹úÈË¿ª·¢µÄiptux£¬¼æÈÝipmsgÐÒ飬¿çƽ̨ʹÓ㬸üÐÂÒ²ºÜ¿ì£¬Äã¿ÉÒÔËæÊ±Ìá½»bug£¬×÷Õß»áºÜ¿ìÐ޸ġ£
1. iptux
°²×°iptux±È½ÏÈÝÒ×£¬ÏÂÔØiptuxµÄ¶þ½øÖưühttp://iptux.googlecode.com/files/iptux_0.4 ......