First, preface
A relational database system developed by IBM. DB2 is mainly used in large-scale application systems, with good scalability and support from mainframe to single user environment, to OS/2, Windows and other platforms. DB2 provides high-level data utilization, integrity, security, recoverability, and execution capabilities for small to large-scale applications, with basic platform-agnostic functionality and SQL commands. The DB2 employs data classification technology to enable mainframe data to be easily downloaded to a LAN database server, enabling client/server users and LAN-based applications to access mainframe data and make database localization and remote connectivity transparent. It is known for having a very complete query optimizer, whose external connections improve query performance and support multitasking parallel queries. DB2 has a good network support capability, each subsystem can connect a hundred thousand of distributed users, can activate thousands of active threads at the same time, especially for large distributed application system.
Second, the environment
1. System: redhat5.8 x86_64
2.ip:192.168.1.200/24
3. Dependent Packages:
# Yum List all |grep Libaio
Libaio.i386 0.3.106-5 Installed
libaio.x86_64 0.3.106-5 Installed
# Yum List all |grep compat-libstdc++
Compat-libstdc++-33.i386 3.2.3-61 Installed
compat-libstdc++-33.x86_64 3.2.3-61 Installed
Third, the configuration
1. Host Name
# vim /etc/sysconfig/network
HOSTNAME=itm.com
2. Writing to the Hosts file
# vim /etc/hosts
192.168.1.200 itm.com
# ping itm.com
PING itm.com (192.168.1.200) 56(84) bytes of data.
64 bytes from itm.com (192.168.1.200): icmp_seq=1 ttl=64 time=0.800 ms
64 bytes from itm.com (192.168.1.200): icmp_seq=2 ttl=64 time=0.042 ms
3. Upload the file and unzip it
# mkdir -pv /opt/soft/db2
# tar -zxvf DB2_ESE_10.1_Linux_x86-64.tar.gz -C /opt/soft/db2/
# cd /opt/soft/db2/ese/
LS
db2 db2ckupgrade db2_deinstall db2_install db2ls db2prereqcheck db2setup ibm_im installFixPack nlpack
./db2setup
Dbi1190i db2setup is preparing the DB2 installation wizard, which will guide you through the process
Installation process. Please wait a moment.
This article is from the "Promise" blog, make sure to keep this source http://yinuoqianjin.blog.51cto.com/8360868/1543519
Installing DB2 10.1