[IBM i]

Installing the Web 2.0 and Mobile Toolkit on IBM i operating systems using the command line

You can use Installation Manager to install the Web 2.0 and Mobile Toolkit on WebSphere® Application Server Version 8.5 using the Installation Manager command line.

Before you begin

Important: Before installing the Web 2.0 and Mobile Toolkit, you must read the license agreement that you can find with the Web 2.0 and Mobile Toolkit files. Signify your acceptance of the license agreement by specifying -acceptLicense in the command as described below.
  1. Use Installation Manager to connect to a repository containing up-to-date product files and update the installed WebSphere Application Server Version 8.5 product.
  2. Use Installation Manager to connect to a repository containing up-to-date Installation Manager files and update the installed Installation Manager.
  3. Obtain access to the necessary Web 2.0 and Mobile Toolkit files.
    There are three basic options for installing the Web 2.0 and Mobile Toolkit.
    • Access the physical media, and use local installation

      You can access the repositories on the product media. Use Installation Manager to install the Web 2.0 and Mobile Toolkit 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 repositories from the Passport Advantage site.
      1. Download the repositories from the Passport Advantage site.
        Tip: See How to download WebSphere Application Server V8.5 from Passport Advantage Online for a list of the IBM WebSphere Application Server Version 8.5 installation images downloadable from the IBM Passport Advantage Online website and other information.
      2. Use Installation Manager to install the Web 2.0 and Mobile Toolkit from the downloaded repositories.
    • Access the live repositories, and use web-based installation
      If you have a Passport Advantage ID and password, you can use Installation Manager to install the Web 2.0 and Mobile Toolkit from the web-based repositories. Use Installation Manager to install the Web 2.0 and Mobile Toolkit from the web-based repository located at
      http://www.ibm.com/software/repositorymanager/com.ibm.websphere.W2MTK.v11
      Note: This location does not contain a web page that you can access using a web browser. This is a remote web-based repository location that you must add to your Installation Manager preferences before the Installation Manager GUI 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.

Procedure

  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 Information Center.

    Note:

    Starting in Installation Manager Version 1.6.2, the -keyring and -password options that were used to access credentials in a key ring 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 before version 1.7. Update Installation Manager to version 1.7 or higher and then re-create and replace any secure storage files that you created with earlier versions.

    There is no migration path from key ring files to storage files because of the differences in the file structures. You must create a storage file to replace a key ring file. For more information about using the -secureStorageFile and -masterPasswordFile options to store credentials in a credential storage file, see the Installation Manager Version 1.6 documentation.

  2. Choose three separate locations for the Web 2.0 and Mobile Toolkit binaries, runtime data (agent data), and shared data locations.
  3. Sign on to the IBM® i system with a user profile that has *ALLOBJ and *SECADM special authorities.
  4. On a CL command line, run the STRQSH command to start the Qshell command shell.
  5. Make sure that 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
  6. Change to the eclipse/tools subdirectory in the directory where you installed Installation Manager.
  7. Use the imcl command to install the Web 2.0 and Mobile Toolkit.
    ./imcl install package_id_version,feature_id
      -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
    Notes:
    • 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 Web 2.0 and Mobile Toolkit, see the IBM Installation Manager Information Center.

Example

Here is an example of using the imcl command to install the Web 2.0 and Mobile Toolkit:
./imcl install com.ibm.websphere.W2MTK.v11
  -repositories https://downloads.mycorp.com:8080/WEB2MOBILE_repository
  -installationDirectory /QIBM/ProdData/WebSphere/AppServer/Web20Mobile/V11
  -properties was.install.os400.profile.location=/QIBM/UserData/Websphere/Appserver/Web20Mobile/V11
  -sharedResourcesDirectory /QIBM/UserData/InstallationManager/IMShared
  -keyring $HOME/WASFiles/temp/im.keyring
  -acceptLicense
Task topic    

Terms and conditions for product documentation | Feedback

Last updated: January 29, 2018 10:59 AM GMT-06:00
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v850webmob&product=was-nd-mp&topic=tweb_ins_installation_is_cl
File name: tweb_ins_installation_is_cl.html