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?
Well, don't use YUM then.
Simply download the tomcat from here.
After downloading, you can out it anywhere you want, like
And then use the same.
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