To define your installation preferences and to install a DB2 Connect™ product on HP-UX, use the DB2® Setup wizard.
The DB2 Installer program is a Java-based installation tool that automates the installation and configuration of any DB2 product. If you prefer not to use this utility, you have two alternatives. You can install a DB2 Connect product:
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.
cd /db2dvdwhere /db2dvd represents mount point of the DVD.
gzip -d product.tar.gzwhere product is the name of the database product that you downloaded.
tar xvf product.tar
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
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 database product installation path.
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 product to have access to DB2 documentation either on your local computer or on another computer on your network, then 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) .
Related concepts
Installation, migration, and fix pack enhancements
DB2 Information Center installation options
DB2 installation methods
Non-root installation overview (Linux and UNIX)
Related tasks
Installing a DB2 product using the db2_install or doce_install command (Linux and UNIX)
Applying fix packs
Listing DB2 products installed on your system (Linux and UNIX)
Installing a DB2 product as a non-root user