1

I am building a tomcat cluster on an EC2 instance... I'm using the Amazon Linux AMI so I used "yum install tomcat7" to install tomcat... I need to install another copy of tomcat.. yum puts files all over the place, not to mention the tomcat startup script. Is there an easy way to setup another instance without having to duplicate all those files by hand?

1
  • There is a per-service configuration file template at /etc/sysconfig/tomcat. Refer to the comment at the top of the file for instructions on setting up multiple Tomcat services on one Amazon Linux system. Feb 17, 2017 at 20:02

3 Answers 3

0

Well, don't use YUM then.

Simply download the tomcat from here.

After downloading, you can out it anywhere you want, like /usr/local/ or /opt/, where ever you want.

And then use the same.

0

Try installing the jpackage-repo, it resolves all of the dependencies for tomcat7. Install the rpm from this page to make installing the yum repo easy: http://jpackage.org/browser/rpm.php?jppversion=5.0&id=8559

0

you could try using multiple tomcat docker continers. https://hub.docker.com/r/uday1kiran/tomcatserver

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .