Db2 Install on Redhat Linux
These are the steps I follow when I set up a Red Hat Linux and DB2 server for development use. I'm still new to the DB2 world, so this document is quite sparse. This details the installation of DB2 Version 9.
Red Hat Install Modifications
During the Linux install, I chose the following partition structures and sizes:
swap 2098 / 2016 /usr 3016 /var 2016 /home 3016 /tmp 1024 /opt 2016 /opt/IBM fill rest of disk (at least 20GB)
Prerequisite File Modifications
Once the Linux install is complete, it's time to check and modify the prerequisites, run the following to check if these packages have been installed:
rpm -q libgcc compat-db libgcc compat-db libaio firefox pdksh
If you're installing 64bit, and get an error mentioning a missing libstdc++.so.5 library, then you need to install
If you are running this remotely, make sure that you have an x-server installed, and are using "X11 forward" with ssh.
Download the DB2 install.
I usually copy the downloaded file into the following folder:
Untar the file:
tar -xvf DB2_Enterprise_Svr_Ed_Linux_x86-64.tar
This will create all the relevant files and directories. To start the install, run: