How to install Tomcat in Amazon Web Services EC2

Gowthamraj Somanathan picture Gowthamraj Somanathan · Oct 29, 2014 · Viewed 33.9k times · Source

I have created an instance in Amazon web services, and I have connected to the server using putty through ssh.

But I do not know how to install tomcat 8 in amazon ec2. Please help me with this.

Answer

Tiago Porangaba picture Tiago Porangaba · Oct 29, 2014

You can use yum tool to install the tomcat8 packer from amazon default repository.

The command is: yum install tomcat8-webapps tomcat8-admin-webapps