Installing Talend Artifact Repository as a service - 7.0

Talend MDM Platform Installation Guide for Linux

EnrichVersion
7.0
EnrichProdName
Talend MDM Platform
task
Installation and Upgrade
EnrichPlatform
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend DQ Portal
Talend ESB
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend Log Server
Talend MDM Server
Talend MDM Web UI
Talend Repository Manager
Talend Runtime
Talend SAP RFC Server
Talend Studio

Procedure

  1. As root user, copy Artifact-Repository-Nexus-VA.B.C.D.E/nexus-A.B.C-D/bin/nexus to /etc/init.d.
  2. Make the nexus script executable by running the following command:
    chmod 755 /etc/init.d/nexus
  3. Change NEXUS_HOME to the absolute folder location.
    • If you are using Nexus 2, open the nexus script then change the NEXUS_HOME variable. For detailed instructions on configuring NEXUS_HOME in Nexus 2, see Running as a Service on Linux.
    • If you are using Nexus 3, change NEXUS_HOME variable in the .bashrc file. For detailed instructions on configuring NEXUS_HOME in Nexus 3, see Run as a Service.
    For example: NEXUS_HOME="/opt/Talend-A.B.C/tac/Artifact-Repository-Nexus-V3.9.0-01/nexus-3.9.0-01"
  4. Set the RUN_AS_USER option to a user with restricted rights that you want to use to run the service. You should not be running Nexus as root user.
  5. Change PIDDIR to a directory where the user has read/write permissions, for example ./.
  6. Change the owner and group of your Talend Artifact Repository directories to the user that you want to use to run the service.
  7. From the terminal, browse to /etc/init.d.
  8. Install the service.
    • On Ubuntu, use the following command: # update-rc.d nexus defaults
    • On other Linux distributions, use the following commands:
      $ chkconfig --add nexus
      $ chkconfig --levels 345 nexus on