Installing Talend Artifact Repository as a service - 6.5

Talend Big Data Installation Guide for Linux

EnrichVersion
6.5
EnrichProdName
Talend Big Data
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

Procedure

  1. As root, 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. Open the nexus script to edit it.
  4. Change NEXUS_HOME to the absolute folder location.
    For example: NEXUS_HOME="/opt/Talend-A.B.C/tac/Artifact-Repository-Nexus-V2.14.3-02/nexus-2.14.3-02"
  5. 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.
  6. Change PIDDIR to a directory where the user has read/write permissions, for example ./.
  7. Change the owner and group of your Talend Artifact Repository directories to the user that you want to use to run the service.
  8. From the terminal, browse to /etc/init.d.
  9. 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