리눅스 톰캣 버전 확인

(톰캣 버전 확인에서 넘어옴)
톰캣 버전 확인

1 방법 1: rpm[ | ]

[root@zetawiki ~]# rpm -qa | grep webapps
tomcat6-admin-webapps-6.0.36-1.jpp5
tomcat6-webapps-6.0.36-1.jpp5
→ tomcat 6.0.36

2 방법 2: yum[ | ]

[root@zetawiki ~]# yum list installed tomcat? | grep tomcat
tomcat6.noarch                      6.0.36-1.jpp5                      installed

3 방법 3: tomcat[ | ]

[root@zetawiki ~]# tomcat5
-bash: tomcat5: command not found
[root@zetawiki ~]# tomcat6
-bash: tomcat6: command not found
[root@zetawiki ~]# tomcat7
Usage: /usr/sbin/dtomcat7 {start|start-security|stop|version}
→ tomcat7
[root@zetawiki ~]# tomcat6 version | head -3
Server version: Apache Tomcat/6.0.36
Server built:   Nov 2 2012 12:31:49
Server number:  6.0.36.0
→ tomcat 6.0.36

4 방법 4: chkconfig[ | ]

[root@zetawiki ~]# chkconfig --list | grep tomcat
tomcat6        	0:off	1:off	2:on	3:on	4:on	5:on	6:off
→ tomcat6

5 방법 5: /etc/init.d[ | ]

[root@zetawiki ~]# ll /etc/init.d/ | grep tomcat
-rwxr-xr-x 1 root root  8433 Nov  2 21:32 tomcat6
→ tomcat6

6 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}