TeamForge installation repository configuration for Red Hat/CentOS

There are two different ways to configure your TeamForge installation repository depending on whether you install TeamForge with or without internet access.

TeamForge installation repository configuration for sites with internet access

  1. Contact the CollabNet Support and download the TeamForge 8.1 installation repository package to /tmp.
  2. Install the repository package.
    • yum install -y /tmp/collabnet-teamforge-repo-8.1.0.0-1.noarch.rpm
  3. Refresh your repository cache.
    • yum clean all

TeamForge installation repository configuration for sites without internet access

  1. Contact the CollabNet Support to get the auxiliary installer package for TeamForge 8.1 disconnected installation and save it in /tmp.
    • Red Hat Enterprise Linux / CentOS 7.1 64 bit RPM package: CTF-Disconnected-media-8.1.0.0-215.el7.x86_64.rpm
      Note: In addition to the above CentOS 7.1 64 bit RPM package, you must get the following CentOS 7.1 compatibility RPM, which is required for TeamForge 8.1 disconnected media installation on CentOS 7.1 profile: compat-ctf-dc-media-1.0-1.el7.centos.noarch.rpm.
  2. Unpack the disconnected installation package.
    • rpm -ivh <package-name>
  3. Unpack the compat-ctf-dc-media-1.0-1.el7.centos.noarch.rpm package if you are installing TeamForge 8.1 on CentOS 7.1.
    • rpm -ivh compat-ctf-dc-media-1.0-1.el7.centos.noarch.rpm
  4. Note: If the Red Hat Enterprise Linux/CentOS installation DVD is mounted already, skip the following instructions. If not, mount the DVD.
    Insert the Red Hat Enterprise Linux/CentOS installation DVD. The DVD contains the necessary software and utilities required for installing TeamForge without internet access.
    1. Mount the Red Hat Enterprise Linux/CentOS installation DVD.

      In the following commands, replace "cdrom" with the identifier for your server's CD/DVD drive, if necessary.

      • cd /media/
      • mkdir cdrom
      • mount /dev/cdrom ./cdrom/

      If there are any spaces in the automount, unmount it first and mount it as a filepath, with no spaces.

  5. Create a yum configuration file that points to the Red Hat Enterprise Linux/CentOS installation DVD.
    • vi /etc/yum.repos.d/cdrom.repo
    Here's a sample yum configuration file.
    [RHEL-CDROM] 
    name=RHEL CDRom 			
    baseurl=file:///media/cdrom/Server/
    gpgfile=file:///media/cdrom/RPM-GPG-KEY-redhat-release 
    enabled=1
    gpgcheck=0
  6. Verify your yum configuration files.
    • yum list httpd
    • yum list apr
  7. If you are installing Black Duck Code Sight in the current server, then download the code search installation package, CodeSearch-installer-2.1.3-1.noarch.rpm from https://ctf.open.collab.net/sf/go/rel4193 and save it in the /tmp directory. To install the Black Duck Code Sight installer, run the following command.
    • cd /tmp
    • rpm -ivh CodeSearch-installer-2.1.3-1.noarch.rpm

You have now successfully configured the yum package manager to look for the installation components it needs over the internet or on the DVD depending on whether you have internet access or not respectively.

You can now continue with the rest of the steps to complete the installation or upgrade.