Search code examples
javaamazon-web-servicestomcatamazon-ec2tomcat8

How to install Tomcat in Amazon Web Services EC2


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.


Solution

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

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