Skip to content

Latest commit

 

History

History

db2

Configuring db2

  1. Install unixodbc:
$ sudo aptitude install unixodbc unixodbc-bin unixodbc-dev
  1. Download dsdriver and install:
$ ls ~/Downloads/ibm_data_server_driver_package_linuxx64_v11.5.tar.gz
/home/ken/Downloads/ibm_data_server_driver_package_linuxx64_v11.5.tar.gz
$ sudo ./install-dsdriver.sh
  1. Copy ODBC and CLI configs:
$ cat odbcinst.ini | sudo tee -a /etc/odbcinst.ini
$ sudo cp {db2cli.ini,db2dsdriver.cfg} /opt/db2/clidriver/cfg/
  1. Run DB2 docker image:
$ ../docker-run.sh db2 -u
  1. Verify DB2 working:
$ ./db2cli-validate.sh