Installing a Db2 Connect server product (Linux)
To define your installation preferences and to install a Db2 Connect product on Linux®, use the Db2 Setup wizard.
Before you begin
Before you begin your installation:
- You can install Db2 Connect using either root or non-root user authority.
- Ensure that your system meets:
- Disk and memory requirements
- Hardware, distribution and software requirements. Refer to Additional installation considerations for Db2 Connect server products (Linux).
- The Db2® database product DVD must be mounted on your system.
- The Db2 Connect product image must be available. If you are installing a non-English version of a Db2 Connect product, you must also have the appropriate National Language Packages.
- To locate Db2 database products already installed on your system, use the db2ls command.
- The Db2 Setup wizard is a graphical installer.
You must have X windows software capable of rendering a graphical
user interface for the Db2 Setup wizard to run
on your machine. Ensure that the X windows server is running. Ensure
that you have properly exported your display. For example,
export DISPLAY=9.26.163.144:0
. - If security software such as Lightweight Directory Access Protocol
(LDAP) is used in your environment, you must manually create required Db2 users before you start the Db2
Setup wizard. Refer to the
Centralized user-management considerations
topic before you begin.Note: Network Information Services (NIS) and Network Information Services Plus (NIS+) features are deprecated starting with Db2 Version 9.1 Fix Pack 2. Support for these features might be removed in a future release. Lightweight Directory Access Protocol (LDAP) is the recommended solution for centralized user-management services.
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 utility, you have two alternatives.
You can install a Db2 Connect product:
- Using the response file method
- Manually using the db2setup command. You cannot manually install a Db2 database product using the operating system's native installation utility rpm. Any existing scripts containing this native installation utility that you use to interface and query with Db2 installations will need to change.
Procedure
To install a Db2 Connect server product, such as Db2 Connect Enterprise Edition, on Linux using the Db2 Setup wizard:
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.