If SELinux is active on the machine where your CollabNet
TeamForge site is running, modify it to
allow the services that TeamForge
requires.
This type of configuration is required for a complete TeamForge
installation.
-
Enable Apache (running on port 80) to proxy traffic to JBoss (running on port
8080).
-
setsebool -P httpd_can_network_connect 1
-
When you are installing TeamForge, follow these steps to enable services to
come up when needed.
-
Change the context for the TeamForge log.
-
chcon -R -h -t httpd_sys_content_t
/opt/collabnet/teamforge/log/httpd
-
Change the context for PostgreSQL.
-
chcon -R -h -t postgresql_db_t
/var/lib/pgsql
-
Create the PostgreSQL log directory and set the appropriate
permissions.
-
mkdir /opt/collabnet/teamforge/log/pgsql
-
chown -R postgres:postgres
/opt/collabnet/teamforge/log/pgsql
-
chmod 777
/opt/collabnet/teamforge/log/pgsql/
-
Change the context for the PostgreSQL log.
-
chcon -R -h -t postgresql_db_t
/opt/collabnet/teamforge/log/pgsql/
-
After your site is installed and contains some live data, follow these steps to
allow source control services to work.
-
Change the context for your Subversion source code service.
-
chcon -R -h -t httpd_sys_content_t
/svnroot
-
Change the context of the Subversion repository that handles the
branding (look and feel) of your site.
-
chcon -R -h -t httpd_sys_content_t
/sf-svnroot
-
chcon -R -h -t httpd_sys_content_t
/opt/collabnet/teamforge/var/overrides
-
Change the context for your local CVS repository, if you have
one.
-
chcon -R -h -t httpd_sys_content_t
/cvsroot