You can still apply a patch to CollabNet
TeamForge even if your local network
segment is cut off from the Internet.
When you redirect the logs during the patch install process (./patch-install.sh -l 2 -d
/opt/collabnet/teamforge &> /tmp/install.log) you may see the command prompt at this point. This does not indicate that
the installation has ended - the installation should complete with the logs redirected. To verify that the install process is still running, you could
run the <ps -ef | grep install> command.
-
Get the CD containing the patch from your CollabNet representative.
The CD includes the TeamForge patch installer and the required auxiliary software.
On the CD, identify
the installer that matches the operating system you are using.
Operating system |
Installer file |
RHEL 5.4 32-bit |
cd-collabnet-5.4.0.1.181.i386-redhat-5.tar.gz
|
RHEL 5.4 64-bit |
cd-collabnet-5.4.0.1.181.x86_64-redhat-5.tar.gz
|
-
Put the software you need in a directory on your server, such as
/root.
-
Copy the appropriate patch tarball.
-
cp
/media/disk/cd-collabnet-<release-number>-<build-number>-<arch>.tar.gz
/root/
-
Copy the installer rpm file.
-
cp
/media/disk/TeamForge-installer-<release-number>-<build-number>.noarch.rpm
-
Run the rpm file to deploy the installer.
-
rpm -ivh
TeamForge-installer-<release-number>-<build-number>.noarch.rpm
-
Copy the resulting patch install software into the
downloads directory under your installer directory.
Note: If the downloads directory doesn't exist, create it.
-
mkdir
/opt/collabnet/teamforge-installer/<release-number>/downloads
-
cd
/opt/collabnet/teamforge-installer/<release-number>/downloads
-
cp
/root/cd-collabnet-<release-number>.<build-number>.<arch>.tar.gz
.
-
Stop CollabNet
TeamForge.
Note: If your site is running on multiple machines, stop all the
machines.
-
/etc/init.d/collabnet stop all
-
Run the patch installer from the base installer directory.
-
cd /opt/collabnet/teamforge-installer/5.4.0.0
-
./patch-install.sh -l 1 -n -V -d
/opt/collabnet/teamforge
The -l parameter specifies the number of the patch (also
called the patch level) and the -d parameter specifies
the directory where the site is running.
-
Start CollabNet
TeamForge.
- On Red Hat or CentOS:
-
/etc/init.d/httpd start (On CentOS, you
may need to start Apache manually: /sbin/chkconfig
--level 2345 httpd on)
-
/etc/init.d/postgresql start
-
/etc/init.d/collabnet start
- On SuSE:
-
/etc/init.d/apache2 start
-
/etc/init.d/postgresql start
-
/etc/init.d/collabnet start