Installing Tomcat from the RPM repository - 7.1

Talend Data Integration Installation Guide for Linux

EnrichVersion
7.1
EnrichProdName
Talend Data Integration
task
Installation and Upgrade
EnrichPlatform
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend Log Server
Talend Runtime
Talend Studio
Install Tomcat with its default configuration using RPM.

Before you begin

  • Tomcat requires Java 8. You can use either Oracle Java or OpenJDK.
  • Make sure that the JAVA_HOME variable is correctly set to the Java home directory. For example: /usr/java/jdk1.8.0_181-amd64.
    Tip: You can set it in the /root/.bashrc file by adding the following line to it: export JAVA_HOME=$(dirname $(dirname $(readlink -e /usr/bin/java))).

The default installation also installs the following dependencies:

  • which

In case of custom installation, these dependencies must be installed beforehand.

Procedure

  1. Create a file called talend.repo in the /etc/yum.repos.d directory, containing the following configuration:
    [talend-7.1.1]
    name=Talend 7.1.1
    baseurl='https://<user>:<password>@www.opensourceetl.net/rpms/talend/7.1.1/base/x86_64/'
    enabled=1
    gpgcheck=1
    gpgkey=http://www.opensourceetl.net/rpms/GPG-KEY-talend

    Credentials (user and password) are provided in the license email sent by Talend.

    Your repository is now ready for use.
  2. Install Tomcat with the following command:
    • To install the package with its default configuration, use the following command:
      sudo yum install talend-tomcat

      This command does not require any additional parameter. It installs the package and its dependencies with their default configuration in the default /opt/talend directory.

    • The talend-tomcat package is relocatable, meaning that you can install it in any other directory, as follows:
      rpm -i --prefix=/opt/folderpath talend-tomcat-9.0.10-1.x86_64.rpm

      In this case, all other applications depending on Tomcat and installed with RPM must be installed in that same folder, or with correct Tomcat parameters set for the application.