Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation steps for the db2 client

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains the "db2 client installation steps", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "db2 client installation steps" bar!

[root@ps1 ~] # cd / soft/

[root@ps1 soft] # ll

Total 583484

-rw-r--r-- 1 root root 597487185 Oct 26 10:34 v10.5fp8_linuxx64_client.tar.gz

1 decompression

[root@ps1 soft] # tar-zxvf v10.5fp8_linuxx64_client.tar.gz

Client/

Client/db2setup

...

Client/db2/.client

[root@ps1 soft] # ll

Total 583484

Drwxr-xr-x 4 root root 144 Sep 3 2016 client

-rw-r--r-- 1 root root 597487185 Oct 26 10:34 v10.5fp8_linuxx64_client.tar.gz

2 installation

[root@ps1 soft] # cd client/

[root@ps1 client] # ls

Db2 db2_deinstall db2_install db2ls db2prereqcheck db2setup ibm_im installFixPack

[root@ps1 client] #

[root@ps1 client] #

[root@ps1 client] #

[root@ps1 client] #. / db2_install

Requirement not matched for DB2 database "Server". Version: "10.5.0.8".

Summary of prerequisites that are not met on the current system:

DBT3514W The db2prereqcheck utility failed to find the following 32-bit library file: "/ lib/libpam.so*".

DBT3514W The db2prereqcheck utility failed to find the following 32-bit library file: "libstdc++.so.6".

DBI1324W Support of the db2_install command is deprecated.

Default directory for installation of products-/ opt/ibm/db2/V10.5

* * *

Install into default directory (/ opt/ibm/db2/V10.5)? [yes/no]

Yes

Requirement not matched for DB2 database "Server". Version: "10.5.0.8".

Summary of prerequisites that are not met on the current system:

DBT3514W The db2prereqcheck utility failed to find the following 32-bit library file: "/ lib/libpam.so*".

DBT3514W The db2prereqcheck utility failed to find the following 32-bit library file: "libstdc++.so.6".

DB2 installation is being initialized.

Total number of tasks to be performed: 29

Total estimated time for all tasks to be performed: 829second (s)

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 14 second (s)

Task # 3 end

Task # 4 start

Description: Base client support

Estimated time 323 second (s)

Task # 4 end

Task # 5 start

Description: Java Runtime Support

Estimated time 158 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: Java support

Estimated time 12 second (s)

Task # 7 end

Task # 8 start

Description: SQL procedures

Estimated time 3 second (s)

Task # 8 end

Task # 9 start

Description: Java Common files

Estimated time 18 second (s)

Task # 9 end

Task # 10 start

Description: Control Center Help (HTML)-English

Estimated time 13 second (s)

Task # 10 end

Task # 11 start

Description: IBM Software Development Kit (SDK) for Java (TM)

Estimated time 50 second (s)

Task # 11 end

Task # 12 start

Description: DB2 LDAP support

Estimated time 4 second (s)

Task # 12 end

Task # 13 start

Description: DB2 Instance Setup wizard

Estimated time 20 second (s)

Task # 13 end

Task # 14 start

Description: Spatial Extender client

Estimated time 3 second (s)

Task # 14 end

Task # 15 start

Description: Base application development tools

Estimated time 35 second (s)

Task # 15 end

Task # 16 start

Description: DB2 Update Service

Estimated time 4 second (s)

Task # 16 end

Task # 17 start

Description: Replication tools

Estimated time 61 second (s)

Task # 17 end

Task # 18 start

Description: Global Secure ToolKit Crypto

Estimated time 28 second (s)

Task # 18 end

Task # 19 start

Description: itlm

Estimated time 3 second (s)

Task # 19 end

Task # 20 start

Description: Command Line Processor Plus

Estimated time 6 second (s)

Task # 20 end

Task # 21 start

Description: First Steps

Estimated time 3 second (s)

Task # 21 end

Task # 22 start

Description: Product Signature for DB2 Client

Estimated time 7 second (s)

Task # 22 end

Task # 23 start

Description: Setting DB2 library path

Estimated time 180 second (s)

Task # 23 end

Task # 24 start

Description: Executing control tasks

Estimated time 20 second (s)

Task # 24 end

Task # 25 start

Description: Updating global registry

Estimated time 20 second (s)

Task # 25 end

Task # 26 start

Description: Updating the db2ls and db2greg link

Estimated time 1 second (s)

Task # 26 end

Task # 27 start

Description: Setting default global profile registry variables

Estimated time 1 second (s)

Task # 27 end

Task # 28 start

Description: Initializing instance list

Estimated time 5 second (s)

Task # 28 end

Task # 29 start

Description: Registering DB2 Update Service

Estimated time 30 second (s)

Task # 29 end

Task # 30 start

Description: Updating global profile registry

Estimated time 3 second (s)

Task # 30 end

The execution completed successfully.

For more information see the DB2 installation log at

"/ tmp/db2_install.log.65670"

3 create

Note: there must be a correspondence between hostname and IP under / etc/hosts, otherwise the creation may fail

Such as:

[db2inst1@ps1 ~] $cat / etc/hosts

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4

:: 1 localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.29.181 ps1

[root@ps1 client] # cd / opt/ibm/db2/V10.5/instance/

[root@ps1 instance] # ls

Common db2dbmchk db2icrt db2idefs db2iexec db2imchk db2iset db2iuadm db2iupgrade db2iver db2uit sdSharedFileList

Db2chkf db2icknm db2icrt_local db2idrop db2iinfo db2instcfg db2isetup db2iupdt db2iupgrade_local db2prechk disp_msg

Db2clpid db2ickts db2idbm db2idrop_local db2ilist db2ipcld db2isrv db2iupdt_local db2iutil db2ssh native

[root@ps1 instance] # useradd db2inst1

[root@ps1 instance] #. / db2icrt db2inst1

DBI1446I The db2icrt command is running.

DB2 installation is being initialized.

Total number of tasks to be performed: 4

Total estimated time for all tasks to be performed 309 second (s)

Task # 1 start

Description: Setting default global profile registry variables

Estimated time 1 second (s)

Task # 1 end

Task # 2 start

Description: Initializing instance list

Estimated time 5 second (s)

Task # 2 end

Task # 3 start

Description: Configuring DB2 instances

Estimated time 300 second (s)

Task # 3 end

Task # 4 start

Description: Updating global profile registry

Estimated time 3 second (s)

Task # 4 end

The execution completed successfully.

For more information see the DB2 installation log at "/ tmp/db2icrt.log.94605".

DBI1070I Program db2icrt completed successfully.

[root@ps1 instance] #

[root@ps1 instance] #

[root@ps1 instance] #

4 Verification

[root@ps1 instance] # su-db2inst1

Last login: Fri Oct 26 10:49:26 CST 2018 on pts/2

[db2inst1@ps1 ~] $db2

(C) Copyright IBM Corporation 1993 and 2007

Command Line Processor for DB2 Client 10.5.8

You can issue database manager commands and SQL statements from the command

Prompt. For example:

Db2 = > connect to sample

Db2 = > bind sample.bnd

For general help, type:?.

For command help, type:? Command, where command can be

The first few keywords of a database manager command. For example:

? CATALOG DATABASE for help on the CATALOG DATABASE command

? CATALOG for help on all of the CATALOG commands.

To exit db2 interactive mode, type QUIT at the command prompt. Outside

Interactive mode, all commands must be prefixed with 'db2'.

To list the current command option settings, type LIST COMMAND OPTIONS.

For more detailed help, refer to the Online Reference Manual.

Db2 = > quit

DB20000I The QUIT command completed successfully.

Thank you for your reading, the above is the "db2 client installation steps" content, after the study of this article, I believe you have a deeper understanding of the db2 client installation steps, the specific use of the need for you to practice and verify. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report