|
|
12. Installing DB2 Version 8.2 on Fedora Core 2Before 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. Fedora Core 2 is a release of the Fedora Project (the Red-Hat-sponsored and community-supported open source project). The Fedora Project is a source for new technologies and enhancements that may be incorporated into Red Hat Enterprise Linux (RHEL) in the future. These notes are based on both the default 2.6.5-1 and the update 2.6.8-1 kernels (the Fedora Core 2 kernel update on September 13, 2004 was 2.6.8-1), and installing to a single-partition environment. 12.1. Pre-installation notesThe kernel parameters (ipcs -l) before DB2 UDB installation:
The asynchronous I/O package (libaio) is also required to take advantage of the 2.6 kernel improvements. Install the libaio package from the Fedora Core CD. 12.2. Install NotesThe default 2.6.5 kernel had no installation issues with the db2setup GUI installer. On the 2.6.8 kernel, however, I received an error when running the db2setup utility (the error may not display to the terminal; instead, if the db2setup command seems to fail without error, check the /tmp/db2setup.err file) :
The last step to making this work – and this is very important – is to add in a link named "jre" in Sun's Java folder so that db2setup works properly with the directory:
After making these changes, the db2setup GUI installer works properly. Alternatively, you can avoid the Java-based problems by installing on Fedora Core 2 using
12.3. Post-installation notesThe kernel parameters (ipcs -l) after installation look like:
Initialize the Asynchronous I/O so DB2 UDB can take advantage of this new kernel feature. As the instance owner, run:
For the GUI tools (DB2 UDB Control Center, DB2 UDB Configuration Assistant, DB2 UDB First Steps) to work properly under the 2.6.8-1 kernel, you'll need to tell DB2 UDB to use the Sun JRE. As the instance owner, execute these commands:
|