Identify the host where CollabNet
TeamForge site will run and the URL where users
will find it.
Note: If you don't need email service or a custom URL -- for example, if this is a demo
or experimental site -- you can leave these variables at their default values.
-
Open the master site configuration file in a text editor.
For example:
-
vi /opt/collabnet/teamforge-installer/5.4.0.0/conf/site-options.conf
-
Rename the HOST_localhost token, replacing
localhost with the name of the machine on which your
TeamForge site will run.
Note: Make sure the HOST variable is not commented
out.
For example, suppose your organization, SuperVillain Inc., has a machine
called appbox.supervillain.org available for its site to
run on.
-
HOST_appbox.supervillain.org=app database subversion
cvs
You can specify any combination of the app option, the
database option, and the source control options
(svn, cvs, or
perforce), in any order. The default value places all
of the services on a single host machine. For example, the
Hosts section of your
site-options.conf file may end up looking like
this:
HOST_appbox.supervillain.org=app database
HOST_svn.supervillain.org=subversion cvs
HOST_perforce.supervillain.org=perforce
For instructions on distributing your site's services across multiple hosts,
see Set up source control on its own server and Set up a PostgreSQL database on its own server.
Note: The host name is case-sensitive, and must exactly match the hostname that
appears when you run the hostname command.
-
If you have an outward-facing hostname that is different from the internal
hostname (for example, if your site is running on a virtual box or in a cloud),
edit the DOMAIN variable to point the site's domain name to
the server where the site is running.
Note: If you are assigning a value to the
DOMAIN variable, check that the variable is not
commented out.
Use this format:
-
DOMAIN_<host_name>=<domain_name>
For example, suppose SuperVillain Inc. wants the domain name
worlddomination.supervillain.org for its development
site, which will be hosted on a machine called appbox.
-
DOMAIN_appbox.supervillain.org=worlddomination.supervillain.org
Your CollabNet
TeamForge site will be visible at the URL you
selected.