Apache Tomcat is free and open source software that implements a Java-based HTTP web server using Java Servlets and JavaServer Pages (JSP). It is an option to consider when you are implementing a content management system or creating web applications.
There are four main steps to take to get Tomcat ready for use on a dedicated server:
1. Install Java. Note that many Linux distributions will offer Java installations through their package managers. To install on CentOS, see their wiki.
2. Install Tomcat
The easiest option is to install Tomcat from the default YUM repository:
yum install tomcat*
This will provide an older version of Tomcat than is currently available from Apache. If you want the latest, you can download a binary directly from the Apache website.
Source: coreservlets.com
Photo: Wikimedia Commons