10. Installing DB2 Version 8.2 on SuSE Linux Professional 9.1
Before proceeding, please ensure that you have read
Section 3 and Section 4.
Note that IBM does not officially support this distribution for
DB2 UDB V8.2. Any problems you encounter using this distribution must be
replicated on a supported distribution before IBM Support will help you
resolve the issue.
These notes are based on a single-partition installation on the
2.4.21 kernel (September 20, 2004).
10.1. Pre-installation
notes
If you want to run a multiple-partition environment, you will need
to install the pdksh package found on CD
4.
10.2. Installation notes
SuSE Linux Professional installs its own 1.4.2 Java JRE by default
(the "java2-jre-1.4.2" package). During the DB2 UDB installation,
this will cause a warning to be generated:
Command to be run: "/bin/rpm -ivh \
'/mnt/cdrom/db2/linux/Java-1.4/IBMJava2-SDK-1.4.1-2.0'.i386.rpm"
Warning: there may be a version of this package already installed. |
Since this package was
supplied by SuSE Linux, it will have been installed into a different
directory tree than the JDK from IBM that DB2 UDB installs.
Therefore, there are 3 options you can choose to deal with this issue:
Uninstall the java2-jre-1.4.2 package
before installing, using either the YaST tool, or with command line rpm
erase command. This will leave the IBMJava2-SDK package as the
only Java installation on the system.
Leave both Java packages installed. By default, DB2 UDB
will use the 1.4.1 JRE that it installs. The fact that SuSE Linux's Java
package installs to a different directory means that the two packages
will not conflict.
Remove the IBM package (either with YaST or with rpm -e
IBMJava2-SDK) after the installation completes. Update the DB2 UDB
JDK_PATH configuration parameters to use the package installed by SuSE
Linux:
db2 UPDATE DBM CFG USING JDK_PATH /usr/lib/java
db2 UPDATE ADMIN CFG USING JDK_PATH /usr/lib/java |
Other than that one minor issue, DB2 UDB installed cleanly and
setup was problem free.