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.
You can use yum tool to install the tomcat8 packer from amazon default repository.
The command is: yum install tomcat8-webapps tomcat8-admin-webapps