(iseries)

Install the Web Server Plug-ins on IBM i operating systems using the command line

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

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.

Before you install the Web Server Plug-ins, ensure that the user profile has *ALLOBJ and *SECADM special authorities.


Install Installation Manager on the system 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. Sign on to the IBM i system with a user profile that has *ALLOBJ and *SECADM special authorities.

  3. On a CL command line, run the STRQSH command to start the Qshell command shell.

  4. Make sure the umask is set to 022.

    To verify the umask setting, issue the following command:

      umask

    To set the umask setting to 022, issue the following command:

      umask 022

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

  6. Use the imcl command to install the product.
    ./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.

    • For initial installations, it is a good practice to specify the plugins_user_data_root; otherwise, the default value for the plugins_user_data_root, /QIBM/UserData/WebSphere/Plugins/V85/webserver, is used. Use the was.install.os400.profile.location property to specify the plugins_user_data_root. If the plugins_user_data_root is to be /QIBM/UserData/WebSphere/Plugins/V85/webserver, for example, specify -properties was.install.os400.profile.location=/QIBM/UserData/WebSphere/Plugins/V85/webserver on the imcl installation command.

    • 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 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.


What to do next

We can create a plug-ins profile using the manageprofiles command.

The following is an example of using the manageprofiles command to create a default plug-ins profile.

manageprofiles -create
  -templatePath /QIBM/ProdData/WebSphere/Plugins/V85/webserver/profileTemplates/http
  -profileName PluginsSrv01

After creating a profile successfully, the console prints a message that indicates success and advises you to check the AboutThisProfile.txt file. However, a AboutThisProfile.txt file is not generated when creating a plug-ins profile on IBM i.

The following is an example of using the manageprofiles command to make profile PluginsSrv01 the default profile.


Related tasks

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