Applies to

SafeLinx 1.2

Introduction

HCL SafeLinx uses a DB2, Oracle, MySQL, or SQL database to store tables of information about current and past activity of SafeLinx Server sessions. How to install DB2 V11 server and above on CentOS 8 to be used by SafeLinx 1.2 server ?

Instructions

You can follow the below steps to install DB2 V11 server to be used by SafeLinx 1.2 server.

Login to root access privilege account on the CentOS 8 to perform the below steps. Example, here root access privilege user account used is “support”.

1) SafeLinx specific, DB2 database configuration on Linux. Use the following yum/dnf install commands to install prerequisite dependencies.

sudo yum install libstdc++.i686 -y

sudo yum install pam.i686 -y

sudo yum install gcc-c++ -y

sudo yum install ksh -y

sudo yum install perl-Sys-Syslog.x86_64 -y

Note: Since these have been already installed on this machine it says already installed and nothing to do.

2) Extract DB2 installer. To do this, be in the directory where you placed the installer for DB2 CNB75ML.tar (DB2 server V11.1.0.0) file and issue the below command. Example, here the installer is placed in /home/support/installer directory.

sudo tar -xvf CNB75ML.tar

You will find the extracted files in the directory server_ese_u. Switch to this directory from the command line cd server_ese_u.

3) Now, perform prerequisite check for DB2 server installation. Issue the below command

sudo ./db2prereqcheck -i -v “11.1.0.0”

*Note: If prerequisite check fails, fix it before proceeding with DB2 installation.

4) Now install DB2 server using command line interface (CLI).  db2_install is an interactive CLI based installation. Run the below command

sudo ./db2_install

Type yes to accept license agreement if it asks, license agreement is available in db2/license. If there is no prompt you can type “yes” to the below prompt to install the DB to default path (/opt/ibm/db2/V11.1).

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

For the below prompt type SERVER to install DB2 server.

Specify one of the following keywords to install DB2 products

In next prompt type “no” to continue the installation.

Do you want to install the DB2 pureScale Feature? [yes/no]

After these inputs, it will start your DB2 server installation. DB2 installation should complete within few minutes. If your system meet DB2 installation requirement and prerequisite check was successful, then DB2 installation will complete successfully.

At the end of the installation, you will get installation log file name which you may refer for detailed DB2 installation logs.

5) Verify the DB2 server installation on the system. Change your working directory to DB2 installation path and run ls -lrt, you should see below directories and all directories must be owned by bin.

Switch to directory cd /opt/ibm/db2/V11.1/

Issue the command ls -lrt

This completes the installation of IBM DB2 V11.1.0.0. You can follow the below SafeLinx help document for further configuration like installing SafeLinx Administrator client, SafeLinx server and using IBM DB2 V11.1.0.0 for setting up SafeLinx server.

https://help.hcltechsw.com/safelinx/1.2/adminguide/admin_guide.html

IBM DB2 References:

Below are some IBM DB2 references how to install DB2 server.

Db2 installation methods
https://www.ibm.com/docs/en/db2/11.1?topic=servers-db2-installation-methods

Non-root installation overview (Linux® and UNIX)
https://www.ibm.com/docs/en/db2/11.1?topic=methods-non-root-installation-linux-unix

DB2 Setup wizard installation walkthrough
https://www.ibm.com/docs/en/db2/10.5?topic=servers-db2-setup-wizard-walkthrough

Installing Db2 servers using the Db2 Setup wizard (Linux and UNIX)
https://www.ibm.com/docs/en/db2/11.1?topic=idds-installing-db2-servers-using-db2-setup-wizard-linux-unix

Leave a Reply

Your email address will not be published. Required fields are marked *