数据库版本:db2 Express-C

操作系统版本:Red Hat 6.5

1.首先下载并解压安装包:[root@dbserver tmp]# tar -xzvf db2_v101_linuxx64_expc.tar.gz

2.安装:

[root@dbserver v101]#cd /tmp/expc/

[root@dbserver expc]# ./db2_install -b /opt/ibm/db2/v101

DBI1324W  Support of the db2_install command is deprecated. For

more information, see the DB2 Information Center.

DB2 installation is being initialized.                     --------安装开始啦,接下来需要等待一段时间。

Total number of tasks to be performed: 35

Total estimated time for all tasks to be performed: 1198 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 13 second(s)

Task #3 end

Task #4 start

Description: Base client support

Estimated time 231 second(s)

Task #4 end

Task #5 start

Description: Java Runtime Support

Estimated time 153 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 7 second(s)

Task #7 end

Task #8 start

Description: Global Secure ToolKit

Estimated time 60 second(s)

Task #8 end

Task #9 start

Description: Java support

Estimated time 12 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 59 second(s)

Task #11 end

Task #12 start

Description: Java Common files

Estimated time 18 second(s)

Task #12 end

Task #13 start

Description: Base server support

Estimated time 366 second(s)

Task #13 end

Task #14 start

Description: DB2 data source support

Estimated time 6 second(s)

Task #14 end

Task #15 start

Description: Spatial Extender server support

Estimated time 16 second(s)

Task #15 end

Task #16 start

Description: DB2 LDAP support

Estimated time 4 second(s)

Task #16 end

Task #17 start

Description: DB2 Instance Setup wizard

Estimated time 19 second(s)

Task #17 end

Task #18 start

Description: Integrated Flash Copy Support

Estimated time 3 second(s)

Task #18 end

Task #19 start

Description: Communication support - TCP/IP

Estimated time 3 second(s)

Task #19 end

Task #20 start

Description: Base application development tools

Estimated time 35 second(s)

Task #20 end

Task #21 start

Description: DB2 Update Service

Estimated time 4 second(s)

Task #21 end

Task #22 start

Description: EnterpriseDB code

Estimated time 4 second(s)

Task #22 end

Task #23 start

Description: Sample database source

Estimated time 4 second(s)

Task #23 end

Task #24 start

Description: DB2 Text Search

Estimated time 90 second(s)

Task #24 end

Task #25 start

Description: Command Line Processor Plus

Estimated time 6 second(s)

Task #25 end

Task #26 start

Description: First Steps

Estimated time 3 second(s)

Task #26 end

Task #27 start

Description: Product Signature for DB2 Express-C

Estimated time 3 second(s)

Task #27 end

Task #28 start

Description: Setting DB2 library path

Estimated time 180 second(s)

Task #28 end

Task #29 start

Description: Executing control tasks

Estimated time 20 second(s)

Task #29 end

Task #30 start

Description: Updating global registry

Estimated time 20 second(s)

Task #30 end

Task #31 start

Description: Starting DB2 Fault Monitor

Estimated time 10 second(s)

Task #31 end

Task #32 start

Description: Updating the db2ls link

Estimated time 1 second(s)

Task #32 end

Task #33 start

Description: Registering DB2 licenses

Estimated time 5 second(s)

Task #33 end

Task #34 start

Description: Setting default global profile registry variables

Estimated time 1 second(s)

Task #34 end

Task #35 start

Description: Initializing instance list

Estimated time 5 second(s)

Task #35 end

Task #36 start

Description: Registering DB2 Update Service

Estimated time 30 second(s)

Task #36 end

Task #37 start

Description: Updating global profile registry

Estimated time 3 second(s)

Task #37 end

The execution completed successfully.         --------安装成功!~~~  ^___^

For more information see the DB2 installation log at

"/tmp/db2_install.log.9329".             ----------相关的安装信息可以在该提示中的日志文件中查看。

[root@dbserver expc]#db2ls          -----------查看一下已经安装的版本

Install Path                       Level   Fix Pack   Special Install Number   Install Date                  Installer UID

---------------------------------------------------------------------------------------------------------------------

/opt/ibm/db2/v101                10.1.0.0        0                            Mon Jun  9 01:31:00 2014 CST             0

3.安装过程中报错处理

[root@dbserver expc]# ./db2_install -b /opt/ibm/db2/v101

DBI1324W  Support of the db2_install command is deprecated. For

more information, see the DB2 Information Center.

DB2 installation is being initialized.

The value provided for the installation path is not valid. The location

specified "/opt/ibm/db2/v101" exists and is not empty. Specify a new or empty

location.                       --------提示说安装路径存在,并且里面不是空的。

A major error occurred while installing "DB2 Express-C " on this computer. The

installation cannot continue. If the problem persists contact your technical

service representative.

For more information see the DB2 installation log at

"/tmp/db2_install.log.8003".

[root@dbserver expc]#cat /tmp/db2_install.log.8003 --------根据提示查看相关的日志

DB2 Setup log file started at:  Mon Jun  9 01:16:14 2014 CST

============================================================

Operating system information: Linux 2.6.18-274.el5xen.#1 SMP Fri Jul 8 17:45:44 EDT 2011 x86_64

ERROR: The value provided for the installation path is not valid. The location

specified "/opt/ibm/db2/v101" exists and is not empty. Specify a new or empty

location.                     ---------操作系统的提示,跟刚才的提示一样。

ERROR: The "db2_install" command failed. Ensure the command parameters are

valid, that errors reported in the log file are fixed, then rerun the command.

Post Install Recommendations

-----------------------------

Required steps:

There were some errors detected during DB2 installation. To collect the information files from the system, run the "db2support -install" command with the proper options before reporting the problem to IBM service. For information regarding the usage of the db2support tool, check the DB2 Information Center.

DB2 Setup log file finished at:  Mon Jun  9 01:16:16 2014 CST

============================================================

最后将提示中路径下的内容清空即可正常安装啦!~~~

linux验证db2安装成功_DB2(Linux 64位)安装教程相关推荐

  1. win10安装mysql5.6.35_Win10 64位安装MySQL5.6.35的详细教程

    1. 下载MySQL Community Server 5.6.35 下载地址http://dev.mysql.com/downloads/mysql/5.6.html 2. 解压MySQL压缩包 将 ...

  2. win7纯净版安装mysql_win7旗舰版64位安装mysql

    前置:   win7安装mysql居然也花了些时间,真是的,烦死了. 真不想什么事情都费时间去搞,这次搞成功了就记下来,免得日后又花时间.我的mysql版本是mysql-noinstall-5.1.7 ...

  3. python安装pymongo_Python: Windows 7 64位 安装、使用 pymongo 3.2

    本教程将要告诉你如何使用pymongo模块来操作MongoDB数据库. 一.先决条件 开始之前,我们需要确定电脑已经安装了pymongo和MongoDB. 1.安装pymongo 使用pip安装pym ...

  4. python安装失败未指定_win7 64 位安装 python,提示: 0x80240017-未指定的错误

    以下是 log ,求 python 大神解答: 24EC:23C8][2016-02-24T10:03:29]e000: Error 0x80240017: Failed to execute MSU ...

  5. mysql 5.6.24 64位_CentOS 6.4 64位 安装 mysql 5.6.24

    下载安装包 由于官网访问及版本选择下载不太方便,使用 suho 的源进行下载 下载如下三个安装包: MySQL-server-5.6.24-1.el6.x86_64.rpm MySQL-client- ...

  6. mp3 编辑 linux,Linux_Ubuntu 32/64位安装音乐标签编辑器Kid3的方法,  Kid3能够修改mp3中ID3的tag标 - phpStudy...

    Ubuntu 32/64位安装音乐标签编辑器Kid3的方法 Kid3能够修改mp3中ID3的tag标签,还能同时修改ID3v1和ID3v2的tag标签吗,是款功能强大的音乐标签编辑器,因为其在Ubun ...

  7. linux deepin 64位 安装longene wineQQ 2013(部分引用)

    引用部分参考网址,http://www.2cto.com/os/201304/202955.html linux deepin 64位安装,主要问题是QQ是32位的,用wine运行,要32位架构支持 ...

  8. linux怎么64位,在linux下如何查看CPU是否支持64位

    在linux下如何查看CPU是否支持64位的方法是: # grep "flags" /proc/cpuinfo flags           : fpu tsc msr pae ...

  9. centos6.4 yum装php,CentOS6.x/6.5/6.4/6.3/6.2/7.x 64位安装php5.2(使用YUM自动安装)

    搜索热词 默认情况下,CentOS6 64 bit 已经早已不支持PHP5.2.x ,但是某些PHP程序还需要zend optimizer支持,怎么办呢?目前大部分的yum repos 都已经不支持直 ...

  10. ubuntu14.04 64位安装H3C iNode客户端

    环境: OS:ubuntu14.04LTS 64位 iNode: iNode2.40-R0162 for linux(iNode只有32位的,而且是很久以前的版本) 安装方法: 第一种: 检查本机是6 ...

最新文章

  1. 为什么安装的是gpu版本训练时还是用的cpu?_免费GPU哪家强?谷歌Kaggle vs. Colab | 硬核评测...
  2. 两个特征是独立好还是正相关好_长文之详解机器学习的数据特征选择问题
  3. Docker Review - dockerfile 实战_给基础镜像增加功能
  4. 使用spring-data-mongodb操作mongodb
  5. 安装pattern出错mysql_config not found
  6. Web Api 返回图片流给前端
  7. 域名和IP地址并用的理由
  8. java.net.SocketException: Connection reset 问题分析
  9. C语言获取程序运行时间
  10. Intellij IDEA 使用教程(十三)IDEA内存优化
  11. 程序员的希波克拉底誓言
  12. html5网页制作电脑版,页未央HTML5制作神器PC版
  13. 无盘新手大本营(转)
  14. Oracle ERP 仓库(inventory) 词汇 2
  15. 我的世界制作服务器rj,mine imator(我的世界动画制作软件)
  16. 纯js 编canvas处理图片, 涂鸦笔、画布图片内容旋转 放大缩小 裁剪框 。兼容ie9及以上 谷歌、360、火狐浏览器
  17. 东软Unieap平台
  18. Windows7桌面变更语言简易切换不重装
  19. 13行MATLAB代码实现网络爬虫 爬取NASA画廊星图
  20. 服务器虚拟主机玩魔域,服务器虚拟主机玩魔域

热门文章

  1. 小米互联通信服务_时隔六年,小米NFC碰碰贴复活,碰一下自动亮灯、联网、投屏...
  2. 【数据分析】Python-NumPy模块的使用
  3. shell使用sshpass自动验证root密码
  4. 导入项目时中文乱码的消除
  5. 长春理工大学计算机学院转专业,长春理工大学优秀本科学生转专业面试考核方案.PDF...
  6. java 泛型参数写法_参数化类型——Java泛型
  7. 支付接口调用成功后如何让前端知道_开发口中的「接口」到底是什么
  8. 双系统 android 华硕,华硕发布Duet TD300,首款真正Windows+安卓双系统笔记本
  9. springBoot 集合深度拷贝
  10. essential c++源码_Goldenmask - 一键化保护你的 Python 源码