DB2 (Express C Edition) Installation and Using A Database
DB2 (Express C Edition) Installation and Using A Database
5.1
Unit objectives
After completing this unit, you should understand:
Installation Prerequisites
DB2 Express-C is available on Linux, Sun Solaris (x64), and
Microsoft Windows 2003, XP, and Vista. It is also available as
a beta on Mac OS X. The processor architectures available are
32-bit, 64-bit and PowerPC (Linux).
For the latest information on DB2 Express-C hardware
requirements, review the DB2 Express-C web page at
http://www.ibm.com/software/data/db2/express/about.html
To install DB2 on Windows, you must have an operating
system user with sufficient authority.
For Windows, the user account must belong to the
Administrators group on the machine where you will perform the
installation.
Alternatively, on Windows 2008, Windows Vista, or higher, a nonadministrator can perform an installation, but will be prompted for
administrative credentials by the DB2 Setup wizard.
Prerequisites
Windows XP Service Pack 2 or
later
IBM Data Server Provider for
.NET client applications and CLR
server-side procedures require
.NET 2.0 framework runtime.
64-bit IBM data server provider for
.NET applications are supported.
All Windows Vista service packs
are supported.
Hardware
All Intel and AMD processors capable of running the
supported Windows operating systems (32bit and
64bit based systems)
Installation wizard
Although there are several methods to install DB2 Express-C,
the easiest method is to use the GUI-based DB2 Installation
wizard.
After downloading and uncompressing the DB2 Express-C
image, you can launch the wizard as follows:
Execute the setup.exe file located in the EXP/image/directory
When you arrive at the following panel, you will need to type in a user ID
which will be used to setup and run the instance and other services.
The default user ID name is db2admin, enter password for db2admin
After you click Finish in the installation results window will display as
following.
Note: If you install DB2 Express-C it will automatically created a sample database
Control Center
After that Control Center window will display.
Object
Tree
Pane
Contents
Pane
Object
Detail
Pane
SQL Assist
Exercise
In this exercise, you will install DB2 Express-C and create the
SAMPLE database
Objective
Before you can begin exploring all the features and tools that come
with DB2 Express-C, you must first install it on your system.
In this exercise, you will perform a basic installation of DB2 Express-C
on Windows.