Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2735528
  • 博文数量: 206
  • 博客积分: 3409
  • 博客等级: 中校
  • 技术积分: 4066
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-24 10:21
个人简介

● ITPUB名人堂嘉宾 ● ChinaUnix社区博客专家 ● ChinaUnix社区Oracle板块版主 ● 优酷网认证音乐牛人:EricGuitar ● SDOUG 核心成员 ●E-mail:gaoqiangdba@163.com

文章分类

全部博文(206)

文章存档

2021年(11)

2020年(7)

2019年(7)

2016年(5)

2015年(36)

2014年(23)

2013年(15)

2012年(23)

2011年(61)

2010年(18)

分类: DB2/Informix

2014-06-16 11:32:10

  



数据库版本: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
============================================================ 

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


阅读(9950) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~