(iseries)

Install the Web Server Plug-ins on IBM i operating systems using response files

We can install the Web Server Plug-ins using Installation Manager response files.

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


Install Installation Manager on the system onto which to install the product.

Use Installation Manager, we can work with response files to install the Web Server Plug-ins.

  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. Use a response file to install the Web Server Plug-ins.

    Change to the eclipse/tools subdirectory in the directory where you installed Installation Manager, and install the Web Server Plug-ins. For example:

      ./imcl -acceptLicense input $HOME/WASFiles/temp/install_response_file.xml -log $HOME/WASFiles/temp/install_log.xml -keyring $HOME/WASFiles/temp/im.keyring

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

    • /QIBM/ProdData/InstallationManager is the default installation location for Installation Manager files on IBM i systems.

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

    Read the IBM Installation Manager Version 1.6 Information Center or the IBM Installation Manager Version 1.5 Information Center for more information.


Example

The following is an example of a response file for installing the Web Server Plug-ins.

<?xml version="1.0" encoding="UTF-8"?>
<agent-input>
server
  <repository location='http://www.ibm.com/software/repositorymanager/com.ibm.websphere.PLG.v85'/>
</server>
<profile id='Web Server Plug-ins for IBM WebSphere Application Server V8.5' installLocation='/QIBM/ProdData/WebSphere/Plugins/V85/webserver'>
  <data key='eclipseLocation' value='/QIBM/ProdData/WebSphere/Plugins/V85/webserver'/>
  <data key='was.install.os400.profile.location' value='/QIBM/UserData/WebSphere/Plugins/V85/webserver'/>
  <data key='user.import.profile' value='false'/>
  <data key='cic.selector.nl' value='en'/>
</profile>
<install modify='false'>
  <offering profile='Web Server Plug-ins for IBM WebSphere Application Server V8.5' features='core.feature' id='com.ibm.websphere.PLG.v85'/>
</install>
<preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='/QIBM/UserData/InstallationManager/IMShared'/>
<preference name='com.ibm.cic.common.core.preferences.connectTimeout' value='30'/>
<preference name='com.ibm.cic.common.core.preferences.readTimeout' value='30'/>
<preference name='com.ibm.cic.common.core.preferences.downloadAutoRetryCount' value='0'/>
<preference name='offering.service.repositories.areUsed' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.ssl.nonsecureMode' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.http.disablePreemptiveAuthentication' value='false'/>
<preference name='http.ntlm.auth.kind' value='NTLM'/>
<preference name='http.ntlm.auth.enableIntegrated.win32' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts' value='true'/>
<preference name='com.ibm.cic.common.core.preferences.keepFetchedFiles' value='false'/>
<preference name='PassportAdvantageIsEnabled' value='false'/>
<preference name='com.ibm.cic.common.core.preferences.searchForUpdates' value='false'/>
</agent-input>


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 the command line
  • 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