"리눅스 톰캣 버전 확인"의 두 판 사이의 차이

7번째 줄: 7번째 줄:
tomcat6-webapps-6.0.36-1.jpp5
tomcat6-webapps-6.0.36-1.jpp5
</source>
</source>
:→ tomcat6
:→ tomcat 6.0.36


==방법 2: tomcat==
==방법 2: tomcat==

2013년 1월 29일 (화) 02:54 판

톰캣 버전 확인

1 방법 1: rpm

[root@jmnote ~]# 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: 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 }}