You can install and configure Db2 Text Search as a part of custom
silent installation of your Db2 database product.
This type of installations uses the setup or db2setup command
with a response file.
About this task
Perform a custom installation of your Db2 database product to
install Db2 Text Search. You
must add a number of keywords to your response file to have Db2 Text Search installed and
configured.
Procedure
To perform a custom installation:
-
Add the following line to the response file that you are using to install your Db2 database
product:
- To configure Db2 Text Search during
the installation, add the following lines to the response file:
- For root installations
only:
db2inst_name.TEXT_SEARCH_HTTP_SERVICE_NAME = db2j_db2inst_name
where
db2inst_name is the name of the Db2 instance and
db2j_db2inst_name is the service name.
- For root installations and non-root installations:
db2inst_name.TEXT_SEARCH_HTTP_PORT_NUMBER = port-number
If
you provide a value for the TEXT_SEARCH_HTTP_SERVICE_NAME keyword
for a non-root installation, an error will be returned.
You can specify any valid service name and port number that
are not in use. If you do not provide any values, default values are
used for configuration if the response file keyword db2inst_name.CONFIGURE_TEXT_SEARCH is
set to YES.
-
Install the Db2 database product
using the instructions for your platform:
What to do next
You
do not have to configure Db2 Text Search immediately
after installing it; you can configure it later. For instructions
on how to perform the configuration later, see Configuring Db2 Text Search.