Apache Tomcat 10 Manager App Quick-Start Guide

May 10, 2020 | By the+gnu+linux+evangelist.

Enabling

  1. 2. Installing Tomcat 10

    How to Install Tomcat 10 Server on Linux/Unix

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

    Then Check if $CATALINA_HOME is Set.

    echo $CATALINA_HOME

    If not then edit the Bash Config file:

    nano ~/.bashrc

    And Append:

    export CATALINA_HOME=/opt/apache-tomcat-10

    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:

    bash
  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 10 Apps Manager on.

    http://localhost:8080/manager.

    • user: admin
    • pass: admin

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

Contents


QuickChic Theme • Powered by WordPress