Installing DB2 Universal Database (UDB) 6.1

The steps below cover how to install DB2 UDB 6.1 and any needed fixpack. For the most recent information on installing DB2 UDB or a fixpack, consult the DB2 documentation.

Installing DB2 UDB

  1. If you have the WebSphere Application Server CDs, find the DB2 UDB installation files on one of the WebSphere Application Server CDs. Run setup.exe in the \Db2 subdirectory.

    If you have the CD for DB2 UDB, run the setup.exe file.

    If you downloaded DB2 UDB, unzip the DB2 zip file to a temporary directory using an option that recreates the directory structure. Then, run the setup.exe file from the directory.

  2. Select Next, choose the Enterprise Edition or the Workgroup Edition, and then select Next.
  3. Put a check mark beside the Typical installation, specify the installation directory (for example, C:\SQLLIB), and click Next.
  4. If necessary, overwrite the default Username and Password with your own user ID and password. Consider using the same user ID and password specified during the Web server and WebSphere Application Server installation. This will make it the DB2 administration ID as well. Note that DB2 requires a password of 8 or fewer characters.
  5. Select Next, and continue with the installation.
  6. After the product installs, opt to restart your system.

Installing any needed DB2 UDB fixpack

If you installed DB2 UDB from a WebSphere Application Server CD, you do not need to go further. Any needed DB2 UDB fixpack was installed when you installed the base UDB product.

If you did not install DB2 UDB from the WebSphere Application Server CD, see "Software Prerequisites" to learn whether you need to install a DB2 UDB fixpack for your level of WebSphere Application Server. If you need a DB2 UDB fixpack, download the fixpack from the product Web site or obtain a CD that holds the appropriate fixpack.

Next, read the README file that accompanies the fixpack and follow the installation instructions.

Verifying the installation

After your system restarts, the DB2 First Steps and Control Center dialogs may display. At this point, you may create the database SAMPLE used by the WebSphere Application Server samples. To create the database SAMPLE, click Create the SAMPLE database in the DB2 First Steps dialog and then click Yes in the confirmation dialog.

If you receive an error message stating that the database was not created, go to the Services dialog accessible from a Control Panel and ensure that the status for the DB2-DB2 service is Started. The startup type for the DB2-DB2 service should be Automatic and the hardware profile should be Enabled. Once you start the DB2-DB2 service, try creating the database SAMPLE again.

After you finish, close the DB2 dialogs.

To ensure that the database SAMPLE was created, go to the DB2 Control Center (Start, Programs, IBM DB2, and then Control Center) and look in the tree for your user account for the DB2 instance SAMPLE.