0% found this document useful (0 votes)
319 views10 pages

DB2 Install Ubuntu20.04

The document details the installation and configuration of IBM DB2 database software on a Linux server. Key steps include: extracting the installation files from a tar archive; installing prerequisite packages like libstdc++ and ksh; running the db2_install script to install the DB2 Server edition; and verifying the installation with db2prereqcheck. The logs show the db2_install process installing over 50 components and taking over an hour to complete.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
319 views10 pages

DB2 Install Ubuntu20.04

The document details the installation and configuration of IBM DB2 database software on a Linux server. Key steps include: extracting the installation files from a tar archive; installing prerequisite packages like libstdc++ and ksh; running the db2_install script to install the DB2 Server edition; and verifying the installation with db2prereqcheck. The logs show the db2_install process installing over 50 components and taking over an hour to complete.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 10

root@ansible91:~# tar xvzf v11.5.8_linuxx64_server_dec.tar.

gz

root@ansible91:~# ls
'programwebsite.wss?siteId=1120' 'programwebsite.wss?siteId=1120.1' server_dec
snap v11.5.8_linuxx64_server_dec.tar.gz wget-log wget-log.1

root@ansible91:~# ll
total 1812412
drwx------ 6 root root 4096 Mar 1 11:22 ./
drwxr-xr-x 19 root root 4096 Feb 13 06:13 ../
-rw------- 1 root root 64 Feb 14 05:30 .bash_history
-rw-r--r-- 1 root root 3106 Dec 5 2019 .bashrc
drwx------ 2 root root 4096 Feb 14 05:30 .cache/
-rw-r--r-- 1 root root 161 Dec 5 2019 .profile
drwx------ 2 root root 4096 Mar 1 09:39 .ssh/
-rw------- 1 root root 945 Feb 14 05:29 .viminfo
-rw-r--r-- 1 root root 591 Mar 1 10:17 'programwebsite.wss?
siteId=1120'
-rw-r--r-- 1 root root 592 Mar 1 10:17 'programwebsite.wss?
siteId=1120.1'
drwxr-xr-x 3 root root 4096 Sep 21 02:23 server_dec/
drwx------ 3 root root 4096 Feb 13 06:54 snap/
-rw-rw-r-- 1 ansible91 ansible91 1855847267 Mar 1 11:14
v11.5.8_linuxx64_server_dec.tar.gz
-rw-r--r-- 1 root root 934 Mar 1 10:17 wget-log
-rw-r--r-- 1 root root 938 Mar 1 10:17 wget-log.1

root@ansible91:~# apt-get update


Hit:1 http://ppa.launchpad.net/ansible/ansible/ubuntu focal InRelease
Hit:2 http://bd.archive.ubuntu.com/ubuntu focal InRelease
Get:3 http://bd.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:4 http://bd.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:5 http://bd.archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:6 http://bd.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2386
kB]
Get:7 http://bd.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
[1031 kB]
Fetched 3753 kB in 5s (743 kB/s)
Reading package lists... Done

root@ansible91:~# cd server_dec/

root@ansible91:~/server_dec# ll
total 96
drwxr-xr-x 3 root root 4096 Sep 21 02:23 ./
drwx------ 6 root root 4096 Mar 1 11:22 ../
drwxr-xr-x 6 bin bin 4096 Sep 21 02:23 db2/
-r-xr-xr-x 1 bin bin 5207 Sep 21 02:23 db2_deinstall*
-r-xr-xr-x 1 bin bin 5077 Sep 21 02:22 db2_install*
-r--r--r-- 1 bin bin 16794 Sep 21 02:22 db2checkCOL.tar.gz
-r--r--r-- 1 bin bin 4987 Sep 21 02:23 db2checkCOL_readme.txt
-r-xr-xr-x 1 bin bin 5254 Sep 21 02:23 db2ckupgrade*
-r-xr-xr-x 1 bin bin 5041 Sep 21 02:22 db2ls*
-r-xr-xr-x 1 bin bin 5059 Sep 21 02:23 db2prereqcheck*
-r-xr-xr-x 1 bin bin 5059 Sep 21 02:22 db2setup*
-r-xr-xr-x 1 bin bin 5095 Sep 21 02:23 installFixPack*

root@ansible91:~/server_dec# apt-get install lib32stdc++

root@ansible91:~/server_dec# apt-get install lib32stdc++6

root@ansible91:~/server_dec# apt-get install libpam0g:i386

root@ansible91:~/server_dec# apt-get install libaio-dev

root@ansible91:~/server_dec# apt install ksh93

root@ansible91:~/server_dec# which ksh

root@ansible91:/usr/bin# ln -s /usr/bin/ksh93 /usr/bin/ksh

root@ansible91:~/server_dec# sudo apt-get install binutils

root@ansible91:~/server_dec# ./db2_install -h | more

root@ansible91:~/server_dec# ./db2_install

root@ansible91:~/server_dec# ./db2prereqcheck

root@ansible91:~/server_dec# apt-get update


Hit:1 http://bd.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://bd.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://bd.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://ppa.launchpad.net/ansible/ansible/ubuntu focal InRelease
Hit:5 http://bd.archive.ubuntu.com/ubuntu focal-security InRelease
Reading package lists... Done
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec# ./db2prereqcheck -l -i
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec# ll
total 96
drwxr-xr-x 3 root root 4096 Sep 21 02:23 ./
drwx------ 6 root root 4096 Mar 1 11:22 ../
drwxr-xr-x 6 bin bin 4096 Sep 21 02:23 db2/
-r-xr-xr-x 1 bin bin 5207 Sep 21 02:23 db2_deinstall*
-r-xr-xr-x 1 bin bin 5077 Sep 21 02:22 db2_install*
-r--r--r-- 1 bin bin 16794 Sep 21 02:22 db2checkCOL.tar.gz
-r--r--r-- 1 bin bin 4987 Sep 21 02:23 db2checkCOL_readme.txt
-r-xr-xr-x 1 bin bin 5254 Sep 21 02:23 db2ckupgrade*
-r-xr-xr-x 1 bin bin 5041 Sep 21 02:22 db2ls*
-r-xr-xr-x 1 bin bin 5059 Sep 21 02:23 db2prereqcheck*
-r-xr-xr-x 1 bin bin 5059 Sep 21 02:22 db2setup*
-r-xr-xr-x 1 bin bin 5095 Sep 21 02:23 installFixPack*
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec# ./db2_install
Read the license agreement file in the db2/license directory.

***********************************************************
To accept those terms, enter "yes". Otherwise, enter "no" to cancel the install
process. [yes/no]
yes

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

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

Specify one of the following keywords to install DB2 products.

SERVER
CONSV
CLIENT
RTCL

Enter "help" to redisplay product names.

Enter "quit" to exit.

***********************************************************
quit
No products installed.

root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec# ./db2_install -h | more
db2_install -h | -?

db2_install [-b <installpath>]


[-p <productShortName>]
[-c <NLPACK_location>]
[-l <logfile>]
[-f NOTSAMP]
[-f NOPCMK]
[-f PURESCALE]
[-f nobackup]
[-t <trcFile>]
[-n]
[-m]
[-y]
[-L <language>]
[-h|-?]

Parameters
----------

-b <installpath>]
Specifies the path where the DB2 database product is to be
installed.

-p <productShortName>
Specifies the DB2 database product to be installed

-c <NLPACK_location>
Specifies the absolute path location of the related DB2 National Language Pack
(NLPACK).
This parameter is mandatory when -n is specified.

-l <logfile>
Specifies the log file name

-f NOTSAMP
Specifies that IBM Tivoli System Automation for Multiplatforms (Tivoli SA MP)
should not be either installed or updated.

-f NOPCMK
Specifies that Pacemaker should not be either installed or updated.

-f PURESCALE
Specifies that the DB2 pureScale Feature will be installed.

-f nobackup
This applies to the non-root upgrade only.
Forces db2_install to not backup installation files when the components are
updated.
-t <trcFile>
Specifies the trace file name

-n
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec# ./db2_install -f NOTSAMP -f NOPCMK -p SERVER -y -b
/opt/ibm/db2/V11.5
DB2 installation is being initialized.

Total number of tasks to be performed: 55


Total estimated time for all tasks to be performed: 2354 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 335 second(s)
Task #4 end

Task #5 start
Description: Java Runtime Support
Estimated time 215 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 6 second(s)
Task #7 end

Task #8 start
Description: Global Secure ToolKit
Estimated time 77 second(s)
Task #8 end

Task #9 start
Description: Java support
Estimated time 11 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 646 second(s)
Task #13 end

Task #14 start


Description: Control Center Help (HTML) - English
Estimated time 13 second(s)
Task #14 end

Task #15 start


Description: Relational wrappers common
Estimated time 3 second(s)
Task #15 end

Task #16 start


Description: DB2 data source support
Estimated time 6 second(s)
Task #16 end

Task #17 start


Description: ODBC data source support
Estimated time 260 second(s)
Task #17 end

Task #18 start


Description: Teradata data source support
Estimated time 3 second(s)
Task #18 end

Task #19 start


Description: Spatial Extender server support
Estimated time 22 second(s)
Task #19 end

Task #20 start


Description: Scientific Data Sources
Estimated time 5 second(s)
Task #20 end

Task #21 start


Description: JDBC data source support
Estimated time 188 second(s)
Task #21 end
Task #22 start
Description: IBM Software Development Kit (SDK) for Java(TM)
Estimated time 49 second(s)
Task #22 end

Task #23 start


Description: DB2 LDAP support
Estimated time 4 second(s)
Task #23 end

Task #24 start


Description: DB2 Instance Setup wizard
Estimated time 23 second(s)
Task #24 end

Task #25 start


Description: Structured file data sources
Estimated time 5 second(s)
Task #25 end

Task #26 start


Description: Integrated Flash Copy Support
Estimated time 3 second(s)
Task #26 end

Task #27 start


Description: Oracle data source support
Estimated time 4 second(s)
Task #27 end

Task #28 start


Description: Connect support
Estimated time 3 second(s)
Task #28 end

Task #29 start


Description: Application data sources
Estimated time 4 second(s)
Task #29 end

Task #30 start


Description: Spatial Extender client
Estimated time 3 second(s)
Task #30 end

Task #31 start


Description: SQL Server data source support
Estimated time 4 second(s)
Task #31 end

Task #32 start


Description: Communication support - TCP/IP
Estimated time 3 second(s)
Task #32 end

Task #33 start


Description: Base application development tools
Estimated time 36 second(s)
Task #33 end

Task #34 start


Description: Parallel Extension
Estimated time 3 second(s)
Task #34 end

Task #35 start


Description: EnterpriseDB code
Estimated time 3 second(s)
Task #35 end

Task #36 start


Description: Replication tools
Estimated time 60 second(s)
Task #36 end

Task #37 start


Description: Sample database source
Estimated time 4 second(s)
Task #37 end

Task #38 start


Description: itlm
Estimated time 3 second(s)
Task #38 end

Task #39 start


Description: DB2 Text Search
Estimated time 112 second(s)
Task #39 end

Task #40 start


Description: Command Line Processor Plus
Estimated time 8 second(s)
Task #40 end

Task #41 start


Description: Sybase data source support
Estimated time 3 second(s)
Task #41 end

Task #42 start


Description: Informix data source support
Estimated time 4 second(s)
Task #42 end

Task #43 start


Description: Federated Data Access Support
Estimated time 3 second(s)
Task #43 end

Task #44 start


Description: First Steps
Estimated time 3 second(s)
Task #44 end

Task #45 start


Description: Product Signature for DB2 Server Edition
Estimated time 8 second(s)
Task #45 end

Task #46 start


Description: Guardium Installation Manager Client
Estimated time 36 second(s)
Task #46 end

Task #47 start


Description: Setting DB2 library path
Estimated time 180 second(s)
Task #47 end

Task #48 start


Description: Executing control tasks
Estimated time 20 second(s)
Task #48 end

Task #49 start


Description: Updating global registry
Estimated time 20 second(s)
Task #49 end

Task #50 start


Description: Starting DB2 Fault Monitor
Estimated time 10 second(s)
Unit db2fmcd.service could not be found.
Task #50 end

Task #51 start


Description: Updating the db2ls and db2greg link
Estimated time 1 second(s)
Task #51 end

Task #52 start


Description: Registering DB2 licenses
Estimated time 5 second(s)
Task #52 end

Task #53 start


Description: Setting default global profile registry variables
Estimated time 1 second(s)
Task #53 end

Task #54 start


Description: Initializing instance list
Estimated time 5 second(s)
Task #54 end

Task #55 start


Description: Updating global profile registry
Estimated time 3 second(s)
Task #55 end

The execution completed successfully.

For more information see the DB2 installation log at


"/tmp/db2_install.log.46028".
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec# db2ls

Install Path Level Fix Pack Special Install Number


Install Date Installer UID
-----------------------------------------------------------------------------------
----------------------------------
/opt/ibm/db2/V11.5 11.5.8.0 0 Wed
Mar 1 13:13:05 2023 UTC 0
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec#
root@ansible91:~/server_dec# Connection to 192.168.122.91 closed by remote host.
Connection to 192.168.122.91 closed.
fahmid@FahmidTirzok:~$ BCC

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy