Apache Tomcat 9 - Linux

In order to access Adeptia Connect UI, you need to install Apache Tomcat 9. Click here to download Apache Tomcat 9. Choose the Tomcat according to your operating system.

Installing Apache Tomcat 9

To install:

  1. Download and extract the file to the /opt folder.
  2. Modify the /etc/environment file to set CATALINA_HOME variable for Tomcat. For example,

    vi /etc/environment
  3. Set the value in the variable CATALINA_HOME. Set the value where you have extracted Tomcat zip file. For example,

    CATALINA_HOME="/opt/apache-tomcat_9.0.0.m19"
  4. Restart your computer.

Verifying Installation

After Apache Tomcat 9 is installed successfully, you need to verify whether Apache Tomcat 9 is installed successfully or not. To verify:

  1. Open the Terminal with root user.
  2. Execute the below command:
    echo $CATALINA_HOME.
    Tomcat installed path appears indicates the successful installation.


Starting Tomcat

  1. Open the Terminal with root user.

  2. Go to the Tomcat home directory.
  3. Go to the bin folder.
  4. Execute the below command:

    ./startup.sh

    Tomcat is started successfully.


Verifying Tomcat 

 Open the browser and hit the URL in the below format: 

    <protocol_name>://<IP_address>:<port_number> 

          where, 

                    <protocol_name> is the name of the protocol you are using, for example, HTTP or HTTPS. 

                    <IP_Address> is the IP address of the computer where Apache Tomcat 9 is installed. 

                    <port_no> is the port number of the computer on which Apache Tomcat 9 is installed. The default port number is 8080. 

           For example, http://192.168.1.1:8080 

           Tomcat welcome screen appears, indicating the successful installation.