Linux 시스템에서 NGINX 버전 정보 명령을 보는 방법

WBOY
풀어 주다: 2023-05-19 12:25:06
앞으로
5906명이 탐색했습니다.

1. 서버에 설치된 nginx 버전 번호를 확인하는데, 주로 nginx의 -v 또는 -V 옵션을 통해 확인합니다. 보기 방법은 아래 그림과 같습니다

-v는 nginx 버전을 표시합니다.

-V는 nginx 버전, 컴파일러 버전 및 구성 매개변수를 표시합니다

[root@zq ~]# nginx -V

nginx 버전: nginx/1.16.1

build by gcc 4.8.5 20150623( Red Hat 4.8.5-36) (GCC)

OpenSSL 1.0.2k-fips로 구축 2017년 1월 26일

TLS SNI 지원 활성화

인수 구성: –prefix=/etc/nginx –sbin-path =/ usr/sbin/nginx –modules-path=/usr/lib64/nginx/modules –conf-path=/etc/nginx/nginx.conf –error-log-path=/var/log/nginx/ 오류. 로그 –http-log-path=/var/log/nginx/access.log –pid-path=/var/run/nginx.pid –lock-path=/var/run/nginx.lock &ndash ;http -client-body-temp-path=/var/cache/nginx/client_temp –http-proxy-temp-path=/var/cache/nginx/proxy_temp –http-fastcgi-temp-path=/var/ 캐시/ nginx/fastcgi_temp –http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp –http-scgi-temp-path=/var/cache/nginx/scgi_temp –user=nginx –group= nginx with -http_mp4_module –with-http_random_index_module –with-http_realip_module –with-http_secure_link_module –with-http_slice_module –with-http_ssl_module –with-http_stub_status_module –with-http_sub_module –with-http_v2_module ;우편으로– with-mail_ssl_module –with-stream –with-stream_realip_module –with-stream_ssl_module –with-stream_ssl_preread_module –with-cc-opt=’-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -f예외 -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC’ –with-ld-opt=’-Wl,-z,relro - Wl,-z,now -pie’

2. rpm -qa | grep nginx를 사용하여 nginx 버전을 확인하세요

[root@zq ~]# rpm -qa | grep nginx

nginx-1.16 .1 -1.el7.ngx.x86_64

Linux 시스템이란

Linux는 UNIX와 유사한 운영 체제로 자유롭게 사용하고 배포할 수 있으며 다중 사용자, 다중 작업, 다중 작업이 가능합니다. POSIX 운영 체제를 기반으로 하는 스레딩 및 다중 CPU를 통해 Linux는 주요 Unix 도구 소프트웨어, 애플리케이션 및 네트워크 프로토콜을 실행할 수 있습니다.

위 내용은 Linux 시스템에서 NGINX 버전 정보 명령을 보는 방법의 상세 내용입니다. 자세한 내용은 PHP 중국어 웹사이트의 기타 관련 기사를 참조하세요!

관련 라벨:
원천:yisu.com
본 웹사이트의 성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
인기 튜토리얼
더>
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿
회사 소개 부인 성명 Sitemap
PHP 중국어 웹사이트:공공복지 온라인 PHP 교육,PHP 학습자의 빠른 성장을 도와주세요!