nginxµÄ°æ±¾ºÅÔõôÉó²é
Éó²é nginx °æ±¾ºÅµÄÒªÁ죺1. ÔËÐÐÏÂÁî “nginx -v”£¬»ñÈ¡°æ±¾ºÅÐÅÏ¢£»2. ¼ì²é nginx ÉèÖÃÎļþ “/etc/nginx/nginx.conf” ÖÐµÄ “version=” ÐУ»3. ʹÓà “ps -ef | grep nginx” ÏÂÁîÉó²éÕýÔÚÔËÐÐµÄ nginx Àú³Ì°æ±¾ºÅ¡£
Éó²é Nginx °æ±¾ºÅ
ÒªÁìÒ»£ºÉó²éÏÂÁîÐÐÊä³ö
×î¼òÆӵķ½·¨ÊÇÔËÐÐÒÔÏÂÏÂÁ
nginx -v
µÇ¼ºó¸´ÖÆ
Õ⽫Êä³öÒÔÏÂÃûÌõÄÐÅÏ¢£º
nginx version: <version_number></version_number>
µÇ¼ºó¸´ÖÆ
ÒªÁì¶þ£ºÉó²é Nginx ÉèÖÃÎļþ
Ò²¿ÉÒÔͨ¹ýÉó²é Nginx ÉèÖÃÎļþ /etc/nginx/nginx.conf À´ÕÒµ½°æ±¾ºÅ¡£ËÑË÷ÒÔÏÂÐУº
version="nginx/<version_number>"</version_number>
µÇ¼ºó¸´ÖÆ
ÒªÁìÈý£ºÉó²é Nginx Àú³Ì
ʹÓà ps ÏÂÁî¿ÉÒÔÉó²éÕýÔÚÔËÐÐµÄ Nginx Àú³ÌµÄ°æ±¾ºÅ£º
ps -ef | grep nginx
µÇ¼ºó¸´ÖÆ
Êä³öЧ¹û½«°üÀ¨ÒÔÏÂÐÅÏ¢£º
/usr/sbin/nginx -g ... -c ... -v
µÇ¼ºó¸´ÖÆ
ÆäÖÐ “-v” Ñ¡Ïîºó¸ú°æ±¾ºÅ¡£
ÒÔÉϾÍÊÇnginxµÄ°æ±¾ºÅÔõôÉó²éµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡
ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í尊龙凯时人生就是搏ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ尊龙凯时人生就是搏ʵʱÐÞÕý»òɾ³ý¡£