This time to Enterprise Cloud Server installation, in the early days to configure the Yum library. Otherwise, the installation will report the lack of a libstdc++.so.6 solution.
CentOS Source http://mirrors.163.com/.help/centos.html
MV Centos-base.repo centos-Base.repo.bak//Configure local yum Execute Yum Source Update command yum clean all yum makecache yum Updateyum list configuration complete!!
<!------------db2_v10.5 Installation:-------------------------------------------->
Db2_install// perform installation
Missing 32-bit libstdc++.so.6
Solution:
Workaround: Yum install pam.i686yum install Pam-ypam*-y glibc* libstdc*yum Install Libstdc ++.so. 6
<!------------create users and Groups-------------------------------------------->
-G db2iadm1-m-d/home/601 -G db2fadm1-m-d/home/602 -G dasadm1-m-D /home/dasusr1 DASUSR1// Set password passwd db2inst1passwd db2fenc1passwd DASUSR1
<!------------Create DB2 instance------------------------------------------->
// Create Das [email protected] instance]# pwd/opt/ibm/db2/v10. 5/instance[[email protected] instance]#. /DASCRT-u dasusr1// Create DB2 instance./db2icrt-u db2fenc1 Db2inst1
<!------------Configuring the DB Server TCP/IP------------------------------------------->
Su--all // view db2set db2comm// update server file Db2set- /etc/services | grep DB2 // Update DB Management files get dbm cfg | using50001
<!------------verify communication port status------------------------------------------->
Db2start // start DB250001// CREATE database using codeset utf-8 8192// Connection db
To the end of this installation! You can use Datastudio to connect to the database.
Also attached DB2 common Operation command:
http://blog.csdn.net/vanseparis/article/details/51804486
Http://www.jb51.net/article/21172.htm
DB2 Silent Installation