DB2 10.5 for Linux, UNIX, and Windows

Installing Net Search Extender on UNIX

To install Net Search Extender on UNIX, install the product and update the DB2® instance.

About this task

Important: Net Search Extender has been deprecated. Its use is no longer recommended and might be removed in a future release. Use DB2 Text Search as a fast and versatile method of searching full-text documents stored in DB2 databases using SQL and XQuery statements. See the topic about Migration overview from Net Search Extender to DB2 Text Search for details.

Procedure

To install Net Search Extender on UNIX, follow these steps:

  1. Install the product components.
    1. Log on at the target machine as the root user.
    2. Change to the correct directory for your platform.
      • cd /cdrom where cdrom is your CD-ROM driver path.
      • cd platform
    3. Uninstall any older version of NSE, if present .
    4. Call ./nsesetup.sh and follow the instructions displayed on the screen.

      After you accept the license agreement, you are presented with a list of possible installation paths. The installation paths that are eligible for you to use depend on the Net Search Extender version you want to install and the installed copies of DB2 database products. After you select a path for the installation, the product is installed at this path. An installation log file is written to the /tmp directory and prefixed db2nsei.

  2. Update the DB2 instance.
    1. Ensure that you are active as the root user.
    2. Use the following command to change your working directory to the path where you installed Net Search Extender:
      cd path/instance

      path is the path of the DB2 copy where you installed Net Search Extender.

    3. Run db2iupdt. Use ./db2iupdt db2instance, where db2instance is the name of an existing DB2 instance user ID that you would like to use with Net Search Extender.