On Linux and UNIX operating systems, IBM® Data
Server Driver Package simplifies application deployment.
This driver, which has a small footprint, is designed to be redistributed
by independent software vendors (ISVs) and to be used for application
distribution in mass deployment scenarios typical of large enterprises.
About this task
On Linux and UNIX operating systems, IBM Data
Server Driver Package is installed by running
the installDSDriver command. This driver package
includes database drivers for Java™,
ODBC/CLI, PHP, and Ruby on Rails, each of which is stored in its own
subdirectory. The Java and ODBC/CLI
drivers are compressed.
Before you begin
To
install
IBM Data
Server Driver Package, you need to obtain the
compressed file that contains this driver package. Download this file
from the IBM Support
Fix Central Web site:
http://www.ibm.com/support/fixcentral/.
Data Server clients and drivers are found under the
Information
Management product group and
IBM Data Server
Client Packages product selection. Select the appropriate
installed version and platform and click
Continue.
Click
Continue again on the next screen and
you will be presented with a list of all client and driver packages
available for your platform.
Note: The unzip utility must be installed on
the operating system before you install the IBM Data Server Driver
Package.
Procedure
The basic extraction steps for each driver are the same:
- Uncompress the Data
Server Driver Package archive.
- Copy the files onto the target machine.
- For the Java and
ODBC/CLI drivers, uncompress the driver file into your chosen install
directory on the target machine.
- Optional: remove the compressed driver file.
Example
- Java
- Path: jdbc_sqlj_driver/platform
- Filename: db2_db2driver_for_jdbc_sqlj.zip
- For installation instructions, see: Installing
the IBM Data Server Driver for
JDBC and SQLJ.
- ODBC/CLI
-
- PHP
- Path: php_driver/platform/php32 or
php_driver/platform/php64
- Files: ibm_db2_n.n.n.so, ibm_db2_n.n.n.so, pdo_ibm_n.n.n.so, where n represents
the version of the extension.
- Prerequisite: The PHP drivers require the ODBC/CLI driver also
included in this driver package to be installed.
- For installation instructions, see: Setting up the PHP environment on Linux or UNIX.
- Ruby on Rails
- Path: ruby_driver/platform
- File: ibm_db-0.10.0.gem
- Prerequisite: The Ruby on Rails driver requires the ODBC/CLI
driver also included in this driver package to be installed.
- To install the Ruby on Rails driver, from the location of the
gem file, run the following command: gem install ibm_db-0.10.0.gem.
To validate the installation, see: Verifying installation with IBM Data
Servers on Rails applications.
After installing Data
Server Driver Package, you can optionally create
and populate the configuration file, db2dsdriver.cfg,
with database directory information.