Upgrade Black Duck Code Sight on a new RHEL/CentOS 6.8 server

Black Duck Code Sight is not supported on RHEL/CentOS 7.2. Follow these instructions to upgrade Black Duck Code Sight on a RHEL/CentOS 6.8 server (new hardware).

Attention: Installing or upgrading TeamForge needs root privileges. You must log on as root or use a root shell to install or upgrade TeamForge.
  1. Install Red Hat Enterprise Linux/CentOS 6.8 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 installation repository.
  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/etc/ directory of the Black Duck Code Sight Server.
  6. Modify the host token settings on the site-options.conf file.
    Important: 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. Create the runtime environment.
    • /opt/collabnet/teamforge/installer/install.sh
  9. To start the Black Duck Code Sight service, use:
    • /etc/init.d/collabnet start tomcatcs