Installing and configuring Git - 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

This procedure describes how to install and configure Git in order to store all your project data (Jobs, Database connections, Routines, Joblets, etc.) in the shared Repository of the Talend Studio.

For more information on the supported Git servers, see Compatible version control systems.

Note: This procedure might not be necessary if the Git server you install already provides Git and you don't need it on your local machine.

Procedure

  1. Download the Git version corresponding to your system at https://git-scm.com/downloads and follow the installation instructions.
  2. Create an SSH key pair in Talend Studio instead of using a Git tool, to ensure the key is compatible with Talend Studio.
    1. Click Window > Preferences from the menu bar to open the Preferences dialog box.
    2. In the tree view of the dialog box, expand General > Network Connections and select SSH2 to open the corresponding view.
    3. On the Key Management tab, click Generate RSA Key... to create an SSH key pair.
    4. Click Save Private Key... to save the generated private key in the /home/UserName/.ssh folder.
    5. Note down the generated public key in the public key field.
    6. Click Apply and Close to close the Preferences dialog box.
  3. Add the public key to the settings of your Git server.
  4. Open a terminal instance.
  5. Create a known-hosts file by executing the following command:
    ssh-keyscan -H git_server_hostname >> known_hosts
  6. If you are using multiple SSH private keys, create a config file in your .ssh folder and add the following content in the file to specify which key file is used for which Git server.
    Host <git_server1_hostname>
    IdentityFile /home/username/.ssh/key1
    Host <git_server2_hostname>
    IdentityFile /home/username/.ssh/key2
  7. Add the connection information to the Talend Administration Center configuration. For more information, see the Talend Administration Center User Guide.