IBM VERSION 9 Procedure, cd /cdrom, Getting started with DB2 installation and administration

Models: VERSION 9

1 109
Download 109 pages 12.57 Kb
Page 28
Image 28

Procedure:

To start the DB2 Setup wizard:

1.Log on to the system as a user with root authority.

2.Change to the directory where the DB2 product CD is mounted by entering the following command:

cd /cdrom

where /cdrom represents mount point of the DB2 product CD.

3.If you downloaded the DB2 product image, you must decompress and untar the product file.

a.Decompress the product file: gzip -dproduct.tar.gz

where product is the name of the product that you downloaded.

b.Untar the product file: tar -xvfproduct.tar

c.Change directory: cd ./product/disk1

4.Enter the ./db2setup command from the directory where the product image resides to start the DB2 Setup wizard.

5.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 may want to review the installation prerequisites and release notes for late-breaking information.

6.Click Install a Product and the Install a Product window will display the products available for installation.

Launch the installation by clicking Install New. Proceed through the installation following the DB2 Setup wizard's prompts.

Once you have initiated the installation, proceed through the DB2 Setup wizard installation panels and make your selections. Installation help is available to guide you through the remaining steps. To invoke the installation help, click Help or press F1. You can click Cancel at any time to end the installation.

Your DB2 product will be installed, by default, in the following directory: Linux /opt/ibm/db2/V9.1

If you are installing on a system where this directory is already being used, the DB2 product installation path will have _xx added to it, where _xx are digits, starting at 01 and increasing depending on how many DB2 copies you have installed.

You can also specify your own DB2 product installation path.

The installation logs, db2setup.log and db2setup.err will be located, by default, in the /tmp directory. You can specify the location of the log files.

The db2setup.log file captures all DB2 installation information including errors. The db2setup.err file captures any error output that is returned by Java(for example, exceptions and trap information).

There is no longer a db2setup.his file. Instead, the DB2 installer saves a copy of the db2setup.log file in the DB2_DIR/install/logs/ directory, and renames it

20Getting started with DB2 installation and administration

Page 28
Image 28
IBM VERSION 9 manual Procedure, cd /cdrom, Getting started with DB2 installation and administration