DB2 Silent Installation

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.