IBM Books

Quick Beginnings for DB2 Universal Database for UNIX


Step 4. Install the DB2 Products

After you mount the CD-ROM file system, use the DB2 Installer program to install the DB2 products.
Note:DB2 Version 5 products can co-exist on the same machine with previous versions of DB2.



Figure hint not displayed.

If you are installing the DB2 Client Application Enabler from a remote server, it is better to use the telnet command to open a telnet session instead of 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. Mount the CD-ROM if required.

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

    1. On AIX, HP-UX, or SCO UnixWare 7:
         cd /cdrom
      

    2. On Solaris:
         cd /cdrom/unnamed_cdrom
      

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

  5. Enter the ./db2setup command to start the DB2 Installer program. The Install DB2 V5 screen opens.

    Figure hint not displayed.

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


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

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

    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.

    Figure hint not displayed.

    To refresh the current screen, press the F5 key or Ctrl+L. 

    When you have finished selecting the DB2 product and its components, select OK. The Create DB2 Services window opens. 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 panel, select Create a DB2 Instance to display the DB2 Instance screen.
    Entering information to create a DB2 Instance

    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.

    You will have to enter values for the User ID, Group ID and Password for the fenced user defined Functions (UDFs) and stored procedures. The User Name for the fenced UDFs should be different from the User Name of the DB2 Instance for security reasons.

    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.

  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 View Log 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 program.

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, SCO UnixWare 7, or Solaris


Figure hint not displayed.

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

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

On HP-UX, Solaris, or SCO UnixWare 7
   /opt/IBMdb2/V5.0/install/db2setup



note

Go to Chapter 4. Installing Additional Products and Creating Additional Instances for information on optional installation activities or proceed directly to Chapter 6. Migrating from Previous Versions and Releases.


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

[ DB2 List of Books | Search the DB2 Books ]