Redhat6.2 64-bit installation db2v10.5

Source: Internet
Author: User
Tags db2 installation server port

1. Unzip the installation media

Mkdir/opt/db2v10tar XVF db2_10.5.fp5_linux.tar.gz-c db2v10/

2. Check installation Prerequisites before installation

[Email protected] server_t]# Pwd/opt/db2v10/server_t[[email protected] server_t]#./db2prereqcheck ... Omit validating "/lib/libpam.so*" ... Meet the requirements. The dbt3533i Db2prereqcheck utility has confirmed that all installation prerequisites have been met. #如果提示libstdc + + version does not meet the confirmation that the following installation package is installed [[email protected] ~]# rpm-qa |grep "libstdc++" compat-libstdc++-33-3.2.3-69. el6.i686compat-libstdc++-296-2.96-144.el6.i686compat-libstdc++-33-3.2.3-69.el6.x86_64libstdc++- devel-4.4.6-3.el6.x86_64libstdc++-4.4.6-3.el6.x86_64libstdc++-4.4.6-3.el6.i686

3, installation (easy to install graphics, of course, also can file interface)

Xshell to open xmanager-passive

[Email protected] server_t]#./db2setupdbi1190i Db2setup is preparing the DB2 Installation Wizard, which will guide you through the program installation process. Please wait.

Start DB2

[[Email protected] ~]# su - db2inst1[[email protected] ~]$ db2ls Installation path                         Level    Revision Pack        Special installation number     installation Date                    Installation Programs  UID ------------------------------------------------------------------------------------------- --------------------------/opt/ibm/db2/v10.5                10.5.0.5        5                              Mon Oct 12 09:46:59 2015 CST         &Nbsp;    0 [[email protected] ~]$ db2start # Start db210/13/2015  20:31:51     0   0   sql1026n   Database Manager is active. sql1026n   Database Manager is active. [[email protected] ~]$ netstat -antl |grep 50000tcp         0      0 0.0.0.0:50000                0.0.0.0:*                    listen  [[email  protected] ~]$ db2 create db test # Creating a library is slow ~ ~! The db20000i  create database  command completed successfully. [[email protected] ~]$ db2 list db directory  number of entries in the System database directory   Directory  =  2 Database  1  Entry:  database alias                       = test  Database name                                  = TEST  Local Database directory                    = /home/ db2inst1  Database Release Level                  = 10.00  Comments                              =  Directory Entry Type                       =  Indirect   Directory database partition number                    = 0  standby server Host name                  =  standby server port number                  = databases  2  entries:  database aliases                        = WAREHOUS  Database name                                  = WAREHOUS  Local Database directory                    = /home/ db2inst1  Database Release Level                  = 10.00  Comments                              =  Directory Entry Type                      =  Indirect   Catalog Database partition number                   =  0  Alternate server host name                  =  standby server port number                  =

Note: DB2V10 version does not have db2cc command.


Redhat6.2 64-bit installation db2v10.5

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.