Installing Db2 Spatial Extender using the Db2 Setup wizard (Linux and UNIX)

To install Db2 Spatial Extender on Linux® or UNIX operating systems in environments that do not have the Db2 pureScale® Feature installed, you can use either the Db2 wizard or a response file.

Before you begin

Before you start the Db2 Setup wizard:
  • Ensure that your system meets installation, memory, and disk requirements.
  • Ensure you that have a supported browser installed.
  • Ensure that the Db2 database product image is available on the computer. You can obtain a Db2 installation image either by purchasing a physical Db2 database product DVD, or by downloading an installation image from Passport Advantage®.
  • If you are installing a non-English version of a Db2 database product, ensure that you have the appropriate National Language Packages available.
  • Ensure that you installed X Linux software capable of rendering a graphical user, the X Linux server is running, the DISPLAY variable is defined. The Db2 Setup wizard is a graphical installer.
  • If you are using security software in your environment, you must manually create required Db2 users before you start the Db2 Setup wizard.

About this task

This task is part of the larger task of Setting up and installing Db2 Spatial Extender. It applies only to environments that do not have the Db2 pureScale Feature installed. For Db2 pureScale environments, proceed to Installing Db2 Spatial Extender in Db2 pureScale environments.

You can install a Db2 database product using either root or non-root authority.

Procedure

To install Db2 Spatial Extender as part of a Db2 server or IBM® data server client:

  1. If you have a physical Db2 database product DVD, change to the directory where the Db2 database product DVD is mounted by entering the following command:
       cd /dvdrom
    where /dvdrom represents the mount point of the Db2 database product DVD.
  2. If you downloaded the Db2 database product image, you must extract the product file.
    1. Extract the product file with the gzip command as follows:
      gzip -d product.tar.gz
      
      where product is the name of the product that you downloaded.
    2. Untar the product file with the tar command as follows:
      On Linux operating systems
      tar -xvf product.tar
      On AIX® operating systems
      gnutar -xvf product.tar
      where product is the name of the product that you downloaded.
    3. Change directory:
      cd ./product
      where product is the name of the product that you downloaded.
    Note: If you downloaded a National Language Package, extract it into the same directory. This extraction creates the subdirectories (for example ./nlpack) 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 database product image resides to start the Db2 Setup wizard.
  4. The IBM Db2 Setup Launchpad opens. From this window, you can view installation prerequisites and the release notes, or you can proceed directly to the installation. You can also review the installation prerequisites and release notes for late-breaking information.
  5. Click Install a Product and the Install a Product window will display the products available for installation.
  6. Install Spatial Extender by using one of the following options:
    • To create a new Db2 copy with Spatial Extender, click Install New to start the installation. Select the installation type as custom to include the Spatial Extender as part of the installation. Proceed through the installation following the Db2 Setup wizard prompts.
    • To install Spatial Extender on an existing Db2 copy, click Work with Existing. Select the installation type as custom to include the Spatial Extender as part of the installation. Proceed through the installation following the Db2 Setup wizard prompts.
    After the installation is complete, look for any warning or error messages in the identified log file.

What to do next

After you install Db2 Spatial Extender, create a Db2 instance in new Db2 copies, and then verify that the installation was successful.