Set up the CollabNet SourceForge Enterprise 5.0 environment

Check for the required software and set up a storage location.

If you are running SourceForge on multiple servers, follow these steps on your application server first, then repeat them on the rest of the machines.
  1. Stop any services that are running on the machine. For example, services such as sendmail may be running.
    • /etc/init.d sendmail stop
    • service sendmail off
  2. Replace the old PostgreSQL libraries with the compatibility libraries.
    • rpm -e --nodeps postgresql-libs
    • rpm -i compat-postgresql-libs-4-1PGDG.rhel5.i686.rpm
  3. Use the automatic environment-checking feature of the install script to verify that the necessary software is present.
    • cd [Installation_source]
    • ./install.sh --all -d <install_directory>
    Note: If you are setting up CollabNet SourceForge Enterprise 5.0 on a machine that is meant for emergency backup or disaster recovery, use the -R option, like this:
    • sudo ./install.sh -i -I -R -d [INSTALL_DIR] -V
    install.sh offers to install any missing rpms for you. If this is OK, enter YES when prompted.
  4. If install.sh reports a conflicting version of any of the required software, resolve the conflict and run environment_check.sh. environment_check.sh is the script that validates the installed packages when you run install.sh --all. When resolving conflicts, it's quicker to run environment_check.sh directly.
    Note: Warnings like this can safely be ignored:
    • /usr/local/sourceforge/var/etc is not accessible!
    • /usr/local/sourceforge/var/events is not accessible!
    Tip: You may be able to keep the conflicting versions of some of the packages identified by environment_check.sh. To try this, use the skip_conflict or -k option when you run the installer. The installer asks for confirmation before installing any missing packages.
  5. If SELinux is running, modify it to allow enable Apache (running on port 80) to proxy traffic to JBoss (running on port 8080).
    • setsebool -P httpd_can_network_connect 1
    Note: If you are installing on CentOS 4.6, skip this step.
  6. If you are installing a Korean-language site, symlink the fonts/korean directory to the fonts/ko directory.
    • ln -s /usr/share/fonts/korean /usr/share/fonts/ko
    Note: This bypasses a Java bug that can make Korean characters appear incorrectly.
Related concepts
What RPM versions am I installing?
What software does CollabNet SourceForge Enterprise 5.0 support?
How does CollabNet SourceForge Enterprise 5.0 handle third-party applications?
Related tasks
Get the CollabNet SourceForge Enterprise 5.0 install package
Related reference
install.sh
collabnet
environment_check.sh