9. Installing DB2 Version 8.2 on SuSE Linux Enterprise (SLES) 8
Before proceeding, please ensure that you have read
Section 3 and Section 4.
These installation notes are based on the 2.4.21 kernel (SLES
kernel on September 20, 2004)
9.1. Pre-installation notes
The pdksh package is installed in the default setup (required for
multiple-partition and high availability installations).
Also, SLES 8 installs the IBMJava2–SDK-1.3.1 rpm package in
a typical installation.
9.2. Installation notes
SuSE Linux Professional installs its own 1.3.1 Java JRE by default
(the "IBMJava2-SDK-1.3.1" rpm 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-1.3.1 package before installing,
using either the YaST tool, or with the command line:
rpm -e IBMJava2-SDK-1.3.1 |
After installation, this will leave the
IBMJava2-SDK-1.4.1 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-1.4.1) 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.