Install DB2

Summary: in this tutorial, you will learn how to install DB2 developer edition on Windows platform, which is freely used for developers and database administrators to build mission-critical applications.

Download IBM DB2 Developer Edition

Download the IBM DB2

After downloading the install file, you need to unzip the file into a directory e.g., c:\software\ as shown in the following picture:

IBM DB2 11.1

Install DB2 on Windows

Step 1. To install DB2, double click the setup.exe file, the DB2 setup launchpad will be launched:

Image

Step 2. Click the Release information to get the release notes, what’s new and what’s changed in this version.

Image

Step 3. If you upgrade from a previous version, click the upgrade information for more information on upgrading DB2 system:

Image

Step 4. Click Install a Product to start DB2 11.1 version

Image

Step 5. Scroll the scrollbar down and click the Install New button

ImageStep 6. To start installing DB2, read the license agreement carefully, accept the terms, and click the Next button.

Image
Image

Step 7. Choose Typical in the install type list and click the Next button:

Image

Step 8. Select the third option to create a response file and click Next button

Image

Step 9. Select the installation folder, leave it as is and click Next button

Image

Step 10. Select the IBM SSH server installation folder and startup option. Since we will use the DB2 solely on the current server, select Do not autostart the IBM SSH server.

Image

Step 11. Setup username and password for the DB2 administration server

Image

Step 12. Configure DB2 instances, leave it as DB2 and click Next button

Image

Step 13. Setup notifications, uncheck the checkbox and click Next button

Image

Step 14. Enable operation system security for DB2 objects, uncheck the Enable operating system security checkbox and click the Next button:

Image

Step 15. Review the information click Finish button

Image

Step 16. The setup launchpad starts copying files and installing DB2 server:

Image

Step 17. You need to wait for a while before the setup completes. Once it is completed, click the Finish button:

Image

DB2 First Steps

The first steps wizard gets you quickly up and running with DB2 by allowing to check for product updates, create a sample database, etc.

If you want to create a database named SAMPLE from IBM, you can click the create sample database button as shown in the following picture:

Image

Select the driver to store the SAMPLE database and click the OK button:

Image

It takes a while to create the selected sample database:

Image

Once completed, click the OK button.

Image

Click the Close button to close the first steps window.

Image

In this tutorial, you have learned how to download IBM DB2 server developer edition and install it on Windows.

Was this tutorial helpful ?