nginxÔõÑùÉó²é°æ±¾
Éó²é nginx °æ±¾µÄÒªÁìÓÐÁ½ÖÖ£ºÊ¹ÓÃÏÂÁîÐÐÏÂÁî “nginx -v”£¬Êä³öЧ¹ûÖаüÀ¨°æ±¾ºÅ¡£ÔÚ nginx Ö÷ÉèÖÃÎļþÖвéÕÒ “# nginx version:” ÐУ¬ÆäÏ·½ÏÔʾÁË°æ±¾ºÅ¡£
Éó²é Nginx °æ±¾
Nginx ÊÇÒ»¸ö¿ªÔ´µÄ HTTP ЧÀÍÆ÷ºÍ·´ÏòÊðÀí£¬ÔÚ»¥ÁªÍøÁìÓòÆÕ±éʹÓá£Éó²é Nginx °æ±¾¿ÉÒÔ×ÊÖúÄúÏàʶЧÀÍÆ÷µÄÄ¿½ñ״̬²¢Õë¶ÔÈκÎDZÔÚµÄÇå¾²Îó²î»ò¹ýʧ¾ÙÐйÊÕÏɨ³ý¡£
ÒªÁìÒ»£ºÊ¹ÓÃÏÂÁîÐÐ
- ·¿ªÏÂÁîÐÐÖնˣ¨ÀýÈ磬ÏÂÁîÌáÐÑ·û¡¢PowerShell »ò Terminal£©¡£
- ¼üÈëÒÔÏÂÏÂÁî²¢°´ Enter£º
nginx -v
µÇ¼ºó¸´ÖÆ
Äú½«¿´µ½ÀàËÆÒÔÏÂÊä³ö£º
nginx version: nginx/1.18.0
µÇ¼ºó¸´ÖÆ
ÒªÁì¶þ£ºÊ¹ÓÃÉèÖÃÎļþ
- ÕÒµ½ Nginx µÄÖ÷ÉèÖÃÎļþ£¨Í¨³£Î»ÓÚ /etc/nginx/nginx.conf£©¡£
- ·¿ªÉèÖÃÎļþ²¢ÕÒµ½ÒÔÏÂÐУº
user nginx; worker_processes auto;
µÇ¼ºó¸´ÖÆ
ÔÚ¸ÃÐÐÏ·½£¬ÄúÓ¦¸Ã»á¿´µ½ÒÔÏÂÐУº
# Nginx version: nginx/1.18.0
µÇ¼ºó¸´ÖÆ
¸ÃÐÐÏÔʾÁË Nginx µÄ°æ±¾¡£Çë×¢ÖØ£¬Ç°µ¼µÄ¾®ºÅ£¨#£©ÌåÏÖ¸ÃÐÐÊÇÒ»Ìõ×¢ÊÍ£¬µ«ËüÈÔÈ»°üÀ¨ÓÐ¹Ø Nginx °æ±¾µÄÐÅÏ¢¡£
ÒÔÉϾÍÊÇnginxÔõÑùÉó²é°æ±¾µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡
ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í尊龙凯时人生就是搏ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ尊龙凯时人生就是搏ʵʱÐÞÕý»òɾ³ý¡£