Use the swinstall program to install DB2 for HP-UX. To install, perform the following steps:
mkdir /cdrom /usr/sbin/mount /dev/dsk/c0t2d0 /cdrom
where /cdrom represents the CD-ROM mount directory.
swinstall -x autoselect_dependencies=true
This command opens the Software Selection window and the Specify Source window.
/cdrom/db2/hpux10
/cdrom/db2/hpux11
where /cdrom represents the CD-ROM mount directory.
Notes:
In addition to the software you just marked, other software was automatically marked to resolve dependencies. This message will not appear again.
View the Install window to read processing data while the software is being installed, until the Status field indicates Ready and the Note window opens. The swinstall program loads the fileset, and runs the control scripts for the fileset.
The HP-UX operating system provides detailed help for swinstall. For help, type:
man swinstall
To view DB2 product documents online, HTML versions of these documents are provided for installation. These documents are translated into several languages. However, not every manual in the DB2 product library is translated into multiple languages. The English version of every manual is available in HTML format. When you select a non-English HTML fileset without selecting the English version, the English HTML fileset is also installed.
The DB2V6HTML product includes filesets for all the DB2 product documentation. A separate fileset exists for each language. For example, the fileset name for the DB2 product library in English is DB2V6HTML.en_US. For a complete list of filesets in the DB2V6HTML product, see Contents of the DB2 Products for UNIX platforms.
To install the DB2 Product Library (HTML) filesets, do the following:
swinstall -s /cdrom/db2/hpux10
swinstall -s /cdrom/db2/hpux11
This will display a list of all the filesets in the DB2V6HTML product.
For example, to install the DB2 product Library in English, highlight the following fileset:
en_US DB2 Product Library (HTML) - English
This will install the compressed-tar files for the DB2 documents in the /opt/IBMdb2/V6.1/doc/<lang>/html directory, where <lang> is the language/locale identifier.
/opt/IBMdb2/V6.1/doc/db2insthtml lang
where lang represents the language/locale identified. For example, en_US for English. For valid language/locale identifiers, see the Administration Guide.
Note: | If you are installing a non-English locale, the English locale is installed as well. You should run db2insthtml against the English locale first. |
file:/opt/IBMdb2/V6.1/doc/en_US/html/index.htm
To recover some disk space, you may want to remove the compressed tar files. It is recommended that you do not just remove the compressed tar HTML files; instead, you should remove the fileset for the DB2 Product Library.
After the fileset is removed, only compressed tar files will be removed. You will still be able to view the online DB2 books.
While DB2 Product Message documents are translated into several languages, the English language DB2 Product Messages are always installed. To install the DB2 Product Messages in other locales, you have to install one or more filesets in the DB2V6MSG product.
The DB2V6MSG product includes a separate fileset for every locale in which DB2 Product Messages are available. There is no fileset for the English (en_US.iso88591 or en_US.roman8) locale since these messages are installed with the base product. For example, to install the DB2 Product messages in the fr_FR.iso88591 locale, you need to install the fileset DB2V6MSG.fr_FR. For a complete list of filesets in the DB2V6MSG product, see Contents of the DB2 Products for UNIX platforms.
To install DB2 Product Message filesets, do the following:
swinstall -s /cdrom/db2/hpux10
swinstall -s /cdrom/db2/hpux11
This will display a list of all the filesets in the DB2V6MSG product.
The Control Center is the main DB2 graphical tool for administering your database. From the Control Center, you get a clear overview of all the systems and database objects being managed. You can also access other administration tools from the Control Center by selecting icons on the Control Center toolbar or from the Tools pop-up menu.
The DB2V6WCC product includes a separate fileset for every locale in which the DB2 Control Center is available. For a complete list of filesets in the DB2V6WCC product, see Contents of the DB2 Products for UNIX platforms.
To install DB2 Control Center filesets, do the following:
swinstall -s /cdrom/db2/hpux10
swinstall -s /cdrom/db2/hpux11
This will display a list of all the filesets in the DB2V6WCC product.