Installing MongoDB from the RPM repository - 7.3

Talend Data Management Platform Installation Guide for Linux

Version
7.3
Language
English (United States)
Product
Talend Data Management Platform
Module
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend DQ Portal
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend Log Server
Talend Repository Manager
Talend Runtime
Talend SAP RFC Server
Talend Studio
Content
Installation and Upgrade
Install MongoDB Community Edition with its default configuration using RPM.

Before you begin

  • MongoDB 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))).

About this task

The default installation also installs the following dependencies:

  • which
  • nmap-ncat

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

Procedure


  1. Install MongoDB.
    • To install the package with its default configuration, use the following command:
      sudo yum install talend-mongodb

      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.

    • If the default parameters do not match your requirements, install the package with custom parameters using the RPM command.

      For example, the following command installs the module in a specific directory:

      rpm -i --prefix=<InstallPath> https://<user>:<password>@www.opensourceetl.net/rpms/talend/<rpm_version>/base/x86_64/<rpm_name>-<rpm_version>-<rpm_build_number>.x86_64.rpm

      The list of configuration parameters is detailed in MongoDB RPM configuration parameters.

      Note: When installing the package with custom parameters, the dependencies listed above are not installed. You need to install them beforehand.
    The package is now installed. You can start the service and use it.