Installing MongoDB from the RPM repository (deprecated)
Install MongoDB Community Edition with its default configuration using RPM.
Before you begin
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.
- Create a file called talend.repo in the
/etc/yum.repos.d directory, containing the following
configuration:
[talend-8.0.1] name=Talend 8.0.1 baseurl='https://<user>:<password>@www.opensourceetl.net/rpms/talend/8.0.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. - Install MongoDB.
- To install the package with its default configuration, use the following
command:
sudo -E 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:
sudo -E rpm -i --prefix=<InstallPath> https://<user>:<password>@www.opensourceetl.net/rpms/talend/8.0.1/base/x86_64/talend-mongodb-8.0.1-1.x86_64.rpm
The list of configuration parameters is detailed in MongoDB RPM configuration parameters (deprecated).
Information noteNote: When installing the package with custom parameters, the dependencies listed above are not installed. You need to install them beforehand.
- To install the package with its default configuration, use the following
command: