Before you install DB2® database products on Linux® operating systems, ensure that the system you choose meets the necessary operating system, hardware, software, and communications requirements.
For the latest information about supported Linux distributions, point your browser to http://www.ibm.com/software/data/db2/linux/validate/.
DB2 database products are supported on the following hardware:
The supported operating systems for Linux include:
If you are installing a DB2 32-bit database product on a Linux operating system, consider upgrading to a 64-bit operating system and installing the DB2 64-bit database product instead. The multithreaded architecture generally simplifies memory configuration. However, this could affect the memory configuration of 32-bit DB2 database servers. For example:
You should update your kernel configuration parameters before installing a DB2 database product. The default values for particular kernel parameters might not be sufficient when running a DB2 database system.
You might also have other products or applications that require Linux system resources. You should modify the kernel configuration parameters based on the needs of your Linux system working environment.
The kernel configuration parameters are set in /etc/sysctl.conf.
Refer to your operating system manual for information about setting and activating these parameters using the sysctl command.
The following tables list the package requirements for SLES and RHEL distributions:
Package name | Description |
---|---|
libaio | Contains the asynchronous library required for DB2 database servers. |
compat-libstdc++ | Contains libstdc++so.6 (not required for Linux on POWER) |
The following tables list the package requirements for SUSE Linux and Red Hat distributions for DB2 partitioned database servers.
If you choose to use the rsh remote shell utility, inetd (or xinetd) must be installed and running as well. If you choose to use the ssh remote shell utility, you need to set the DB2RSHCMD communication variable immediately after the DB2 installation is complete. If this registry variable is not set, rsh is used.
All required packages should be installed and configured before continuing with the DB2 database system setup. For general Linux information, see your Linux distribution documentation.
Package name | Description |
---|---|
pdksh or ksh93 | Korn Shell. This package is required for partitioned database environments. |
openssh | This package contains a set of server programs which allow users to run commands on (and from) remote computers via a secure shell. This package is not required if you use the default configuration of DB2 database systems with rsh. |
rsh-server | This package contains a set of server programs which allow users to run commands on remote computers, login in to other computers, and copy files between computers (rsh, rexec, rlogin, and rcp). This package is not required if you configure DB2 database systems to use ssh. |
nfs-utils | Network File System support package. It allows access to local files from remote computers. |
Directory | Package name | Description |
---|---|---|
/System Environment/Shell | pdksh or ksh93 | Korn Shell. This package is required for partitioned database environments. |
/Applications/Internet | openssh | This package contains a set of client programs which allow users to run commands on a remote computer via a secure shell. This package is not required if you use the default configuration of DB2 database systems with rsh. |
/System Environment/Daemons | openssh-server | This package contains a set of server programs which allow users to run commands from a remote computer via a secure shell. This package is not required if you use the default configuration of DB2 database systems with rsh. |
/System Environment/Daemons | rsh-server | This package contains a set of programs which allow users to run commands on a remote computer. Required for partitioned database environments. This package is not required if you configure DB2 database systems to use ssh. |
/System Environment/Daemons | nfs-utils | Network File System support package. It allows access to local files from remote computers. |
One of the following browsers is required to view online help and to run First Steps (db2fs):
On RHEL 5 systems, if Security-enhanced Linux (SELinux) is enabled and in enforcing mode, the installer might fail due to SELinux restrictions.
To determine if SELinux is installed and in enforcing mode, you can do one of the following:
To disable SELinux, you can do one of the following:
If your DB2 database product installs successfully on a RHEL 5 system, DB2 processes will run in the unconfined domain. To assign DB2 processes to their own domains, modify the policy. A sample SELinux policy is provided in the sqllib/samples directory.
[ Top of Page | Previous Page | Next Page | Contents ]