Install Apache Tomcat on Amazon EC2

Recently i wanted to install Apache Tomcat on my Amazon EC2 instance, i used Amazon Linux AMI for creating my Amazon Instance. Once the instance was started i had to
  1. While creating instance i checked the security group associated withe instance and changed it to add Custom TCP port 8080 in it. Its equivalent to opening 8080 port in firewall of your instance
  2. Once the instance was started, first thing that i did was to update yum by executing sudo yum update
  3. Next i typed yum list tomcat* command first to see what all tomcat packages are available for install and then i did execute sudo yum install tomcat7-webapp tomcat7-admin-webapp to install tomcat with deployer installed on it
  4. The yum installer takes care of installing Apache Tomcat and it creates a service that you can use for starting and stopping tomcat To start tomcat sudo service tomcat7 start To stop tomcat sudo service tomcat7 stop
When you use Yum for installing tomcat, you should be aware of following important directories
  1. /usr/share/tomcat7: This is the directory where your tomcat is installed
  2. /var/log/tomcat7: This is the directory where all your log files go. This folder is link to <TOMCAT_HOME>/logs
  3. /etc/tomcat7:This is the directory where you can find content of your <TOMCAT_HOME>/conf directory

5 comments:

Raj said...

1336Thank you Sunil

Anonymous said...

98-pm-ni40k??

Anonymous said...

98-pm-ni40k??

vanitharaj said...

Nice Sunil.

Jason Borne said...

Nice post and great content.
Avast Customer Support is here to help you out with the whole procedure to Download Avast Antivirus online, We not only fix your Avast Support related issues but will guide with how to get started with your new Avast product once it gets installed successfully. We at Avast Tech Support provides service to protect your PC from potential online threats and external attacks like viruses, Trojans, malwares, spywares and phishing scams. And Avast Refund. Call on our Avast Phone Number

Gmail Customer service is a third party technical support service for Gmail users when they face any technical issue or error in their Gmail account. Our Gmail Customer Support team solves issues like forgot Gmail account password, Gmail configuration or Sync issues, recover deleted emails and many more. Toll Free number (800) 986-9271

How you install or reinstall Office 365 or Office 2016 depends on whether your Office product is part of an Office for home or Office for business plan. If you're not sure what you have, see what office com setup products are included in each plan and then follow the steps for your product. The steps below also apply if you're installing a single, stand-alone Office application such as Access 2016 or Visio 2016. Need Help with office setup Enter Product Key? Call 1-800-000-0000 Toll Free
Norton Tech Support is a third party service provider and not in any way associated with Norton or any of its partner companies. We offer support for Norton products and sell subscription based additional warranty on computer and other peripheral devices. Call our Toll Free number 1 855 966 3855
Other Services
Norton Toll Free , Office-Setup , office.com/setup.