DB2 Install Ubuntu20.04
DB2 Install Ubuntu20.04
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:~# 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# ./db2_install
root@ansible91:~/server_dec# ./db2prereqcheck
***********************************************************
To accept those terms, enter "yes". Otherwise, enter "no" to cancel the install
process. [yes/no]
yes
***********************************************************
Install into default directory (/opt/ibm/db2/V11.5) ? [yes/no]
yes
SERVER
CONSV
CLIENT
RTCL
***********************************************************
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 | -?
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.
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