在Elastic Beanstalk的Linux AMI上的哪里可以找到Tomcat 7安装文件夹? [英] Where can I find the Tomcat 7 installation folder on Linux AMI in Elastic Beanstalk?
问题描述
我有一个弹性beantalk linux-tomcat ami实例,其中安装了示例应用程序,并且正在使用公共dns.我可以进入 实例,但找不到tomcat 7所在的位置(即用于编辑server.xml的conf目录).我已经尝试过使用64位和32位ami.关于我在哪里可以找到的任何想法?我看了下:
I have a elastic beanstalk linux-tomcat ami instance with the sample application installed and working off the public dns. I'm able to ssh into the instance but cannot find where tomcat 7 lives (ie. the conf directory to edit server.xml). I've tried this with a 64 and 32 bit ami. Any ideas on where I might find this? I looked under:
/etc
/usr/share
我确实在tmp
下找到了一个elasticbeanstalk-tomcat7-deployment
文件(为空).
I did find a elasticbeanstalk-tomcat7-deployment
file under tmp
(was empty).
我做了一个:
sudo yum install tomcat7
,并且还从:8080
提供示例应用程序并在公共DNS上运行.因此,我(认为)在同一个beantalk实例上运行2个tomcat服务器.在那种情况下,我试图找到Tomcat 7文件夹在哪里(在端口80
上服务页面).
and the sample application is also being served up from :8080
and working on the public DNS. So I (think) have 2 tomcat servers running on the same beanstalk instance. In that case, I'm trying to find where the Tomcat 7 folders are (serving pages on port 80
).
推荐答案
自2012年下半年起,通常位于/usr/share/tomcat7
下.
Since late 2012, it is usually under /usr/share/tomcat7
.
在此之前,通常可以在/opt/tomcat7
下找到.
Prior to that, it was usually found under /opt/tomcat7
.
这篇关于在Elastic Beanstalk的Linux AMI上的哪里可以找到Tomcat 7安装文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!