IBM data server clients and drivers overview > IBM Data Server Drivers >
Installing IBM Data Server
Driver Package (Linux and UNIX)
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.
To install IBM Data
Server Driver Package,
you need to obtain the compressed file that contains this driver package.
Download this file from the Fix Pack and client download Web site: http://www-01.ibm.com/support/docview.wss?rs=71&uid=swg21288110.
On Linux and UNIX operating systems, there is
no installation program for IBM Data
Server Driver Package.
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. The basic extraction
steps for each driver are the same:
- Uncompress the Data
Server Driver Package archive.
- Find the files for the driver you need and copy them 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.
- 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
-
- Path: odbc_cli_driver/<platform>
- Filename: ibm_data_server_driver_for_odbc_cli.tar.Z
- For installation instructions, see: Installing the IBM Data Server Driver for ODBC
and CLI.
- PHP
-
- Path: php_driver/<platform>/php32 or
php_driver/<platform>/php64
- Files: ibm_db2_4.4.6.so, ibm_db2_5.2.1.so, pdo_ibm_5.2.1.so
- 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.
[ Top of Page | Previous Page | Next Page | Contents ]