DB2(Linux 64位)安裝教程
資料庫版本: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
============================================================
最後將提示中路徑下的內容清空即可正常安裝啦!~~~
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20802110/viewspace-1183711/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- linux下安裝db2LinuxDB2
- db2(linux)安裝說明DB2Linux
- Linux下安裝DB2 9.7LinuxDB2
- [DB2]linux下安裝db2 v9.7DB2Linux
- 在LINUX中解除安裝DB2LinuxDB2
- Linux的安裝教程Linux
- Parrot Linux安裝教程Linux
- Linux上安裝DB2 V10LinuxDB2
- DB2 安裝DB2
- Linux下安裝DB2的包依賴LinuxDB2
- SUSE Linux9安裝db2問題LinuxDB2
- Linux下安裝svn教程Linux
- ADS安裝教程(Linux)Linux
- Linux Ubuntu安裝配置教程LinuxUbuntu
- Linux Debian安裝教程Linux
- DB2系列之DB2安裝DB2
- db2解除安裝DB2
- db2 v9.7 linux 6.3安裝問題DB2Linux
- DB2 V9.7在Linux上的安裝DB2Linux
- Linux下安裝多個DB2副本LinuxDB2
- Linux安裝MySQL標準教程LinuxMySql
- linux 安裝 mysql簡單教程LinuxMySql
- Linux系統安裝redis教程。LinuxRedis
- linux下安裝protobuf教程+示例Linux
- Linux安裝Nginx詳細教程LinuxNginx
- db2 命令列安裝DB2命令列
- DB2安裝新包DB2
- 怎樣安裝Linux系統?Linux基礎教程之小白入門Linux系統安裝教程Linux
- DB2個人版(Linux)安裝 - IBM-DB2DB2LinuxIBM
- 紅旗Linux系統安裝教程Linux
- RabbitMQ超詳細安裝教程(Linux)MQLinux
- 教程: Rocky linux 9.4 中安裝DockerLinuxDocker
- Linux下怎麼安裝.deb格式的安裝包?Linux系統下.deb格式安裝包的安裝教程Linux
- db2 客戶端安裝DB2客戶端
- jive安裝指南(DB2版)DB2
- 在AIX安裝DB2 8.2AIDB2
- linux安裝DB2之前的作業系統引數LinuxDB2作業系統
- linux下安裝多個版本的db2副本LinuxDB2