DB2 Version 9.7 for Linux, UNIX, and Windows
Installing DB2 Servers > Installing on Linux and UNIX > Installing as a non-root user >

Installing a DB2 product as a non-root user

Most DB2® products can be installed as a non-root user.

Before you install any DB2 product as a non-root user, be aware of the differences between root installations and non-root installations, and the limitations of non-root installations. Refer to the Related Links at the end of this topic for details.

Prerequisites for installing a DB2 product as a non-root user are:

Installing DB2 products as a non-root user is transparent to the non-root user. In other words, there is nothing special a non-root user needs to do to install a DB2 product, other than being logged in as a non-root user. To perform a non-root installation:

  1. Log in as a non-root user
  2. Install your DB2 product using any of the methods available to you. Options include: Refer to the Related Links at the end of this topic for details.
  3. After the DB2 product is installed, you must open a new login session to use the non-root DB2 instance. Alternatively, you can use the same login session if you source the DB2 instance environment with $HOME/sqllib/db2profile (for Bourne shell and Korn shell users) or $HOME/sqllib/db2chsrc (for C shell users), where $HOME is the non-root user's home directory.

After the DB2 product is installed, verify your operating system user process resource limits (ulimits). If the minimum ulimit values are not met, the DB2 engine can encounter unexpected operating resource shortage errors. These errors can lead to a DB2 outage.

[ Top of Page | Previous Page | Next Page | Contents ]