Using the DB2 Setup wizard, you can
define your installation preferences and install the DB2® Information Center on a computer that uses
a Linux operating system.
Before you begin
Review the prerequisite information in the "Installation
requirements for DB2 servers
and IBM data
server clients (Linux)" topic.
About this task
DB2 database product
documentation can be accessed in three ways:
- at the IBM Web
site
- on an intranet server
- on a version installed on your computer
By default, DB2 database
products access DB2 documentation
at the IBM Web
site. If you want to access the DB2 documentation
on an intranet server or on your own computer, you must install the
documentation from the
DB2 Information
Center DVD,
Passport Advantage®, or
DB2 database
product documentation website.
Restrictions
- To install a network version of the DB2 Information Center, you must be logged
on as a user with root user authority. To install a Workstation version of the DB2 Information Center,
you do not require root user authority.
- You cannot install the DB2 Information
Center in a location where a DB2 database
product is installed. Similarly, the DB2 Information Center cannot coexist
in the same installation path of a previous version of the DB2 Information Center on
the same system.
- You can only install one copy of the DB2 Information Center of the same version
on your system. For example, you can install a copy of the DB2 Information Center Version 9.7 and DB2 Information Center Version 10.5 on
the same system, but you cannot install two copies of the DB2 Information Center Version 10.5 on
the same system.
- If you install the DB2 Information
Center on a system with a firewall, and you plan for other
systems to access the DB2 Information
Center, you must open the port in your firewall setting.
Procedure
To install the DB2 Information
Center using the DB2 Setup wizard:
- Log on to the system.
- If you have the DB2 Information
Center product DVD:
- Insert and mount the DVD on your system.
- Change to the directory where the DVD is mounted by entering the
following command:
cd /dvd
where /dvd represents
the mount point of the DVD.
- If you downloaded the image from an online source (such
as Passport Advantage,
or, ibm.com®), untar the
image:
- Decompress the product file: gzip -d product.tar.gz For example,
gzip -d ese.tar.gz
- Untar the product file: tar -xvf product.tar For example,
tar -xvf ese.tar
- Change directory into the product directory: cd product For example,
cd ese
- Enter the ./db2setup command to start
the DB2 Setup wizard.
- The DB2 Setup Launchpad opens. From
the launchpad, you can view installation prerequisites and the release
notes, or you can proceed directly to the installation. You should
review the installation prerequisites and release notes for late-breaking
information.
- Click Install a Product and the Install
a Product window displays.
- On the Install a Product page, if
you do not have an existing DB2 Information
Center installed on your computer, launch the installation
by clicking Install New.
If
you already have an existing DB2 Information
Center installed on your computer, click Work with
Existing to work with the existing DB2 Information Center.
- On the Welcome to the DB2 Setup wizard page,
click Next. The DB2 Setup wizard
will guide you through the program setup process.
- To proceed with the installation, you must accept the license
agreement. On the Software License Agreement page,
select Accept and click Next.
- On the Select installation, response file creation,
or both page, select Install DB2 Information
Center on this computer. If you want to use a response
file to install the DB2 Information
Center on this or other computers at a later time, select Install
DB2 Information Center on this computer and save my settings in a
response file. You can specify where the response file
will be saved. Click Next.
- On the Select the languages to install page,
select the languages the DB2 Information
Center will install. By default, the DB2 Information Center is installed in
the /opt/ibm/db2ic/V10.5 directory.
However, you can specify your own installation path. Click Next.
- Configure the DB2 Information
Center for incoming communication on the Specify
the DB2 Information Center port page. Click Next to
continue the installation.
If
you specify a port number other than the default and you receive the
error "The service name specified is in use", you can
correct this error by either choosing to use the default port number
or by specifying a different service name.
- Review the installation choices you have made in the Start
copying files page. To change any settings, click Back.
Click Finish to complete the installation of
the DB2 Information Center files
onto your computer.
Results
The installation logs, db2setup.log and db2setup.err will
be located, by default, in the /tmp directory.
You can specify the location of the log files.
The db2setup.log file
captures all DB2 installation
information including errors. The db2setup.err file
captures any error output that is returned by Java™ (for example, exceptions and trap information).
There
is no longer a db2setup.his file. Instead, the DB2 installer saves a copy of the db2setup.log file
in the DB2_DIR/install/logs/ directory,
and renames it to db2install.history. If db2install.history already
exists, the copy of the db2setup.log will be
renamed db2install.history.xxxx where xxxx are
digits starting at 0000 and increasing by 1 for the
next log file.
Note: You may need to run the eject command
or unmount the CD drive before you can physically remove the installation
media.