emerge tomcat -Dav
tomcat目录
/opt/tomcat-x.y/bin
/opt/tomcat-x.y/common
/opt/tomcat-x.y/conf
/opt/tomcat-x.y/logs
/opt/tomcat-x.y/server
/opt/tomcat-x.y/shared
/opt/tomcat-x.y/temp
/opt/tomcat-x.y/webapps
/opt/tomcat-x.y/work
Configuration Files
* JAVA_HOME: default is to be set to $(java-config --jdk-home). Changing this variable allows Tomcat to run with a VM other than the system VM
* CATALINA_HOME: default is /usr/share/tomcat-x.y
* CATALINA_BASE: default is /var/lib/tomcat-x.y
* CATALINA_USER: default is tomcat
* CATALINA_LIBDIR: default is typically /usr/share/tomcat-x.y/server/lib
* CLASSPATH: default is ${CATALINA_LIBDIR}
* CATALINA_TMPDIR: default is /var/tmp/tomcat-*
* TOMCAT_START: default is "start", with alternatives being "debug", "start -security", "debug -security", or "jpda start"
* TOMCAT_STOP: default is "stop"
* CATALINA_OPTS: not set by default , can be used to pass options to Java or Tomcat
tomcat目录
/opt/tomcat-x.y/bin
/opt/tomcat-x.y/common
/opt/tomcat-x.y/conf
/opt/tomcat-x.y/logs
/opt/tomcat-x.y/server
/opt/tomcat-x.y/shared
/opt/tomcat-x.y/temp
/opt/tomcat-x.y/webapps
/opt/tomcat-x.y/work
Configuration Files
* JAVA_HOME: default is to be set to $(java-config --jdk-home). Changing this variable allows Tomcat to run with a VM other than the system VM
* CATALINA_HOME: default is /usr/share/tomcat-x.y
* CATALINA_BASE: default is /var/lib/tomcat-x.y
* CATALINA_USER: default is tomcat
* CATALINA_LIBDIR: default is typically /usr/share/tomcat-x.y/server/lib
* CLASSPATH: default is ${CATALINA_LIBDIR}
* CATALINA_TMPDIR: default is /var/tmp/tomcat-*
* TOMCAT_START: default is "start", with alternatives being "debug", "start -security", "debug -security", or "jpda start"
* TOMCAT_STOP: default is "stop"
* CATALINA_OPTS: not set by default , can be used to pass options to Java or Tomcat
本文详细介绍了Tomcat服务器的配置文件及目录结构,包括JAVA_HOME、CATALINA_HOME等环境变量的默认设置及其作用,适用于希望深入了解Tomcat配置的开发者。
606

被折叠的 条评论
为什么被折叠?



