DB2 Version 7.1 for Linux HOWTO

Dan Scott

Revision History
Revision 1.2.22001-01-29Revised by: dbs
Using the 2.4 kernel, MSGMNI kernel parameter, Linux-Mandrake 7.2 information, SuSE 7.0 information, license management for Debian, link to Text Extender alternative.
Revision 1.2.12000-10-25Revised by: dbs
Basic Red Hat 7.0 info, additional Debian instructions.
Revision 1.22000-09-25Revised by: dbs
IBM JDK 1.3 works! More troubleshooting.
Revision 1.12000-07-28Revised by: dbs
Documented _SHM_ID_BITS kernel parameter tuning for increasing number of available connections. Added basic indexing.
Revision 1.02000-07-06Revised by: dbs
Added basic Debian instructions. Corrected some factual, stylistic, and grammatical mistakes. Licensed document under GNU GPL. Submitted document to LDP.
Revision 0.72000-04-26Revised by: dbs
Based on DB2 V7.1 beta release, wrote install instructions for Caldera 2.4, Red Hat 6.2, SuSE 6.2, SuSE 6.3, and TurboLinux 6.0.

This HOWTO gives you explicit instructions on installing DB2 Universal Database Version 7.1 for Linux on the following Intel x86-based distributions: Caldera OpenLinux 2.4, Debian, Linux-Mandrake 7.2, Red Hat Linux 6.2, SuSE Linux 6.2, 6.3, and 7.0, and TurboLinux 6.0. After installing DB2, you can work with a sample database, connect to your DB2 server from a remote machine, and administer DB2 using the DB2 Control Center.


Table of Contents
1. Introduction
1.1. Why a DB2 installation HOWTO?
1.2. Who should read this HOWTO?
1.3. New versions of this document
1.4. Copyright and License
1.5. Credits
1.6. About the author
2. Prerequisites
2.1. What are prerequisites?
3. Preparing your distribution for DB2
3.1. Caldera OpenLinux 2.4
3.2. Linux-Mandrake 7.2
3.3. Red Hat Linux 6.2
3.4. SuSE Linux
3.5. TurboLinux 6.0
4. Installing DB2 using db2setup
4.1. Using the db2setup utility
4.2. Installing DB2 components
5. Installing DB2 on other Linux distributions
6. Creating DB2 instances
6.1. Overview of DB2 Administration Server
6.2. Overview of DB2 instance
7. Removing DB2
8. Using DB2
8.1. DB2 Control Center
8.2. DB2 Information Center
8.3. The DB2 command line
9. Troubleshooting
9.1. Problems with DB2 installation
9.2. Problems creating a DB2 instance
9.3. Problems using DB2
10. Improving DB2 Version 7.1 performance on Linux
11. Installing the IBM Developer Kit for Java
12. Using the 2.4 kernel with DB2 Version 7.1
A. Resources
B. GNU General Public License
B.1. Preamble