IBM Books

Installation and Configuration Supplement


Step 1. Install DB2

Your product 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. 

Figure car not displayed.

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

Install Products or Filesets Using SMIT

To install a DB2 product or filesets using the System Management Interface Tool (SMIT), perform the following steps:
step  1. Log in as user with root authority. 
step  2. Insert and mount the appropriate CD-ROM. 
step  3. Enter the smit install_latest command. The Software Installation and Maintenance menu opens. 
step  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

Figure hint not displayed.

If you are installing a DB2 client or a DB2 Software Developer's Kit, enter the following as the INPUT device: 
   /cdrom/db2/aix
 
step  5.  Press F4 to display a list of software to install. 
step  6.  Press F7 to mark one or more filesets for installation. 
step  7.  Press Enter to install DB2. 
step  8.  Press F10 to exit when the command displays OK
After the installation is complete, DB2 will be installed in the /usr/lpp/db2_06_01 directory on that machine; now you must repeat the above steps on all machines. 

Figure car not displayed.

Now that you have finished installing DB2, go to Install the DB2 Product Library (Optional) and Install the DB2 Product Messages (Optional) to install the optional 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 a DB2 product 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.
step  1.  Log in as a user with root authority. 
step  2.  Insert and mount the appropriate CD-ROM. 
step  3.  To proceed directly to the automatic bundle processing application, enter the smit easy_install_bundle command. 
step  4.  Specify the installation device or directory for the installation media by pressing F4 to display a list. 
step  5.  Select the CD-ROM drive you mounted, then press Enter. 
step  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. 
step  7.  From the displayed menu, select one of the following software bundles: 
  • DB2V6-UDB-Enterprise 
  • DB2V6-UDB-Ext-Enterprise 
  • DB2V6-UDB-Data-Links-Mgr 
  • DB2V6-Query-Patroller 
  • DB2V6-Connect-Enterprise 
  • DB2V6-SDK 
  • DB2V6-Admin-Client 
  • DB2V6-Run-Time-Client 
 

Figure hint not displayed.

Every required and recommended fileset for a product is installed with its bundle. 
 
step  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. 

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

Figure car not displayed.

Now that you have finished installing DB2, go to Install the DB2 Product Library (Optional) and Install the DB2 Product Messages (Optional) to install the optional 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, perform the following steps:
step  1. Log in as user with root authority.
step  2. Insert and mount the appropriate CD-ROM. 
step  3. Enter the smit install_latest command. The Software Installation and Maintenance menu opens. 
step  4.  Enter the directory for the INPUT device/directory for software. For example, if /cdrom represents the CD-ROM mount directory, enter the following as the INPUT device: 
   /cdrom/db2
step  5.  Press F4 to display a list of software to install. 
step  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. 
 

Figure hint not displayed.

The DB2 Product Library (HTML) fileset is listed as follows: 
DB2 Product Library (HTML) - language
 
step  7.  Press Enter to start the installation. 
step  8.  Press F10 to exit SMIT when the command completes. 
step  9.  Run the following command to uncompress and untar the HTML files: 
   /usr/lpp/db2_06_01/doc/db2insthtml locale
where locale represents the desired locale. For example, en_US is the locale for English documentation. 
Note: If you are installing a non-English locale, the English locale is installed as well. You should run db2insthtml against the English locale first. 
 
step  10.  From your Web browser, open the following file URL to view DB2 online manuals: 
   file:/usr/lpp/db2_06_01/doc/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, perform the following steps:

  1. Log in as a user with root authority.
  2. Insert and mount the appropriate CD-ROM.
  3. Enter the smit install command.
  4. Select the Install and Update Software option, then select the Install and Update from all Available Software option.
  5. Enter the directory for the INPUT device/directory for software. For example, if /cdrom represents the CD-ROM mount directory, enter the following as the INPUT device:
  6.    /cdrom/db2
  7. Press F4 to display a list of software to install.
  8. List the software to be installed using the SOFTWARE to install option.
  9. 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