2 Minutes To Code (β Version)

Apache Tomcat - 2 minute tutorial

How to run Tomcat on linux box

If you have followed the 2 steps mentioned in the previous page how to install tomcat, then let's proceed to running tomcat.

Goto to $TOMCAT_DIR/bin and double-click on startup.sh. If your linux box is a GUI-less or headless box, then open a console terminal, 'cd' to $TOMCAT_DIR/bin and then run ./startup.sh. This will start your tomcat server.

To verify that your tomcat has indeed started, open your web browser and go to the url http://localhost:8080. If you see the page shown in the image below, then mission accomplished. Your tomcat is up and running.