tomcat.conf 位于哪里?
我找不到我的 tomcat.conf
,我查看了 /etc/tomcat6
,但它不在那里,也不在 /usr/share/ 中tomcat6
。
在 Linux Ubuntu 中哪里可以找到 tomcat.conf
?
I can't find my tomcat.conf
, I have looked in /etc/tomcat6
, but it's not there, nor is it in /usr/share/tomcat6
.
Where can I find the tomcat.conf
in Linux Ubuntu?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
尝试:
Try:
默认的普通 Tomcat 安装中没有
tomcat.conf
文件。不过,您可以在/conf
文件夹中找到多个配置文件。有关这些内容的详细信息/手册可以在 Apache Tomcat 配置参考。希望这有帮助。
There is no means of a
tomcat.conf
file in a default and plain vanilla Tomcat installation. You however can find several configuration files in the/conf
folder. Details/manuals about those can be found at the Apache Tomcat Configuration Reference.Hope this helps.
tomcat.conf
是Tomcat的RedHat RPM包安装的文件。请参阅这里。这实际上是管理文件中的 tomcat 配置内容而不是环境变量的好方法。tomcat.conf
is a file that the RedHat RPM package of Tomcat installs. See here. It's actually a nice way of managing tomcat config stuff in a file rather than environment variables.不确定您在寻找什么,但这里是 karmic 上 tomcat6 包的文件列表:
Not sure what you're looking for but here is the filelist of the package tomcat6 on karmic:
您可以通过以下方式检查:
You may check that by:
tomcat-users.xml 文件位于 Tomcat 安装目录的 etc 目录中。
例如。从根目录:
在我的系统中,我安装了 Tomcat7,所以我的路径是“
The tomcat-users.xml file is located in the Tomcat install directory of the etc directory.
For instance. From root:
In my system I have Tomcat7 installed so my path was"
如果您正在运行基于 alpine 的 Docker 容器,您可以在conf.conf中找到所有配置。
If you are running Docker container based on alpine all the configuration you can find inside conf.