Installing Db2 Advanced Workgroup Server Edition 11.1.0.0
The Db2® Server 11.1.0 (64-bit) provides both 64-bit and 32-bit libraries.
About this task
Procedure
-
Log in as
rootuser. -
Change to the directory where the Db2 database product distribution is copied by entering the
following command:
# cd <DB2_DIST_DIR> -
Extract the product file by using the following commands:
Where product is the name of the product that you downloaded.# gunzip <product>.tar.gz # tar -xvf <product>.tar -
Run the db2prereqcheck command from
<DB2_DIST_DIR>/server_awse_o to check if your system
meets the prerequisites for the installation of DB2® Advanced Workgroup
Server Edition 11.1.0.0.
For example:
# cd /var/tmp/db2setup11122_fp/server_awse_o/ # ./db2prereqcheck -v 11.1.0.0 -i -s DBT3533I The db2prereqcheck utility has confirmed that all installation prerequisites were met. - Change directory to <DB2_DIST_DIR>/server_awse_o.
-
Start the Db2 installation by entering the following command:
# ./db2_installImportant: The db2_install command is deprecated and might be removed in a future release. In this release it works as expected.You see the following output:./db2_install Default directory for installation of products - /opt/ibm/db2/V11.1 *********************************************************** Install into default directory (/opt/ibm/db2/V11.1) ? [yes/no] no Enter the full path of the base installation directory: ------------------------------------------------ /opt/db2/product/11.1.0 Specify one of the following keywords to install DB2 products. SERVER CONSV CLIENT RTCL Enter "help" to redisplay product names. Enter "quit" to exit. *********************************************************** SERVER ****************************************************** Do you want to install the DB2 pureScale Feature? [yes/no] no DB2 installation is being initialized. Total number of tasks to be performed: 58 Total estimated time for all tasks to be performed: 1383 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 . . . . . . The execution completed successfully. For more information see the DB2 installation log at "/tmp/db2_install.log.20295".Note:- You might see the following warning message in the DB2 install log after the DB2 installation
completes. This warning message can be ignored.
WARNING: DBI20105E An error occurred while installing the following file set: "TSAMP". Because these files were not successfully installed, functionality that depends on these files might not work as expected. - The output above shows that the total number of tasks to be performed are 58. But the installation log shows 59 tasks. This is a known limitation.
- You might see the following warning message in the DB2 install log after the DB2 installation
completes. This warning message can be ignored.