Apache Tomcat 9 Manager App Quick-Start Guide

May 10, 2020 | By the+gnu+linux+evangelist | Filed in: Tutorial.


  1. 2. Installing Tomcat 9

    How to Install Tomcat 9 Server on Linux/Unix

    Install Tomcat 9 for NIX
  2. 3. Setting Up Environment

    Then Check if $CATALINA_HOME is Set


    If not then edit the Bash Config file:

    nano ~/.bashrc


    export CATALINA_HOME=/opt/apache-tomcat-9

    Or some other installation location…
    Ctrl+v to Paste into nano.
    Ctrl+x to Save & Exit from nano ;)

    Then to Reload the Bash Configuration simply run:

  3. 4. Editing Configuration

    Edit the tomcat-users.xml File

    sudo nano $CATALINA_HOME/conf/tomcat-users.xml

    Insert into the tomcat-users section:

    <role rolename="manager-gui" />
    <user username="admin" password="admin" roles="manager-gui"/>

    In case Customize your “username” and “password” as Needed…

  4. 5. Restarting Tomcat

    Restart Tomcat

    sudo $CATALINA_HOME/bin/shutdown.sh
    sudo $CATALINA_HOME/bin/startup.sh
  5. 6. Testing Manager App Access

    Test Access to Tomcat 9 Apps Manager on.


    • user: admin
    • pass: admin

    Next Remember to Set a New Secure User/Pass Combination!.


Tags: , , ,

QuickChic Theme • Powered by WordPress