Quick Beginnings

Installing Your DB2 Client

After updating your kernel configuration parameters and rebooting your system (if necessary), you can install your DB2 client.

If you are installing a DB2 client from a remote server, it is better to use the telnet command to open a telnet session instead of using the rlogin command to connect to your remote server.

To install a DB2 client:

  1. Log in as user with root authority.
  2. Insert and mount the appropriate CD-ROM. For information on mounting CD-ROMs, see Mounting CD-ROMs on UNIX Operating Systems.
  3. Change to the directory where the CD-ROM is mounted by entering the cd /cdrom command where /cdrom is the CD-ROM mount point.
  4. Change to one of the following directories:

    AIX
    /cdrom/db2/aix

    HP-UX Version 11
    /cdrom/db2/hpux11

    Linux
    /cdrom/db2/linux

    NUMA-Q/PTX
    /cdrom/db2/numaq

    SGI/IRIX
    /cdrom/db2/sgi

    Solaris
    /cdrom/unnamed_cdrom/db2/solaris
  5. Enter the ./db2setup command. After a few moments the Install DB2 V7 window opens.
  6. Select the product that you want to install and select OK.

    Press Tab to move between available options and fields. Press Enter to select or deselect an option. Selected options are denoted by an asterisk.

    When you select to install a DB2 product, you can choose the product's Customize option to view and change the components that will be installed.

    Select OK to continue the installation process or Cancel to go back to a previous window. Select Help for more information or assistance during the installation of any DB2 product.

When installation is complete DB2 software will be installed in the DB2DIR directory,

where DB2DIR = /usr/lpp/db2_07_01 on AIX


= /opt/IBMdb2/V7.1 on HP-UX, NUMA-Q/PTX, SGI IRIX, or Solaris


= /usr/IBMdb2/V7.1 on Linux

You can use the db2setup program add additional products or components after your initial installation. To create or add additional DB2 products and components, enter the following command:

On AIX
   /usr/lpp/db2_07_01/install/db2setup

On HP-UX, PTX, SGI IRIX, or Solaris
   /opt/IBMdb2/V7.1/install/db2setup

On Linux
   /usr/IBMdb2/V7.1/install/db2setup


[ Top of Page | Previous Page | Next Page ]