Install Tomcat on CentOS 7

Apache Tomcat is an open source implementation of the Java Servlet and Java Server Pages. To install Apache Tomcat on CentOS 7, run

To enable tomcat start on boot

You can manage tomcat with

To see the ports used by tomcat

webapps are stored in the directory

Create the default page with

Tomcat web server can be accessed using

To open 8080 port on the firewall, use commands

Tomcat configurations are available in the directory.

Install tomcat Manager

To install the Tomcat manager GUI application, run

To create user, edit file

Inside ““, add

USER_NAME_HERE and PW_HERE – replace with the username and password you need.

Restart tomcat to activate Tomcat Manager GUI.

To access GUI, go to

Leave a Reply

Your email address will not be published. Required fields are marked *