DB2 Version 9.7 for Linux, UNIX, and Windows

Installing a DB2 database product using a response file (Linux and UNIX)

Before you begin

Before you begin the installation, ensure that:

Procedure

To perform a response file installation:

  1. Enter the db2setup command as follows:
    dvd/db2setup -r responsefile_directory/response_file
    where:
    • dvd represents the location of the DB2 installable image;
    • responsefile_directory represents the directory where the customized response file is located; and
    • response_file represents the name of the response file.
  2. Check the messages in the log file when the installation finishes. The installation logs are located, by default, in the /tmp directory:
    • db2setup.log (db2setup_username.log for non-root installations, where username is the non-root user ID under which the installation was performed)
    • db2setup.err (db2setup_username.err for non-root installations, where username is the non-root user ID under which the installation was performed)
    You can specify the location of the log file. An installation history log db2install.history is located in DB2DIR/install/logs where DB2DIR specifies the path where the DB2 database product was installed. The default installation directory is:
    • For AIX®, HP-UX or Solaris /opt/IBM/db2/V9.7
    • For Linux/opt/ibm/db2/V9.7

    If more than one DB2 database product is installed in the same location, you will see db2install.history.xxxx, where xxxx are digits, starting at 0001 and increasing depending on how many DB2 copies you have installed.

What to do next

If you want your DB2 database product to have access to DB2 documentation either on your local computer or on another computer on your network, then you must install the DB2 Information Center. The DB2 Information Center contains documentation for the DB2 database and related products.