Black Duck Code Sight is not supported on RHEL/CentOS
7.1. Follow these instructions to install Black Duck Code Sight on
a separate RHEL/CentOS 6.6 server.
-
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.
-
Check your basic networking setup.
See Set up networking for your TeamForge server for details.
-
Configure your TeamForge
8.1 installation repository.
See TeamForge installation repository configuration for Red Hat/CentOS.
-
Install Black Duck Code Sight.
- yum install
teamforge-codesearch
-
Copy the site-options.conf file from the application server to the
/opt/collabnet/teamforge-installer/8.1.0.1/conf directory
of the Black Duck Code Sight server.
-
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
-
Save the site-options.conf file.
-
Recreate the runtime environment.
- cd
/opt/collabnet/teamforge-installer/8.1.0.1
-
./install.sh -r –I –V
-
Unpack your compressed backup file and restore your Black Duck Code Sight data.
Unpack
- cd /tmp
- tar xzvf 80backup.tgz
Restore
- cd /opt/collabnet
- mv blackduck blackduck_bak
- tar -zxvf /tmp/backup_dir/blackduck.tgz
-
To start the Black Duck Code Sight service, use:
- /etc/init.d/collabnet
start tomcatcs