Apache Tomcat 6.0 Directories and Files

Apache Tomcat 6.0


Introduction


Directories and Files

    Throughout the docs, you'll notice there are numerous references to $CATALINA_HOME. This represents the root of your Tomcat installation. When we say, "This information can be found in your $CATALINA_HOME/README.txt file" we mean to look at the README.txt file at the root of your Tomcat install. Optionally, Tomcat may be configured for multiple instances by defining $CATALINA_BASE for each instance. If multiple instances are not configured, $CATALINA_BASE is the same as $CATALINA_HOME.

These are some of the key tomcat directories:

  • /bin - Startup, shutdown, and other scripts. The *.sh files (for Unix systems) are functional duplicates of the*.bat files (for Windows systems). Since the Win32 command-line lacks certain functionality, there are some additional files in here.
  • /conf - Configuration files and related DTDs. The most important file in here is server.xml. It is the main configuration file for the container.
  • /logs - Log files are here by default.
  • /webapps - This is where your webapps go.
    通过这篇文档,你将注意到这里有大量的引用指向$CATALINA_HOME的根目录,它表示你安装catalina的跟目录。当我们说“这个信息可以在你的$CATALINA_HOME/README.txt文件中找到”,意思是在你安装Tomcat安装目录中查找README.TXT文件。Tomcat可以童工定义$CATALINA_BASE来为多个实例进行配置。如果对个实例不进行配置,则 $CATALINA_BASE $CATALINA_HOME作用一样。
  以下是tomcat的部分目录:
    /bin — 启动、关闭和其他一些脚本文件。*.sh文件(Unix系统下)和*.bat文件(windows系统下)的功能是重复的。因为Win32命令行缺少特定的功能,这里还有其他的一些文件。
    /conf — 配置文件和相关联的DTD文件。这里最重要的文件就是server.xml,它是容器的主要配置文件。
    /logs — 默认的日志文件都在这里。
    /webapps — 这是你的web项目所在。



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值