To define installation preferences and to
install DB2 Connect™ Personal Edition,
use the DB2 Setup wizard. Installing IBM® Data Server Driver Package (DS
Driver) and then applying the DB2
Connect Personal Edition license is the preferred alternative
to the process listed below. Refer to IBM data
server client types for details.
About this task
The
DB2
Setup wizard is a Java-based installation tool that automates
the installation and configuration of any DB2 database products. If you prefer not to use
this wizard, you have two alternatives. You can install a
DB2 Connect Personal Edition product:
- Using the response file method.
- Manually using the db2_install command. You cannot manually
install a DB2 database product
using the operating system's native installation utility pkgadd.
Any existing scripts containing this native installation utility that
you use to interface and query with DB2 installations
will need to change.
Before you begin
Before
beginning your installation:
Procedure
To install DB2 Connect Personal Edition on
Solaris x64 using the DB2 Setup wizard:
- Change to the directory where the DVD is mounted:
cd /db2dvd
where db2dvd represents
the mount point of the DVD.
- If you downloaded the DB2 Connect product
image, you must decompress and untar the product file.
- Decompress the product file:
gzip -d product.tar.gz
where product is
the name of the DB2 Connect product
that you downloaded.
- Untar the product file:
tar xvf product.tar
- Change directory:
cd ./product/disk1
Note: If you downloaded a National Language Package, untar it
into the same directory. This will create the subdirectories (for
example ./nlpack/disk2) in the same directory,
and allows the installer to automatically find the installation images
without prompting
- Enter the ./db2setup command from the
directory where the product image resides to start the DB2
Setup wizard. For multiple CD installations,
issue the db2setup command outside the mounted
CD location with either a relative or absolute path name to ensure
the DB2 Connect product
CD can be unmounted as required. After a few moments,
the IBM DB2 Setup Launchpad opens. From this
window, you can view the installation prerequisites and the release
notes or you can proceed directly to the installation.
- Once you have initiated the installation, proceed through
the DB2 Setup wizard installation panels and
make your selections. Installation help is available to
guide you through the DB2 Setup wizard. Click Help to
invoke the online help. You can click Cancel at
any time to end the installation. DB2 files
will only be copied to you system once you have clicked Finish on
the last DB2 Setup wizard installation panel.
Once completed, DB2 Connect Personal Edition is
installed using the /opt/IBM/db2/V9.7 default
installation path.
If you are installing on a system where this
directory is already being used, the DB2 Connect product
installation path will have _xx added
to it, where xx are digits, starting at 01 and
increasing depending on how many DB2 copies
you have installed.
You can also specify your own DB2 Connect product
installation path.
Results
National
Language Packs can also be installed by running the ./db2setup command
from the directory where the National Language Pack resides, after
a DB2 Connect product
has been installed.
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.
If you want your DB2 database product to have access
to DB2 documentation either
on your local computer or on another computer on your network, then
you must install the DB2 Information
Center. The DB2 Information
Center contains documentation for the DB2 database and DB2 related
products. See Installing
the DB2 Information Center using
the DB2 Setup wizard (UNIX).