IBM Books

Quick Beginnings


Step 4. Installing the DB2 Products

After you mount the CD-ROM file system, use the DB2 Installer to install the DB2 products.



* Figure hint not displayed.

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

  1. Log in as root.

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

  3. If required, mount the CD-ROM. Refer to "Step 3. Mounting the CD-ROM" if required.

  4. Change to the directory where the CD-ROM is mounted by typing the following command:

    1. On AIX or HP-UX:
         cd /cdrom
      

    2. On Solaris:
         cd /cdrom/unnamed_cdrom
      

    where /cdrom is the mount point of the CD-ROM drive on AIX and HP-UX and /cdrom/unnamed_cdrom is the mount point of the CD-ROM on Solaris.

  5. Type the following command to start the DB2 Installer:
       ./db2setup
    


    * Figure hint not displayed.

    It will take some time for the DB2 Installer to start up, as it is scanning your system for information. 

    Note:Your screen will be different if you already installed DB2 Version 5 products on your system. See "Installing Additional Products and Creating Additional Instances" for more information.

    * Figure dbinstsv not displayed.

  6. From the product list on the Install DB2 V5 screen, select the products that you want to install.

    You can install only one of the following products:

    To display the required and optional components for the product you want to install, select Customize. The optional components that are most typically used are pre-selected for you. Make your selections and select OK.

    When you have finished choosing product components, select OK to go to the Create DB2 Services screen. To undo any selections you made, select Cancel.

    note

    Go to step 9 if you do not want to create a DB2 Instance at this time.

  7. At the Create DB2 Services screen, select Create a DB2 Instance to display the DB2 Instance screen.
    * Figure dbcrtins not displayed.

    You can use the default values displayed at the DB2 Instance screen or change them:

  8. When you have finished entering the values for the DB2 Instance, select OK.

    note

    Go to step 11 if you do not want to create an Administration Server at this time.

  9. At the Create DB2 Services screen, select Create an Administration Server to display the Administration Server screen.

    You can use the default values on the Administration Server screen or change them:

  10. When you have finished entering the values for the Administration Server, select OK.

  11. After entering the values for the DB2 Instance and the Administration Server, select OK to display the Summary Report. The report lists the installable items as well as the location of the installation log file.
    * Figure dbsumrpt not displayed.

  12. Use the Up or Down arrow keys to review the Summary Report. If the selections are not correct, press the F3 key to return to the previous screen. Otherwise, select Continue to start the installation.

  13. When the installation is complete, use the Up or Down arrow keys to review the Status Report. Select ViewLog to view the installation log file. Select OK to close the Status Report screen.

  14. Select Close from the DB2 Installer screen to terminate the DB2 Installer.

After the installation is complete, the software is installed in the DB2DIR directory,
where DB2DIR = /usr/lpp/db2_05_00 on AIX


= /opt/IBMdb2/V5.0 on HP-UX or Solaris


* Figure hint not displayed.

You can use the DB2 Installer to create additional DB2 instances after you have installed the DB2 product on your system. To start the DB2 Installer from the DB2 product directory, type the following command:

On AIX
   /usr/lpp/db2_05_00/install/db2setup

On HP-UX or Solaris
   /usr/IBMdb2/V5.0/install/db2setup



note

Go to "Installing Additional Products and Creating Additional Instances" for information on optional installation activities or proceed directly to Chapter 8. "Migrating from Previous Versions on UNIX Systems".

Installing Additional Products and Creating Additional Instances

The installation activities in this section are optional following the installation of DB2 Version 5 on your system. It describes what you need to do if you plan to:

The next time you start the DB2 Installer, after having installed DB2 Version 5, the main menu will look like the following screen.
* Figure dbinstmm not displayed.

To select additional products and their components for installation, select Install from the DB2 Installer screen. See step 6 for instructions.

To create a DB2 Instance or the Administration Server on your system, select Create from the DB2 Installer screen. See step 7 and step 9 for instructions.

To terminate the DB2 Installer, select Close.


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

[ DB2 List of Books | Search the DB2 Books ]