리눅스 톰캣 버전 확인

Jmnote (토론 | 기여)님의 2013년 1월 29일 (화) 02:52 판 (새 문서: ;톰캣 버전 확인 ==방법 1: rpm== <source lang='dos'> [root@jmnote ~]# rpm -qa | grep webapps tomcat6-admin-webapps-6.0.36-1.jpp5 tomcat6-webapps-6.0.36-1.jpp5 </source> :→ t...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
톰캣 버전 확인

1 방법 1: rpm

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

2 방법 2: tomcat

[root@jmnote ~]# tomcat5
-bash: tomcat5: command not found
[root@jmnote ~]# tomcat6
Usage: /usr/sbin/tomcat6 {start|start-security|stop|version}
[root@jmnote ~]# tomcat7
-bash: tomcat7: command not found
→ tomcat6

3 방법 3: chkconfig

[root@jmnote ~]# chkconfig --list | grep tomcat
tomcat6        	0:off	1:off	2:on	3:on	4:on	5:on	6:off
→ tomcat6
[root@svn0 webapps]# ll /etc/init.d/ | grep tomcat
-rwxr-xr-x 1 root root  8433 Nov  2 21:32 tomcat6
→ tomcat6

4 같이 보기

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