Install Black Duck Code Sight on a separate RHEL/CentOS 6.6 server

Black Duck Code Sight is not supported on RHEL/CentOS 7.0. Follow these instructions to install Black Duck Code Sight on a separate RHEL/CentOS 6.6 server.

  1. Install Red Hat Enterprise Linux/CentOS 6.6 and log in as root.
    Important: Don't customize your installation. Select only the default packages list.
  2. Check your basic networking setup. See Set up networking for your TeamForge server for details.
  3. Configure your TeamForge 8.0 installation repository. See TeamForge installation repository configuration for Red Hat/CentOS.
  4. Install Black Duck Code Sight.
    • yum install teamforge-codesearch
  5. Copy the site-options.conf file from the application server to the /opt/collabnet/teamforge-installer/8.0.0.1/conf directory of the Black Duck Code Sight server.
  6. Modify the host token settings on the site-options.conf file.
    Note: If you choose not to use the application server's site-options.conf file, then don't forget to copy the value of AUTO_DATA token from the application server.
    • HOST_localhost=codesearch
    • DOMAIN_localhost=my.codesight.domain.com
    • HOST_my.app.domain.com=app database datamart etl indexer subversion cvs gerrit
  7. Save the site-options.conf file.
  8. Run the installer.
    • cd /opt/collabnet/teamforge-installer/8.0.0.1
    • ./install.sh -r –I –V
  9. Unpack your compressed backup file and restore your Black Duck Code Sight data.

    Unpack

    • cd /tmp
    • tar xzvf 72backup.tgz

    Restore

    • cd /opt/collabnet
    • mv blackduck blackduck_bak
    • tar -zxvf /tmp/backup_dir/blackduck.tgz
  10. To start the Black Duck Code Sight service, use:
    • /etc/init.d/collabnet start tomcatcs