DB2 Version 9.7 for Linux, UNIX, and Windows
Installation methods that require manual configuration (Linux and UNIX) >

Installing a DB2 product using the db2_install or doce_install command (Linux and UNIX)

Before you install DB2® products and features or the DB2 Information Center:

The db2_install command installs DB2 products and features on supported Linux® and UNIX® operating systems.

The doce_install command installs the DB2 Information Center on supported Linux operating systems.

You cannot manually install a DB2 product or feature using an operating system's native installation utility such as rpm, SMIT, swinstall or pkgadd. Any existing scripts containing a native installation utility that you use to interface and query with DB2 installations will need to change.

The db2_install command is not supported on the National Language Package DVD.

Only one copy of the DB2 Information Center for the current release can be installed on your system. The Information Center cannot be installed in the same location where a DB2 product is installed. If you install the DB2 Information Center on a system with a firewall, and you plan to allow other systems to access the DB2 Information Center, you must open the port in your firewall setting.

To install a DB2 product or feature using the db2_install command, or to install the DB2 Information Center using the doce_install command:

  1. If you have a physical DB2 product DVD, insert and mount the appropriate DVD or access the file system where the installation image was stored.
  2. If you downloaded the DB2 product image, you must decompress and untar the product file.
    1. Decompress the product file:
      gzip -d product.tar.gz
      For example,
      gzip -d ese.tar.gz
    2. Untar the product file:
      On Linux operating systems
      tar -xvf product.tar
      For example,
      tar -xvf ese.tar
      On AIX®, HP-UX, and Solaris operating systems
      gnutar -xvf product.tar
      For example,
      gnutar -xvf ese.tar
    3. Change directory into the product directory:
      cd product
      For example,
      cd ese
  3. Enter the ./db2_install or ./doce_install command:
    ./db2_install -b DB2DIR -p productShortName -c NLPackLocation -L language... -n 
    where: When installing the DB2 Information Center, if you specify a port number other than the default, you might receive the error "The service name specified is in use". You can correct this error by either choosing to use the default port number or by specifying a different service name.

After installation, you must manually configure your DB2 server. Tasks include user and instance creation and configuration.

[ Top of Page | Previous Page | Next Page | Contents ]