(dist)

Install the Web Server Plug-ins using the command line

We can install the Web Server Plug-ins using the Installation Manager command line.

Restriction:

Important: Before installing the product, you must read the license agreement that we can find with the product files. Signify the acceptance of the license agreement by specifying -acceptLicense in the command.


Install Installation Manager on each of the systems onto which to install the product.

  1. Optional: If the repository requires a username and password, create a keyring file to access this repository.

    For more information on creating a keyring file for Installation Manager, read the IBM Installation Manager Version 1.6 Information Center or the IBM Installation Manager Version 1.5 Information Center.

    When creating a keyring file, append /repository.config at the end of the repository URL location if the imutilsc command is unable to find the URL specified.

    Start in Installation Manager Version 1.6.2, the -keyring and -password options that have been used to access credentials in a keyring file are deprecated. For Installation Manager Version 1.6.2 and later, use the -secureStorageFile and -masterPasswordFile options to store credentials in a credential storage file.

    In Version 1.7, the format of the secure storage file is revised, and is no longer compatible with versions of Installation Manager prior to version 1.7. Update Installation Manager to version 1.7 or higher and then recreate and replace any secure storage files created with earlier versions.

    There is no migration path from keyring files to storage files because of the differences in the file structures. Create a storage file to replace a keyring file. For more information on using the -secureStorageFile and -masterPasswordFile options to store credentials in a credential storage file, see the Installation Manager Version 1.6 Information Center.

  2. Log on to the system.

  3. Change to the eclipse/tools subdirectory in the directory where you installed Installation Manager.

  4. Verify that the product repository is available.

      imcl.exe listAvailablePackages -repositories path_to_repository

      ./imcl listAvailablePackages -repositories path_to_repository

    You should see one or more levels of the offering.

  5. Use the imcl command to install the offering.

    imcl.exe install com.ibm.websphere.PLG.v85_offering_version
      -repositories source_repository    -installationDirectory installation_directory
      -sharedResourcesDirectory shared_directory
      -accessRights access_mode
      -preferences preference_key=value
      -properties property_key=value
      -keyring keyring_file -password password   -acceptLicense

    ./imcl install com.ibm.websphere.PLG.v85_offering_version
      -repositories source_repository    -installationDirectory installation_directory
      -sharedResourcesDirectory shared_directory
      -accessRights access_mode
      -preferences preference_key=value
      -properties property_key=value
      -keyring keyring_file -password password   -acceptLicense

    Tips:

    • The offering_version, which optionally can be attached to the offering ID with an underscore, is a specific version of the offering to install (8.5.0.20110503_0200 for example).

      • If offering_version is not specified, the latest version of the offering and all interim fixes for that version are installed.

      • If offering_version is specified, the specified version of the offering and no interim fixes for that version are installed.

      The offering version can be found attached to the end of the offering ID with an underscore when you run the following command against the repository:

        imcl listAvailablePackages -repositories source_repository

    • We can also specify none, recommended or all with the -installFixes argument to indicate which interim fixes you want installed with the offering.

      • If the offering version is not specified, the -installFixes option defaults to all.

      • If the offering version is specified, the -installFixes option defaults to none.

    • The relevant terms and conditions, notices, and other information are provided in the license-agreement files in the lafiles or product_name/lafiles subdirectory of the installation image or repository for this product.

    • The -accessRights parameter is not required if you previously specified the mode in which to install Installation Manager.

    • The program might write important post-installation instructions to standard output.

    For more information on using the imcl command to install the product, see the IBM Installation Manager Version 1.6 Information Center or the IBM Installation Manager Version 1.5 Information Center.


Related tasks

  • Install and uninstall the Web Server Plug-ins on distributed operating systems
  • Install the Web Server Plug-ins using the GUI
  • Install the Web Server Plug-ins using response files
  • Install fix packs on the Web Server Plug-ins using the GUI
  • Uninstall fix packs from the Web Server Plug-ins using the GUI
  • Uninstall Web Server Plug-ins using the GUI
  • Uninstall the Web Server Plug-ins using response files
  • Uninstall the Web Server Plug-ins using the command line