Install the Git Connector

Prerequisite

Before you start the installation, verify that you have root-level access to the machine that will host the Git Connector.

Installation Steps

  1. Import the Helix Core Server package signing key.

    Run the command for your operating system:

    For Ubuntu:

    $ wget -qO - http://package.perforce.com/perforce.pubkey | sudo apt-key add - 
    $ sudo apt-get update

    For CentOS or Red Hat Enterprise Linux:

    $ sudo rpm --import http://package.perforce.com/perforce.pubkey

    For SUSE Linux Enterprise Server:

    $ sudo rpm --import http://package.perforce.com/perforce.pubkey
  2. Configure the Helix Core Server package repository.

    As root, perform the following steps for your operating system:

    For Ubuntu 14.04 (trusty), 16.04 (xenial), 18.04 (bionic):

    Create the file /etc/apt/sources.list.d/perforce.list with the following content:

    deb http://package.perforce.com/apt/ubuntu distro release

    where distro is replaced by trusty, xenial, or bionic

    For CentOS or Red Hat Enterprise Linux:

    Create the file /etc/yum.repos.d/Perforce.repo with the following content:

    [perforce]
    name=Perforce for CentOS $releasever - $basearch
    baseurl=http://package.perforce.com/yum/rhel/6/x86_64/
    enabled=1
    gpgcheck=1
    gpgkey=http://package.perforce.com/perforce.pubkey

    where the number 6 in

    http://package.perforce.com/yum/rhel/6/x86_64/

    represents the CentOS version number, such as 6 or 7

    For SUSE Linux Enterprise Server:

    Run the following command:

    $ sudo zypper addrepo http://package.perforce.com/yum/rhel/7/x86_64/ helix

    where the number 7 in

    http://package.perforce.com/yum/rhel/7/x86_64/

    represents the SUSE version number, such as 6 or 7

  3. Install the Git Connector package.

    Run the command for your operating system:

    For Ubuntu:

    $ sudo apt-get install helix-git-connector

    For CentOS or Red Hat Enterprise Linux:

    $ sudo yum install helix-git-connector

    For SUSE Linux Enterprise Server:

    $ sudo zypper install helix-git-connector
  4. Follow the prompts.

  5. See Configure the Git Connector.