iis服务器助手广告广告
返回顶部
首页 > 资讯 > 数据库 >db2客户端的安装步骤
  • 694
分享到

db2客户端的安装步骤

2024-04-02 19:04:59 694人浏览 独家记忆
摘要

这篇文章主要讲解了“db2客户端的安装步骤”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“db2客户端的安装步骤”吧![root@ps1 ~]# cd /so

这篇文章主要讲解了“db2客户端的安装步骤”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“db2客户端的安装步骤”吧!

[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 解压

[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 安装

[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: 829 second(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 创建

注意:/etc/hosts下必须有主机名和IP的对应关系,否则创建可能失败

如:

[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 验证

[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,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.

感谢各位的阅读,以上就是“db2客户端的安装步骤”的内容了,经过本文的学习后,相信大家对db2客户端的安装步骤这一问题有了更深刻的体会,具体使用情况还需要大家实践验证。这里是编程网,小编将为大家推送更多相关知识点的文章,欢迎关注!

您可能感兴趣的文档:

--结束END--

本文标题: db2客户端的安装步骤

本文链接: https://www.lsjlt.com/news/59775.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
  • db2客户端的安装步骤
    这篇文章主要讲解了“db2客户端的安装步骤”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“db2客户端的安装步骤”吧![root@ps1 ~]# cd /so...
    99+
    2024-04-02
  • Oracle客户端的安装步骤
    本篇内容主要讲解“Oracle客户端的安装步骤”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“Oracle客户端的安装步骤”吧!一、压缩包下载登录网站https:...
    99+
    2024-04-02
  • MySQL客户端的安装步骤
    这篇文章主要介绍“MySQL客户端的安装步骤”,在日常操作中,相信很多人在MySQL客户端的安装步骤问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”MySQL客户端的安装步骤”...
    99+
    2024-04-02
  • 安装金碟K3客户端
    1、检测客户端环境,通过后 2、安装客户端 3、在服务器端添加客户机的用户名和密码并设置为管理员权限 4、运行“金碟组件配置及测试工具”,中间服务器为金碟总服务器5、测试并注册...
    99+
    2023-01-31
    客户端 金碟
  • Linux系统下的Samba客户端配置步骤
    本篇内容介绍了“Linux系统下的Samba客户端配置步骤”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!Samba客户端配置首先先记录下在l...
    99+
    2023-06-13
  • oralce11g客户端如何安装
    这篇文章主要介绍了oralce11g客户端如何安装,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。首先确认操作系统防火墙和selinux已关闭...
    99+
    2024-04-02
  • 【ZK客户端】mac安装PrettyZoo
    概述 PrettyZoo是一款免费开源的zk客户端工具,支持mac、linux、windows平台。这里主要介绍下mac平台如何安装PrettyZoo,因为mac安装时会由于安全策略问题导致软件无法打...
    99+
    2023-09-11
    macos prettyZoo zookeeper 客户端
  • 怎么安装github客户端
    安装Github客户端Github是全球最大的开源代码托管平台,它不仅提供了代码托管的服务,还提供了一系列协作工具,让开发者可以更加高效地开发和协作。如果你想要更加顺畅地使用Github,那么Github客户端必不可少。在本文中,我们将会为...
    99+
    2023-10-22
  • CentOS7 上yum安装Mysql客户端
    最近经常要导出生产环境上数据库里某些表数据,每次导出时对生产环境都会产生一些影响,所以决定通过在内网服务器上制定计划任务来解决。生产环境上数据库用的是阿里云的RDS,应用服务器用的是ECS,操作系统用的是C...
    99+
    2024-04-02
  • CentOS7.1怎么安装Oracle12.1客户端
    这篇文章主要介绍“CentOS7.1怎么安装Oracle12.1客户端”,在日常操作中,相信很多人在CentOS7.1怎么安装Oracle12.1客户端问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”CentO...
    99+
    2023-06-06
  • linux下安装mysql客户端client
    1. 下载mysql客户端 MySQL的Linux客户端官网下载地址 根据Linux的系统版本选择下载对应的rpm安装包(如下所示),这里选择的是mysql8.0.27版本的redhat8系列的MySQL客户端(可看到有四个rpm包,都必须...
    99+
    2023-08-21
    mysql linux 服务器
  • CentOS如何安装Git客户端
    本篇内容主要讲解“CentOS如何安装Git客户端”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“CentOS如何安装Git客户端”吧!步骤一:更新系统使用Git客户端之前,先要更新安装CentO...
    99+
    2023-07-05
  • 安装nginx,php8,nfs,oralce19c客户端
    目录 一.安装nginx 二.安装php 1.安装php8插件 2.安装下载php8 三.安装nfs 四.安装19C客户端 a.安装oracle19c客户端 b. php连接oracle 19c数据库 五.nginx跳转php乱码 六.ph...
    99+
    2023-09-14
    php 开发语言
  • Linux系统安装DB2数据库的详细步骤
    1、DB2数据库的安装 一、将DB2的安装介质上传至/home目录,并解压:    tar –zxvf v9.5fp3_linuxx64_server.tar.gz 二、执行LANG=C 三、进入解压后的server目录(cd server...
    99+
    2023-09-16
    java 数据库 服务器
  • Redis远程连接Redis客户端的实现步骤
    目录一 进入redis下的目录二 启动 redis服务三 连接客户端四 在windows本地中安装 redis可视化软件五 在linux关闭客户端六 设置防火墙规则:我的因为已经设置...
    99+
    2024-04-02
  • aix怎么安装oracle客户端
    本篇内容介绍了“aix怎么安装oracle客户端”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!1 环境ro...
    99+
    2024-04-02
  • ubuntu怎么安装svn客户端
    在Ubuntu上安装Subversion(svn)客户端,你可以按照以下步骤进行操作:1. 打开终端。2. 运行以下命令更新软件包列...
    99+
    2023-08-23
    ubuntu
  • oracle instantclient 简易客户端安装
    以下是Oracle Instant Client简易客户端安装的步骤:1. 下载Oracle Instant Client软件包:-...
    99+
    2023-09-06
    oracle
  • CentOS怎么安装TortoiseSVN客户端
    这篇文章主要介绍“CentOS怎么安装TortoiseSVN客户端”,在日常操作中,相信很多人在CentOS怎么安装TortoiseSVN客户端问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”CentOS怎么安...
    99+
    2023-06-10
  • C#编写一个网游客户端的完整步骤
    目录一、认识NetworkStream(网络流)二、连接服务器三、客户端向服务器发送数据四、实现播放背景音乐五、实现游戏背景图片变换六、小结七、参考资料总结本过程是使用Virtual...
    99+
    2024-04-02
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作