Installing the components using the command line

WebSphere Partner Gateway also provides a way to install the components using a command line. This feature requires an options file that provides values for all of the installation options. You can modify the provided sample ISS files to create a custom options file.

The sample files for the Database Loader are in either the Database Loader directory on the CD or in the unarchived install image, while the WebSphere Partner Gateway sample files are in either the hub directory on the CD or in the unarchived install image.

Each option in the file appears on a separate line and is preceded by comments that describe the setting and present an example of the option. In the sample files, the option values are the default values presented in the GUI. Some settings, such as passwords and hostnames, require information about the local configuration.

To install the Database Loader or WebSphere Partner Gateway using the command line:

  1. Log in as root administrator.
  2. Open a command line on the machine on which you want to install the code.
  3. Navigate to the location of the installation executable. For example, enter
    cd DBLoader

    or

    cd hub
  4. Enter the command below that is specific to your operating system:

    For Linux, enter:

    ./setupLinux -options <options file name>

    For AIX, enter:

    ./setupAIX -options <options file name>

    For Solaris, enter:

    ./setupSunOS -options <options file name>

    Where <options file name> identifies the file that contains the option values the Installer will use.

    With this command, the installer displays all of the windows that appear in a normal GUI installation, and all of the fields in the windows contain the values listed in the options file.

Copyright IBM Corp. 2003, 2005