トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS


前提条件の確認

前提条件確認サイト http://www.ibm.com/software/data/db2/udb/sysreqs.html

# ./db2prereqcheck
ERROR:
   The required library file libstdc++.so.5 is not found on the system.
   Check the following web site for the up-to-date system requirements
   of IBM DB2 9.5
   http://www.ibm.com/software/data/db2/udb/sysreqs.html
   http://www.software.ibm.com/data/db2/linux/validate

libstdc++.so.5互換ライブラリの導入

# yum install libstdc++.so.5
Loading "fastestmirror" plugin
Determining fastest mirrors
 * base: ftp.oss.eznetsols.org
 * updates: ftp.oss.eznetsols.org
 * addons: ftp.oss.eznetsols.org
 * extras: ftp.oss.eznetsols.org
base                                                            1.1 kB 00:00
primary.xml.gz            100% |=========================| 853 kB    00:44
base      : ################################################## 2458/2458
updates                                                          951 B 00:00
primary.xml.gz            100% |=========================| 374 kB    00:06
updates   : ################################################## 805/805
addons                                                           951 B 00:00
primary.xml.gz            100% |=========================|  157 B    00:00
extras                                                          1.1 kB 00:00
primary.xml.gz            100% |=========================|  90 kB    00:01
extras    : ################################################## 295/295
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package compat-libstdc++-33.i386 0:3.2.3-61 set to be updated
--> Finished Dependency Resolution 

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 compat-libstdc++-33     i386       3.2.3-61         base              232 k 

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s) 

Total download size: 232 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): compat-libstdc++-3 100% |=========================| 232 kB    00:02
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: compat-libstdc++-33          ######################### [1/1]

Installed: compat-libstdc++-33.i386 0:3.2.3-61
Complete!

DB2 9.5の導入

  • 前提条件の再確認
    何も表示されないことを確認
    # ./db2prereqcheck
  • 導入スクリプトの実行
    # ./db2_install
    
    Default directory for installation of products - /opt/ibm/db2/V9.5
    
    ***********************************************************
    Do you want to choose a different directory to install [yes/no] ?
    標準の導入先以外に導入する場合はここで変更
    Specify one of the following keywords to install DB2 products.
    
      ESE
      CONSV
      WSE
      EXP
      PE
      CLIENT
      RTCL 
    
    Enter "help" to redisplay product names.
    
    Enter "quit" to exit.
    
    ***********************************************************
    導入する製品を選択。今回はEnterprise Server Edistionを導入するため「ESE」と入力
    DB2 installation is being initialized.
    
    Total number of tasks to be performed: 42
    Total estimated time for all tasks to be performed: 1501
    
    Task #1 start
    Description: Checking license agreement acceptance
    Estimated time 1 second(s)
    Task #1 end 
    
    Task #2 start
    Description: Base Client Support for installation with root privileges
    Estimated time 3 second(s)
    Task #2 end
    
    Task #3 start
    Description: Product Messages - English
    Estimated time 10 second(s)
    Task #3 end
    
    Task #4 start
    Description: Base client support
    Estimated time 75 second(s)
    Task #4 end
    
    Task #5 start
    Description: The DB2 required component.
    Estimated time 76 second(s)
    Task #5 end
    
    Task #6 start
    Description: Java Help (HTML) - English
    Estimated time 7 second(s)
    Task #6 end
    
    Task #7 start
    Description: Base server support for installation with root privileges
    Estimated time 8 second(s)
    Task #7 end
    
    Task #8 start
    Description: Global Secure ToolKit
    Estimated time 14 second(s)
    Task #8 end
    
    Task #9 start
    Description: Java support
    Estimated time 10 second(s)
    Task #9 end
    
    Task #10 start
    Description: SQL procedures
    Estimated time 3 second(s)
    Task #10 end
    
    Task #11 start
    Description: ICU Utilities
    Estimated time 36 second(s)
    Task #11 end
    
    Task #12 start
    Description: Java Common files
    Estimated time 19 second(s)
    Task #12 end
    
    Task #13 start
    Description: Base server support
    Estimated time 176 second(s)
    Task #13 end
    
    Task #14 start
    Description: IBM Software Development Kit (SDK) for Java(TM)
    Estimated time 31 second(s)
    Task #14 end
    
    Task #15 start
    Description: Control Center Help (HTML) - English
    Estimated time 13 second(s)
    Task #15 end 
    
    Task #16 start
    Description: Connect support
    Estimated time 3 second(s)
    Task #16 end
    
    Task #17 start
    Description: Communication support - TCP/IP
    Estimated time 3 second(s)
    Task #17 end 
    
    Task #18 start
    Description: Parallel Extension
    Estimated time 3 second(s)
    Task #18 end
    
    Task #19 start
    Description: Replication tools
    Estimated time 13 second(s)
    Task #19 end
    
    Task #20 start
    Description: Relational wrappers common
    Estimated time 3 second(s)
    Task #20 end
    
    Task #21 start
    Description: Control Center
    Estimated time 40 second(s)
    Task #21 end
    
    Task #22 start
    Description: DB2 data source support
    Estimated time 4 second(s)
    Task #22 end
    
    Task #23 start
    Description: DB2 LDAP support
    Estimated time 3 second(s)
    Task #23 end
    
    Task #24 start
    Description: DB2 Instance Setup wizard
    Estimated time 4 second(s)
    Task #24 end
    
    Task #25 start
    Description: Spatial Extender client
    Estimated time 3 second(s)
    Task #25 end
    
    Task #26 start
    Description: XML Extender
    Estimated time 10 second(s)
    Task #26 end
    
    Task #27 start
    Description: Base application development tools
    Estimated time 30 second(s) 
    Task #27 end
    
    Task #28 start
    Description: First Steps
    Estimated time 3 second(s)
    Task #28 end
    
    Task #29 start
    Description: Product Signature for DB2 Enterprise Server Edition
    Estimated time 5 second(s)
    Task #29 end
    
    Task #30 start
    Description: Sample database source
    Estimated time 4 second(s)
    Task #30 end 
    
    Task #31 start
    Description: Informix data source support
    Estimated time 3 second(s)
    Task #31 end
    
    Task #32 start
    Description: Setting DB2 library path
    Estimated time 180 second(s)
    Task #32 end
    
    Task #33 start
    Description: Installing or updating SA MP Base Component
    Estimated time 40 second(s)
    Task #33 end
    
    Task #34 start
    Description: Executing control tasks
    Estimated time 20 second(s)
    Task #34 end
    
    Task #35 start
    Description: Updating global registry
    Estimated time 20 second(s)
    Task #35 end
    
    Task #36 start
    Description: Installing IBM Tivoli Monitoring for Databases
    Estimated time 600 second(s)
    Task #36 end
    
    Task #37 start
    Description: Starting DB2 Fault Monitor
    Estimated time 10 second(s)
    Task #37 end
    
    Task #38 start
    Description: Updating the db2ls link
    Estimated time 1 second(s)
    Task #38 end
    
    Task #39 start
    Description: Registering DB2 licenses
    Estimated time 5 second(s)
    Task #39 end
    
    Task #40 start
    Description: Setting default global profile registry variables
    Estimated time 1 second(s)
    Task #40 end
    
    Task #41 start
    Description: Initializing instance list
    Estimated time 5 second(s)
    Task #41 end
    
    Task #42 start
    Description: Updating global profile registry
    Estimated time 3 second(s)
    Task #42 end
    
    A minor error occurred while installing "DB2 Enterprise Server Edition" on
    this computer. Some features may not function correctly.
    
    For more information see the DB2 installation log at
    "/tmp/db2_install.log.10016".

Counter: 1848, today: 2, yesterday: 0