DB2 Version 9.7 for Linux, UNIX, and Windows
Installation methods that require manual configuration (Linux and UNIX) > Manually configuring DB2 servers after installation >

Creating links for DB2 files

You can create links for the DB2® files to the /usr/lib directory, and for the include files to the /usr/include directory for a particular DB2 version and release level.

To perform this task, you must be logged on as a user with root authority.

This task is not required for normal DB2 operation.

Consider creating links for the DB2 files only if both of the following conditions are met:

The following restrictions apply:

To create links for DB2 files:

  1. Log on as a user with root authority
  2. Run the db2ln command. For example:
         DB2DIR/cfg/db2ln
    where:
    DB2DIR
    is the DB2 installation directory.
    • On AIX®, HP-UX, or Solaris operating systems, the default DB2 installation directory is /opt/IBM/db2/V9.7
    • On Linux® operating systems, the default installation directory is /opt/ibm/db2/V9.7

If there are existing links to the /usr/lib and /usr/include directories from a previous DB2 version, they will automatically be removed by entering the db2ln command to create links for this DB2 version. If you want to reestablish the links to the libraries of the previous version, then you must run the db2rmln command from your current DB2 version before you run the db2ln command from the previous DB2 version.

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