Installation of IBM DB2 version 12.1
Installation procedure for DB2® version 12.1 before installing IBM® Verify Directory.
You must meet the DB2 version 12.1 prerequisites before you run DB2 installation. To verify whether your computer meets the DB2 prerequisites check, run the db2prereqcheck command. If any packages are missing on your computer, you must update your computer for the required packages.
To install DB2 version 12.1 Server product on AIX® and Linux™, you can use the db2_install command and on Windows™, use the setup.exe command.
./db2_install -f NOTSAMP -y -p SERVER -b /opt/IBM/db2/V12.1
Where, /opt/IBM/db2/V12.1 is the db2install_path../db2_install -f NOPCMK -y -p SERVER -b /opt/ibm/db2/V12.1
Where, /opt/ibm/db2/V12.1 is the db2install_path.After you install DB2 Server product, you must apply the Standard Edition, and High Capacity Activation Keys (licenses) manually to use the DB2 product features. Follow the steps in the topic Applying DB2 licenses in the DB2 IBM Documentation.
db2install_path/adm/db2licm -a filename
Where, db2install_path is the db2 installation path, and filename is the full path name and file name for the license file.db2install_path/adm/db2licm -a <ivd_xtract_path>/db2lic/12.1/std_o/db2/license/db2std_o.lic
db2install_path/adm/db2licm -a <ivd_extract_path>/db2lic/12.1/hc/db2/license/db2hc.lic
db2install_path/adm/db2licm -a <db2_activation_part_extract_path>/std_o/db2/license/db2std_o.lic
db2install_path/adm/db2licm -a <db2_activation_part_extract_path>/hc/db2/license/db2hc.lic
db2licm -l command to verify the DB2 product license information:
db2install_path/adm/db2licm -l
After the DB2 installation, check the /tmp/db2_install_log.XXXXX file to verify that the installation was successful. The XXXXX is a random number that is associated with the installation.
For more information about DB2 prerequisites and DB2 installation, see the DB2 product documentation at IBM Db2 documentation.