IBM Books

Quick Beginnings for DB2 Universal Database for UNIX


Step 1. Install DB2

The DB2 CD-ROM contains several products. Select the products you are licensed to install. Your Proof of Entitlement and License Information booklet identify the products for which you are licensed.

note

Go to the installation method that you would like to use to install DB2.


Install Products or Filesets Using SMIT

  1. Log in as user with root authority.

  2. Insert and mount the DB2 CD-ROM.

  3. Enter the smit install_latest command. The Software Installation and Maintenance menu opens.

  4. Specify the INPUT device/directory for DB2 and press Enter.

    For example, if /cdrom is the CD-ROM mount directory, enter the following as the INPUT device:

       /cdrom/db2
    


    note

    If you are installing the DB2 Client Application Enabler or the DB2 Software Developer's Kit, enter the following as the INPUT device:

       /cdrom/db2/aix
    

  5. Press F4 to display a list of software to install. For a detailed description of the software packages, refer to Appendix B. Contents of the DB2 Products for more information.

  6. Press F7 to mark one or more packages and filesets for installation.

  7. Press Enter to install DB2.

  8. Press F10 to exit when the command displays OK.

After the installation is complete, DB2 will be installed in the /usr/lpp/db2_05_00 directory on that machine; now you must repeat the above steps on all machines.

note

Now that you have finished installing DB2, go to Install the DB2 Product Library (Optional) and Install the DB2 Product Messages (Optional) to optionally install the product documentation and messages. If you do not want to install product documentation or messages, proceed to the next step.

Install Software Bundles Using SMIT

The following procedure shows how to install DB2 Extended Enterprise Edition using the Software Bundles feature. A software bundle is a collection of filesets. When you install a software bundle, every fileset in that bundle is installed.

  1. Log in as root.

  2. Insert and mount the DB2 CD-ROM in the drive.

  3. To proceed directly to the automatic bundle processing application, issue the smit easy_install_bundle command.

  4. Specify the installation device or directory for the installation media by pressing F4 to display a list.

  5. Select the CD-ROM drive in which you placed the DB2 CD-ROM, then press Enter.

  6. If you did not install the DB2 Media-Defined software bundle on this system, use the following procedure to install it:

    1. In the Bundle to Install menu, select the Media-Defined option, then press Enter.

    2. In the Install Bundle Contents menu, press Enter to continue with the installation. Messages may appear to indicate the status of the installation. Press Enter to continue.

    3. Press F3 to return to the Install Bundle Contents menu.

    4. Press F4 to re-display the list of software bundles.

  7. From the displayed menu, select one of the following software bundles:

    Notes:

    1. Every required and recommended fileset for a product is installed with its bundle.

    2. For a list of filesets included in a product, see Table 6.

  8. Press Enter to start the installation.

    Messages will appear to indicate the status of the installation. Press Enter to continue, or F3 if you want to cancel.

  9. Repeat the steps in this section if you want to install software bundles on other machines.


note

Now that you have finished installing DB2, go to Install the DB2 Product Library (Optional) and Install the DB2 Product Messages (Optional) to optionally install the product documentation and messages. If you do not want to install product documentation or messages, proceed to the next step.

Install the DB2 Product Library (Optional)

When you install DB2 using SMIT, the DB2 Product Library (HTML) is not automatically installed.

To install the DB2 Product Library, do the following:

  1. Log in as user with root authority.

  2. Insert and mount the DB2 CD-ROM.

  3. Enter the smit install_latest command. The Software Installation and Maintenance menu opens.

  4. Enter the directory for the INPUT device/directory for software. For example, if /cdrom is the CD-ROM mount directory, enter the following as the INPUT device:
       /cdrom/db2
    

  5. Press F4 to display a list of software to install. For a detailed description of the software packages, refer to Appendix B. Contents of the DB2 Products for more information.

  6. Select the fileset for the DB2 Product Library (HTML) that you want to install. A separate fileset exists for every language in which DB2 documentation is translated.
    Note:Not every manual is translated into multiple languages. The DB2 Product Library (HTML) - English fileset contains a complete set of books in English. When you select any non-English HTML fileset without selecting English, the English HTML fileset is also installed.


    note

    The DB2 Product Library (HTML) fileset is listed as follows:
    DB2 Product Library (HTML) - language
    

  7. Press ENTER to start the installation.

  8. Press F10 to exit SMIT when the command completes.

  9. Run the following command to uncompress and untar the HTML files:
       /usr/lpp/db2_05_00/doc/db2insthtml locale
    

    where locale is the desired locale; for example, locale=en_US for English.

  10. From your Web browser, open the following file URL to view DB2 online manuals:
       file:/usr/lpp/db2_05_00/doc/en_US/html/index.htm
    

To recover some disk space, you may want to remove the compressed tar files. It is recommended that you do not just remove the compressed tar HTML files; instead, you should remove the fileset for the DB2 Product Library.

After the fileset is removed, only compressed tar files will be removed. You will still be able to view the online DB2 books.

Install the DB2 Product Messages (Optional)

When you install DB2 using SMIT, DB2 product messages for locales, other than en_US (English - ISO 88591), are not automatically installed.

To install DB2 product messages in other locales, do the following:

  1. Log in as user with root authority.

  2. Insert and mount the DB2 CD-ROM.

  3. Enter the smit install_latest command. The Software Installation and Maintenance menu opens.

  4. Enter the directory for the INPUT device/directory for software. For example, if /cdrom is the CD-ROM mount directory, enter the following as the INPUT device:
       /cdrom/db2
    

  5. Press F4 to display a list of software to install. For a detailed description of the software packages, refer to Appendix B. Contents of the DB2 Products for more information.

  6. List the software to be installed using the SOFTWARE to install option.

  7. Select the messages options for the locales you want to install.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]