Command to check the apache and tomcat versions
Hi ,
Which command i need to use to check the apache and tomcat versions running on the server Thanks/Chnlinux |
For httpd use the following command:
httpd status the version number will be part of the output. For Tomcat: You should be able to find this in the log called 'catalina.out'. Alternatively, you can go right to the source; open $TOMCAT_HOME/server/lib/catalina.jar in a tool capable of handling zip or jar files, and read the file called org/apache/catalina/util/ServerInfo.properties. That last bit is not guaranteed to work across multiple versions, though. |
To check the version of httpd, you can also run
Code:
#httpd -v |
All times are GMT -5. The time now is 09:51 PM. |