1、查询Java版本号:
# java -version
java version “1.8.0_131”
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
2、查询PHP版本号:
# php -v
PHP 7.0.18-0ubun (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.18-0ubun, Copyright (c) 1999-2017, by Zend Technologies
3、查询Apache版本号:
# apache2 -v
Server version: Apache (Ubuntu)
Server built: 2017-07-27T14:34:01
4、查询Nginx版本号:
# cd /usr/local/nginx/sbin
# ./nginx -v
nginx version: nginx
5、查询Tomcat版本号:
# cd /home/server/tomcat-dfs/bin
# .
Using CATALINA_BASE: /home/server/tomcat
Using CATALINA_HOME: /home/server/tomcat
Using CATALINA_TMPDIR: /home/server/tomcat/temp
Using jre_HOME: /usr/local
Using CLASSPATH: /home/server/tomcat/bin
Server version: Apache Tomca
Server built: Jun 21 2017 17:01:09 UTC
Server number: 8.5.16.0
OS Name: Linux
OS Version: 4.4.0-82-generic
Architecture: amd64
JVM Version: 1.8.0_131-b11
JVM Vendor: Oracle Corporation
1.《linux如何查看工程jdk版本》援引自互联网,旨在传递更多网络信息知识,仅代表作者本人观点,与本网站无关,侵删请联系页脚下方联系方式。
2.《linux如何查看工程jdk版本》仅供读者参考,本网站未对该内容进行证实,对其原创性、真实性、完整性、及时性不作任何保证。
3.文章转载时请保留本站内容来源地址,https://www.lu-xu.com/keji/3244156.html