Quick Beginnings

Installing DB2 for HP-UX Using the db2setup Utility

After updating your HP-UX kernel configuration parameters, you can begin installing DB2 for HP-UX. The db2setup utility is the recommended method for installing DB2 for HP-UX. This utility can perform all of the tasks required to install DB2. If you prefer not to use the db2setup utility, see Manually Installing DB2 for HP-UX.

To install DB2 for HP-UX using the db2setup utility:

  1. Log in as a user with root authority.
  2. Insert and mount your DB2 product CD-ROM. For information on how to mount a CD-ROM, 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 mount point of your product CD-ROM.
  4. Enter the ./db2setup command. The DB2 Setup Utility window opens.
  5. Select Install and press Enter. The Install DB2 V7 window opens.
  6. Select the products you want and are licensed to install. 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 you DB2 software will be installed in the /opt/IBMdb2/V7.1/ directory.

If you did not install the DB2 tools you can verify the installation by creating and connecting to the SAMPLE database. For more information, see Verifying the Installation.

You can use the db2setup utility at any time to create an another instance, create an Administration Server, or install additional DB2 products or components. Log in as a user with root authority and run the ./db2setup command from your DB2 product CD-ROM.

Your Next Step

If you are migrating from a previous version of DB2, see DB2 Post-installation Migration Tasks.

If you are not migrating from a previous version of DB2 and you want to begin installing DB2 clients, go to Installing DB2 Clients.

If you want to set up links for your DB2 files, go to Creating links for DB2 files.


[ Top of Page | Previous Page | Next Page ]