For production purposes, install the DB2 database on an IBM X3850 server. The following describes the procedure.
Software and Hardware System Configuration:
Operating System: SUSE enterprise 10 linux (64bit)
Hardware configuration: 32 GB memory
Database software: DB2 V9.7 (64bit)
I. Check the required environment and software packages
Before installing DB2 databases on SUSE Linux, ensure that the system meets the required operating system, hardware, software, and communication requirements.
DB2 database products have several different versions. Some DB2 database products and functional components are only available on a specific operating system. See the IBM official website to obtain available DB2 database products on each operating system.
Use rpm-qa to find the required software package. packages that do not exist can be installed using yast2-I.
Linux-uu1q: # rpm-qa | grep libaio
Libaio-0.3.104-14.2
Libaio-devel-0.3.104-14.2
Linux-uu1q: # rpm-qa | grep libstdc
Libstdc +-devel-4.1.2_20070115-0.29.6
Libstdc ++-4.1.2 _ 20070115-0.29.6
Linux-uu1q: # rpm-qa | grep nfs-utils
Nfs-utils-1.0.7-36.36.47
Linux-uu1q:/home/server # rpm-qa | grep compat-libstdc
Compat-libstdc ++-33-3.2.3-61
(Check whether libstdc ++. so.5 exists
Linux-uu1q:/usr/lib64 # ls-l libstdc ++. so .*
Lrwxrwxrwx 1 root 18 Feb 22 libstdc ++. so.5-> libstdc ++. so.5.0.7
-Rwxr-xr-x 1 root 825400 Apr 9 2007 libstdc ++. so.5.0.7
Lrwxrwxrwx 1 root 18 Feb 21 21:57 libstdc ++. so.6-> libstdc ++. so.6.0.8
-Rwxr-xr-x 1 root 969048 Sep 5 2009 libstdc ++. so.6.0.8)
Note that the compat-libstdc ++-33-3.2.3-61.x86_64.rpm package does not exist on the suse linux 10 cd. You need to download and install the package yourself. Otherwise, when installing DB2, the system reports that libstdc ++ cannot be found. so.5 alarm. (Libstdc ++. so.5 is required for DB2 database servers and clients. If you use g ++ 4.1 On RHEL 5 or SLES 10 to compile the C ++ application, the following warning is generated: libstdc ++ required by libdb2.so. so.5 may be different from libstdc ++. so.6 conflict)
Ii. Start installation and configuration
# Tar-xvf DB2v9.7_linux64_server.tar
# Cd server
#./Db2setup (it is best not to use db2_install)
Set the installation directory
The last step is to install it until it is complete.