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?
Tomcat – Install multiple tomcat 7 servers on single EC2 instance
amazon ec2amazon-web-servicestomcat
Best Answer
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.