The easiest way to install TeamForge is to install on a single box, dedicated to
TeamForge only, taking the default configuration settings. We call this a "dedicated"
install.
Important: It is critical that you
start with a fresh machine, with no software installed apart from the boot
loader. You must have root access to the server.
-
Install CentOS 5.6
and log in as root.
Important: Don't customize your installation. Select only the
default packages list.
-
Uninstall the PostgreSQL support package and the Dovecot mail server to clear the way for TeamForge to install
PostgreSQL 9.0.4. These packages are installed as part of the default CentOS install.
- yum erase postgresql-libs dovecot
-
Check your basic networking setup.
See Set up networking for your TeamForge box for details.
-
Download the TeamForge
6.1.1 installation
repository from open.collab.net. Copy it to /etc/yum.repos.d/.
-
Install the TeamForge
application.
Tip: If the yum installer balks, you may have duplicate rpm
packages.
- Get the yum-utils package, if it isn't already
installed.
- Check for duplicate packages.
- Clean up the older packages, if any.
- package-cleanup --cleandupes
- Rerun the yum installer.
- yum install teamforge [options]
-
Set up your site's master configuration file.
-
vi /opt/collabnet/teamforge-installer/6.1.1.0/conf/site-options.conf
Note: vi is given as an example. Emacs, gedit, or any other
*nix text editor will also work.
At this stage, we'll make the minimal modifications required to set up a
usable TeamForge
6.1.1 site.
-
Edit the DOMAIN_localhost variable to point the
site's URL to the server where the site is running.
Use this format:
-
DOMAIN_localhost=<domain_name>
For example, suppose SuperVillain Inc. wants its development site
to have the URL
https://worlddomination.supervillain.org. The
DOMAIN_localhost variable will look like this:
-
DOMAIN_localhost=worlddomination.supervillain.org
-
Review the DATABASE variables.
You may want to substitute your own values for the default database
names, user names and passwords.
-
Turn on the new site-wide reporting functionality by adding the
REPORTS_* variables.
See Turn on site-wide reporting for details.
-
If you don't specify a domain name, replace the HOST_localhost token with the hostname. Otherwise, ViewVC pages for Subversion and CVS repositories created after the site is up, will be rendered with a CSS error.
-
Important:
It is mandatory that you include the SCM_DEFAULT_SHARED_SECRET token in the site-options.conf file of the primary TeamForge server, and give it a value of 16-24 characters.
Remember that you need to use that same key in the external SCM integration server also.
-
Run the installer.
-
cd /opt/collabnet/teamforge-installer/6.1.1.0
-
./install.sh -r -I -V
-
Set up the initial site data.
-
Start TeamForge.
-
/etc/init.d/collabnet start
-
Apply some finishing touches and make sure everything is running
smoothly.
-
Turn on SSL for your site by editing the relevant variables in the
site-options.conf file.
See Set up SSL for your TeamForge site.
-
Reboot the server and make sure all services come up automatically at
startup.
-
On CentOS, Apache may not automatically start up after a reboot. To
ensure that it does, run this command now:
-
/sbin/chkconfig --level 2345 httpd on
-
Log into your site as the administrator.
The value of the DOMAIN variable in the
site-options.conf file is the URL to log
into.
-
Install a project template.
TeamForge comes with a sample project
template that showcases some of the platform's most interesting
features. Site administrators and project managers can use this template
to jump-start projects without a lot of manual setup steps. See Install project templates.
-
Create a sample project.
See Create a TeamForge project.
-
Write a welcome message to your site's users.
See Create a site-wide
broadcast.