Comments on How To Install Tomcat On CentOS 7

How to install Tomcat on CentOS 7 This document describes how to install Tomcat in CentOS 7.0. Apache Tomcat (or simply Tomcat, formerly also Jakarta Tomcat) is an open source web server and servlet container developed by the Apache Software Foundation (ASF). Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Sun Microsystems, and provides a "pure Java" HTTP web server environment for Java code to run in. Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations. Some of these users and their stories are listed on the PoweredBy wiki page.

10 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Juan Jaramillo

In the Installation step, in the download of Tomcat, the links posted here dont work. So use the following steps instead:

REPLACE THIS:

cd /opt
wget http://ftp.nluug.nl/internet/apache/tomcat/tomcat-8/v8.0.9/bin/apache-tomcat-8.0.9.zip
unzip apache-tomcat-8.0.9.zip
mv apache-tomcat-8.0.9 tomcat

FOR THIS:

cd /opt
wget http://www.interior-dsgn.com/apache/tomcat/tomcat-8/v8.0.14/bin/apache-tomcat-8.0.14.zip
unzip apache-tomcat-8.0.14.zip
mv apache-tomcat-8.0.14 tomcat

By: Abdeltif LOUARDI

cd /opt
wget http://www.interior-dsgn.com/apache/tomcat/tomcat-8/v8.0.15/bin/apache-tomcat-8.0.15.zip
unzip apache-tomcat-8.0.15.zip
mv apache-tomcat-8.0.15 tomcat

By: Ocelot

cd /optwget http://www.interior-dsgn.com/apache/tomcat/tomcat-8/v8.0.21/bin/apache-tomcat-8.0.21.zipunzip apache-tomcat-8.0.21.zipmv apache-tomcat-8.0.21 tomcat

By: Ali

Great tutorial!

 

Thanks. :)

By: Davide

Please add new CentOS 7 command in place of:

netstat -an | grep 8080

ss -an | grep 8080

:-)

By: som

nice tutorial. thank you.

By: mhn2014

the firewall policy made me run my local server!

Thanks!

By: munqith

Great,nice ,easy tutorial

thanks

By: Vi

Add below content to $CATALINA_HOME/conf/Catalina/localhost/manager.xml to allow accessing manager app from remote host.<Context privileged="true" antiResourceLocking="false" docBase="${catalina.home}/webapps/manager"> <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="^.*$" /> </Context>

By: vaibhav shukla

Hi am trying wget but getting following error:

Connecting to www.interior-dsgn.com (www.interior-dsgn.com)|205.186.175.205|:80... connected.

HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.

Retrying.

 

What to do?