Prerequisites are the hardware and software elements needed on your system before you can install and use DB2 Express-C 9. This section covers:
Take into account the disk space requirements before you install and configure DB2 on your distribution:
Table 1. Disk space requirements
Required disk space
DB2 is installed with most features and functionality, including graphical tools such as the Control Center.
460 to 560 MB
DB2 is installed with basic features and functionality, but without the graphical tools.
380 to 460 MB
This option allows you to select the features and functionality that you want to install.
320 to 820 MB
It's important to allocate enough disk space for the software, along with the product documentation (if desired) and the databases you create.
In DB2 9, product documentation is accessed through the DB2 Information Center, either via the web, or as a local system installation. To install this locally requires at least 100 MB when installing the core English language files. Additional space is required for other additional languages. If disk space is an issue, you can configure DB2 to access the Information Center from the Web. More detail about this is provided in Installing the DB2 Information Center.
We recommend that you should allocate a minimum of 512 MB of RAM for DB2 Express-C 9, and additional memory should be allocated for other software and communication processes. When determining memory requirements, consider the following points:
For a list of all the distributions that are officially supported, as well as the latest information about kernels, libraries, integrated cluster environments, and papers, visit the DB2 for Linux validation web site listed in Resources.
Depending on your DB2 requirements, you may be required to install additional software packages for DB2 to function properly. Make sure that these software packages are installed prior to using DB2.
X Window System software, capable of rendering a graphical window manager (KDE, Gnome, etc.). You will need this if you want to use the DB2 graphical installer, or any of the DB2 graphical tools.
A web browser, to view topics in the DB2 Information Center.
If you are using NIS or NIS+ for security authentication on your system, you must create DB2 user accounts before installing DB2.
Additional packages, as outlined in the following table:
Table 2. Package requirements
Required by 64-bit architectures only. Required for backwards compatibility with standard C++ libraries used by DB2.
nfs-utils (version 1.0 or later)
Network File System support package. It allows access for local files to remote machines. Required for systems utilizing NFS mounted drives.
rpm -qa compat-libstdc++*
To install these packages on Red Hat Linux, use the Red Hat Linux installation CDs and the rpm command, or the up2date utility. For example, to install the compat-libstdc++ package from the Red Hat Linux CD, mount the Red Hat Linux CD #4, and enter this command as root:
rpm -ivh /mnt/cdrom/RedHat/RPMS/compat-libstdc++-296-2.96-132.7.2.i386.rpm
To install these packages on SUSE Linux, you can also use rpm or use the handy YaST (Yet another Setup Tool) utility. For example, to install nfs-utils on SLES 9 using YaST:
Log on as root
From the YaST Control Center, select Software -> Software Management, then use the search "nfs-utils" to find the appropriate packages.