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?

  • 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. – Tyler Rafferty Feb 17 '17 at 20:02
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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.