欢迎大家来到IT世界,在知识的湖畔探索吧!
1、查询Nginx版本号:
# cd /usr/local/nginx/sbin
# ./nginx -v
nginx version: nginx/1.11.3
2、查询Tomcat版本号:
# cd /home/server/tomcat-dfs/bin
# ./version.sh
Using CATALINA_BASE: /home/server/tomcat
Using CATALINA_HOME: /home/server/tomcat
Using CATALINA_TMPDIR: /home/server/tomcat/temp
Using JRE_HOME: /usr/local/jdk1.8.0_131/jre
Using CLASSPATH: /home/server/tomcat/bin/bootstrap.jar:/home/server/tomcat/bin/tomcat-juli.jar
Server version: Apache Tomcat/8.5.16
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
3、查询Apache版本号:
# apache2 -v
Server version: Apache/2.4.18 (Ubuntu)
Server built: 2017-07-27T14:34:01
4、查询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)
5、查询PHP版本号:
# php -v
PHP 7.0.18-0ubuntu0.16.04.1 (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-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologies
免责声明:本站所有文章内容,图片,视频等均是来源于用户投稿和互联网及文摘转载整编而成,不代表本站观点,不承担相关法律责任。其著作权各归其原作者或其出版社所有。如发现本站有涉嫌抄袭侵权/违法违规的内容,侵犯到您的权益,请在线联系站长,一经查实,本站将立刻删除。 本文来自网络,若有侵权,请联系删除,如若转载,请注明出处:https://itzsg.com/52650.html