linux系统如何查看tomcat版本号
时间: 2023-10-19 09:06:32 浏览: 142
Linux系统在tomcat9安装包(实践可用)
可以通过以下命令查看Tomcat的版本号:
1. 打开Tomcat的安装目录,进入bin目录。
2. 执行命令:./catalina.sh version
3. 程序会输出Tomcat的版本号,如下所示:
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-8-openjdk-amd64
Using CLASSPATH: /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar
Server version: Apache Tomcat/8.5.54
Server built: May 18 2020 09:42:32 UTC
Server number: 8.5.54.0
OS Name: Linux
OS Version: 4.4.0-148-generic
Architecture: amd64
JVM Version: 1.8.0_292-b10
JVM Vendor: Oracle Corporation
阅读全文