"CATALINA HOME 폴더"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-<source lang='cli'> +<source lang='console'>))
 
(사용자 2명의 중간 판 8개는 보이지 않습니다)
4번째 줄: 4번째 줄:
;/usr/share/tomcat6
;/usr/share/tomcat6
*[[톰캣]]의 (논리적) 최상위 폴더
*[[톰캣]]의 (논리적) 최상위 폴더
*톰캣과 관련된 [[환경변수]]
*변수는 [[tomcat6.conf]]에 설정됨
*변수는 [[tomcat6.conf]]에 설정됨


==위치 확인==
==위치 확인==
<source lang='dos'>
<source lang='console'>
[root@jmnote ~]# cat /etc/tomcat6/tomcat6.conf | grep ^CATALINA_HOME
[root@zetawiki ~]# cat /etc/tomcat7/tomcat7.conf | grep ^CATALINA_HOME
CATALINA_HOME="/usr/share/tomcat6"
CATALINA_HOME="/usr/share/tomcat7"
</source>
</source>
:→ /usr/share/tomcat5
:→ /usr/share/tomcat5


==하위 폴더==
==하위 폴더==
;tomcat6
<source lang='console'>
<source lang='dos'>
[root@zetawiki ~]# ll /usr/share/tomcat7
[root@jmnote ~]# ll /usr/share/tomcat6
total 4
total 4
drwxr-xr-x 2 root root 4096 Jan 27 13:37 bin
drwxr-xr-x. 2 root root 4096 Feb  2 05:37 bin
lrwxrwxrwx 1 root root  12 Jan 27 13:37 conf -> /etc/tomcat6
lrwxrwxrwx. 1 root root  12 Feb  2 05:37 conf -> /etc/tomcat7
lrwxrwxrwx 1 root root  23 Jan 27 13:37 lib -> /usr/share/java/tomcat6
lrwxrwxrwx. 1 root root  23 Feb  2 05:37 lib -> /usr/share/java/tomcat7
lrwxrwxrwx 1 root root  16 Jan 27 13:37 logs -> /var/log/tomcat6
lrwxrwxrwx. 1 root root  16 Feb  2 05:37 logs -> /var/log/tomcat7
lrwxrwxrwx 1 root root  23 Jan 27 13:37 temp -> /var/cache/tomcat6/temp
lrwxrwxrwx. 1 root root  23 Feb  2 05:37 temp -> /var/cache/tomcat7/temp
lrwxrwxrwx 1 root root  24 Jan 27 13:37 webapps -> /var/lib/tomcat6/webapps
lrwxrwxrwx. 1 root root  24 Feb  2 05:37 webapps -> /var/lib/tomcat7/webapps
lrwxrwxrwx 1 root root  23 Jan 27 13:37 work -> /var/cache/tomcat6/work
lrwxrwxrwx. 1 root root  23 Feb  2 05:37 work -> /var/cache/tomcat7/work
</source>
 
;tomcat5
<source lang='dos'>
[root@jmnote ~]# ll /usr/share/tomcat5
total 4
drwxr-xr-x 2 root root 4096 Jan 26 04:00 bin
lrwxrwxrwx 1 root root  23 Jan 26 04:00 common -> /var/lib/tomcat5/common
lrwxrwxrwx 1 root root  12 Jan 26 04:00 conf -> /etc/tomcat5
lrwxrwxrwx 1 root root  16 Jan 26 04:00 logs -> /var/log/tomcat5
lrwxrwxrwx 1 root root  23 Jan 26 04:00 server -> /var/lib/tomcat5/server
lrwxrwxrwx 1 root root  23 Jan 26 04:00 shared -> /var/lib/tomcat5/shared
lrwxrwxrwx 1 root root  23 Jan 26 04:00 temp -> /var/cache/tomcat5/temp
lrwxrwxrwx 1 root root  24 Jan 26 04:00 webapps -> /var/lib/tomcat5/webapps
lrwxrwxrwx 1 root root  23 Jan 26 04:00 work -> /var/cache/tomcat5/work
</source>
</source>


==같이 보기==
==같이 보기==
*[[tomcat6.conf]]
*[[tomcat7.conf]]
*[[리눅스 톰캣 설치]]
*[[리눅스 톰캣 설치]]
*[[DOCUMENT_ROOT]]
*[[DOCUMENT_ROOT]]
*[[The CATALINA HOME environment variable is not defined correctly ‎]]


[[분류: 톰캣]]
[[분류: 톰캣]]
[[분류: /usr/share/tomcat5]]
[[분류: /usr/share/tomcat5]]
[[분류: /usr/share/tomcat6]]
[[분류: /usr/share/tomcat6]]

2016년 3월 29일 (화) 10:02 기준 최신판

1 개요[ | ]

$CATALINA_HOME
CATALINA_HOME 폴더 확인
/usr/share/tomcat6

2 위치 확인[ | ]

[root@zetawiki ~]# cat /etc/tomcat7/tomcat7.conf | grep ^CATALINA_HOME
CATALINA_HOME="/usr/share/tomcat7"
→ /usr/share/tomcat5

3 하위 폴더[ | ]

[root@zetawiki ~]# ll /usr/share/tomcat7
total 4
drwxr-xr-x. 2 root root 4096 Feb  2 05:37 bin
lrwxrwxrwx. 1 root root   12 Feb  2 05:37 conf -> /etc/tomcat7
lrwxrwxrwx. 1 root root   23 Feb  2 05:37 lib -> /usr/share/java/tomcat7
lrwxrwxrwx. 1 root root   16 Feb  2 05:37 logs -> /var/log/tomcat7
lrwxrwxrwx. 1 root root   23 Feb  2 05:37 temp -> /var/cache/tomcat7/temp
lrwxrwxrwx. 1 root root   24 Feb  2 05:37 webapps -> /var/lib/tomcat7/webapps
lrwxrwxrwx. 1 root root   23 Feb  2 05:37 work -> /var/cache/tomcat7/work

4 같이 보기[ | ]

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