Installing DB2 Servers > Response file installation > Response file installation of DB2 overview (Linux and UNIX) >
Installing a DB2 product
using a response file (Linux® and UNIX®)
Before you begin the installation, ensure that:
- For root installations, log on with the user ID that has root
privileges. For non-root installations, log on with the user ID that
is to own the DB2® installation.
- Your system meets all of the memory, hardware, and software requirements
to install your DB2 product.
- You can install a DB2 product
using a response file with either root or non-root authority.
For more information about non-root installation,
see the related links.
- All DB2 processes associated
with the copy of DB2 you are
working with are stopped.
To perform a response file installation:
- Enter the db2setup command as follows:
dvd/db2setup -r responsefile_directory/response_file
where:
- dvd represents the location of the DB2 installable image;
- responsefile_directory represents the
directory where the customized response file is located; and
- response_file represents the name of the
response file.
- Check the messages in the log file when the installation
finishes. The installation logs are located, by default,
in the /tmp directory:
- db2setup.log (db2setup_username.log for
non-root installations, where username is the non-root user
ID under which the installation was performed)
- db2setup.err (db2setup_username.err for
non-root installations, where username is the non-root user
ID under which the installation was performed)
You can specify the location of the log file. An installation
history log db2install.history is located in DB2DIR/install/logs
where DB2DIR specifies the path where the DB2 product was installed. The default installation
directory is:
- For AIX®, HP-UX or Solaris /opt/IBM/db2/V9.7
- For Linux/opt/ibm/db2/V9.7
If more than one DB2 product
is installed in the same location, you will see db2install.history.xxxx,
where xxxx are digits, starting at 0001 and increasing depending on
how many DB2 copies you have
installed.
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 you must install the DB2 Information
Center. The DB2 Information
Center contains documentation for the DB2 database
and related products.
[ Top of Page | Previous Page | Next Page | Contents ]