IBM Books

Installation and Configuration Supplement


Step 7. Create Links for DB2 Files (Optional)

You can create links for the DB2 files to the /usr/lib directory, and for the include files to the /usr/include directory for a particular version and release level of the product.

You may want to create these links if you are developing or running applications and want to avoid having to specify the full path to the product libraries and include files.

Log in as a user with root authority and invoke the db2ln command as follows:

   /opt/IBMdb2/V6.1/cfg/db2ln

If there are existing links to the /usr/lib and /usr/include directories from previous versions of DB2, they will automatically be removed by entering the db2ln command to create links for this version of DB2. If you want to re-establish the links to the libraries or previous versions, then you must execute the db2rmln command from Version 5 before you execute the db2ln command from the previous versions of DB2.



Figure hint not displayed.

Links can be established for only one version of DB2 on a given system.


Figure car not displayed.

Now that you have installed DB2 Enterprise Edition, see Using the Command Line Processor to Configure Server Communications for information on how to set up your server to accept in-bound client connections.


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

[ DB2 List of Books | Search the DB2 Books ]