CentOS help


Provide a Perforce source control server

Enabling your users to integrate Perforce repositories into their TeamForge projects requires some extra configuration.

  1. If you are adding Perforce support to an existing site, back up your site's data first. (If you are adding Perforce as part of installing a new site, skip this.) See Back up CollabNet TeamForge data.
  2. Install Perforce, using the instructions in the Perforce sysadmin documentation.
  3. Open the site-options.conf file. This is the master configuration file that controls your TeamForge site.
    • vi /opt/collabnet/teamforge-installer/6.1.1.0/conf/site-options.conf
    Note: vi is an example. Any *nix text editor will work.
  4. Add these variables to your site-options.conf file, changing the values as appropriate:
    • PERFORCE_CLIENT=/usr/local/bin/p4
    • PERFORCE_PORT=localhost:1666
    • PERFORCE_LICENSE_FILE=/tmp/license
  5. Review the variables you've changed, then save the site-options.conf file.
  6. If your Perforce server is running SuSE, remove the perforce user from the TeamForge server and bootstrap the site data. (If you are on Red Hat or CentOS, skip this.)
    • userdel perforce
    • ./bootstrap-data.sh
  7. If you are adding Perforce support to an existing site, restore your site's data. See Restore backed-up CollabNet TeamForge data.
Related reference information
PERFORCE_LOG_DIR
PERFORCE_CLIENT_DIR
PERFORCE_LICENSE_FILE
PERFORCE_PORT