(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.
- To use the Installation Manager that comes with this product, perform the following actions:
- Obtain the necessary files.
There are three basic options for obtaining and installing Installation Manager and the product.
- Access the physical media, and use local installation
We can access the product repositories on the product media.
- Install Installation Manager on the system.
We can install Installation Manager using the product media, using a file obtained from the Passport Advantage site, or using a file containing the most current version of Installation Manager from the IBM Installation Manager download website.
- Use Installation Manager to install the product from the product repositories on the media.
- Download the files from the Passport Advantage site, and use local installation
Licensed customers with a Passport Advantage ID and password can download the necessary product repositories from the Passport Advantage site.
- Download the files from the Passport Advantage site.
- Install Installation Manager on the system.
We can install Installation Manager using the product media, using a file obtained from the Passport Advantage site, or using a file containing the most current version of Installation Manager from the IBM Installation Manager download website.
- Use Installation Manager to install the product from the downloaded repositories.
- Access the live repositories, and use web-based installation
If we have a Passport Advantage ID and password, we can install the product from the web-based repositories.
- Install Installation Manager on the system.
We can install Installation Manager using the product media, using a file obtained from the Passport Advantage site, or using a file containing the most current version of Installation Manager from the IBM Installation Manager download website.
- Use Installation Manager to install the product from the web-based repository located at
http://www.ibm.com/software/repositorymanager/com.ibm.websphere.PLG.v85
This location does not contain a web page that we can access using a web browser. This is a remote web-based repository location that specify for the value of the -repositories parameter so that the imcl command can access the files in this repository to install the product.
Whenever possible, you should use the remote web-based repositories so that you are accessing the most up-to-date installation files.
If we do not have a Passport Advantage ID and password, install the product from the product repositories on the media or local repositories.
- Install Installation Manager.
- Sign on to the IBM i system with a user profile that has *ALLOBJ and *SECADM special authorities.
- On a CL command line, run the STRQSH command to start the Qshell command shell.
- 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
- Change to the temporary directory where you unpacked the Installation Manager files.
- Run the following command in the temporary folder:
installc -acceptLicense -log log_file_path_and_name
- For more information on installing Installation Manager, see the IBM Installation Manager Version 1.6 Information Center or the IBM Installation Manager Version 1.5 Information Center.
- When installing the product on IBM i operating systems, use only the installc command to install Installation Manager.
- If we are using local repositories to install and maintain the product, unpack the compressed file containing the repository to a directory on the system.
- If we already have a version of Installation Manager installed on the system and to use it to install and maintain the product, obtain the necessary product files.
There are three basic options for installing the product.
- Access the physical media, and use local installation
We can access the product repositories on the product media. Use Installation Manager to install the product from the product repositories on the media.
- Download the files from the Passport Advantage site, and use local installation
Licensed customers with a Passport Advantage ID and password can download the necessary product repositories from the Passport Advantage site.
- Download the product repositories from the Passport Advantage site.
- Use Installation Manager to install the product from the downloaded repositories.
- Access the live repositories, and use web-based installation
If we have a Passport Advantage ID and password, we can use Installation Manager to install the product from the web-based repositories. Use Installation Manager to install the product from the web-based repository located at
http://www.ibm.com/software/repositorymanager/com.ibm.websphere.PLG.v85
This location does not contain a web page that we can access using a web browser. This is a remote web-based repository location that specify for the value of the -repositories parameter so that the imcl command can access the files in this repository to install the product.
Whenever possible, you should use the remote web-based repositories so that you are accessing the most up-to-date installation files.
If we do not have a Passport Advantage ID and password, install the product from the product repositories on the media or local repositories.
- 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.
- Sign on to the IBM i system with a user profile that has *ALLOBJ and *SECADM special authorities.
- On a CL command line, run the STRQSH command to start the Qshell command shell.
- 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
- Change to the eclipse/tools subdirectory in the directory where you installed Installation Manager.
- 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 -acceptLicenseTips:
- 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 we 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 PluginsSrv01After 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.
manageprofiles -setDefaultName -profileName PluginsSrv01
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