Tuesday, August 20, 2013

2 Install DB2 10.5 on Centos 6.4

 

Prerequisite

  • Install Centos 6.4
  • Download DB2 10.5
  • Add the Host Name resolution: /etc/hosts –> This is required because I don’t have DNS setup for my VM.
 

Prerequisite check

  • libstdc++so.6:  I use yum whatprovides libstdc++so.6 and install the missing package –> libstdc++4.4.7-3-el6.i686
  • /lib/libpam.so*: This is 32-bit PAM modules. I use yum whatprovides /lib/libpam.so* to search and install the missing package –> pam-1.1.1-l3.el6.i686
  • openibd : This is packaged is needed for purescale. The package has been rename to RDMA ( Remote Direct Memory Access) in Centos 6. Since I am not testing purescale, I am going to ignore.

image

  • Disable SELinux : Edit  /etc/selinux/config and reboot.

Install DB2

The default log location for the installation is at /tmp/db2setup.log

image

image

image

image

image

image

image

image

image

image

image

If you choice to install base on the responds file, here is the output

image

Create sample database

db2sampl

image

Connect from Data Studio

image

2 comments:

  1. Good Tutorial :) but i have a question i can't install Data Studio 4.1.1 in my VM i have CentOS 6.6 why ?

    ReplyDelete
  2. Can you tell me how ( which repo ) you installed the following Trying desperatley to get it. I use exactly the same version as you CEntos 6.4 64 bits. Thanks,

    libstdc++so.6: I use yum whatprovides libstdc++so.6 and install the missing package –> libstdc++4.4.7-3-el6.i686

    ReplyDelete

 

SQL Panda Copyright © 2011 - |- Template created by O Pregador - |- Powered by Blogger Templates