Installing a DB2 Connect server product (HP-UX)

 

To define your installation preferences and to install a DB2 Connect™ product on HP-UX, use the DB2® Setup wizard.

The DB2 Installer program is a Java-based installation tool that automates the installation and configuration of any DB2 product. If you prefer not to use this utility, you have two alternatives. You can install a DB2 Connect product:

 

Prerequisites

Before you begin your installation:

To install a DB2 Connect server product, such as DB2 Connect Enterprise Edition, on HP-UX using the DB2 Setup wizard:

  1. Change to the directory where the DVD is mounted:

         cd /db2dvd
    where /db2dvd represents mount point of the DVD.

  2. If you downloaded the DB2 Connect product image, decompress and untar the product file.

    1. Decompress the product file:

      gzip -d product.tar.gz
      where product is the name of the database product that you downloaded.

    2. Untar the product file:

      tar xvf product.tar

    3. Change directory:

      cd ./product/disk1

    Note: If you downloaded a National Language Package, untar it into the same directory. This will create the subdirectories (for example ./nlpack/disk2) in the same directory, and allows the installer to automatically find the installation images without prompting

  3. Enter the ./db2setup command from the directory where the product image resides to start the DB2 Setup wizard. After a few moments, the IBM® DB2 Setup Launchpad opens. For multiple CD installations, issue the db2setup command outside the mounted CD location with either a relative or absolute path name to ensure the DB2 Connect product CD can be unmounted as required. From this window, you can view the installation prerequisites and the release notes or you can proceed directly to the installation.

  4. Once you have initiated the installation, proceed through the DB2 Setup wizard installation panels and make your selections. Installation help is available to guide you through the DB2 Setup wizard. Click Help to invoke the online help. You can click Cancel at any time to exit the installation. DB2 files will only be copied to your system once you have clicked Finish on the last DB2 Setup wizard installation panel. Once completed, the DB2 Connect server product is installed using the /opt/IBM/db2/V9.5 default installation path.

    If you are installing on a system where this directory is already being used, the DB2 Connect product installation path will have _xx added to it, where xx are digits, starting at 01 and increasing depending on how many DB2 copies you have installed.

    You can also specify your own DB2 database product installation path.

National Language Packs can also be installed by running the ./db2setup command from the directory where the National Language Pack resides, after a DB2 Connect product has been installed.

The installation logs, db2setup.log and db2setup.err will be located, by default, in the /tmp directory. You can specify the location of the log files.

If you want your DB2 product to have access to DB2 documentation either on your local computer or on another computer on your network, then install the DB2 Information Center. The DB2 Information Center contains documentation for the DB2 database and DB2 related products. See Installing the DB2 Information Center using the DB2 Setup wizard (UNIX) .

Related concepts
Installation, migration, and fix pack enhancements DB2 Information Center installation options DB2 installation methods Non-root installation overview (Linux and UNIX)

Related tasks
Installing a DB2 product using the db2_install or doce_install command (Linux and UNIX) Applying fix packs Listing DB2 products installed on your system (Linux and UNIX) Installing a DB2 product as a non-root user