Helix4Git Administrator Guide (2019.1)

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:

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

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

    For Ubuntu 16.04:

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

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

    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

    For SUSE Linux Enterprise Server:

    Run the following command:

    $ sudo zypper addrepo http://package.perforce.com/yum/rhel/7/x86_64/ helix
  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. Configure the Git Connector. See Upgrading Git Connector and Configure the Git Connector.