You can use Installation Manager to install the Web 2.0
and Mobile Toolkit on WebSphere® Application
Server Version 8.5 using response files.
Before you begin
Before you install the Web 2.0 and Mobile Toolkit, ensure
that your user profile has *ALLOBJ and *SECADM special authorities.
- 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.
- Use Installation Manager to connect to a repository containing
up-to-date Installation Manager files and update the installed Installation
Manager.
- 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.
- Download the repositories from the Passport Advantage site.
- 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.
About this task
Using Installation Manager, you can work with response
files to install the Web 2.0 and Mobile Toolkit.
Procedure
- 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.
- 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 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
- Use a response file to install the Web 2.0 and Mobile Toolkit.
Change to the
eclipse/tools subdirectory
in the directory where you installed Installation Manager, and install
the Web 2.0 and Mobile Toolkit using a response file. 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
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.
- /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 Information Center for
more information.
Example
The following is an example of a response file for installing
the Web 2.0 and Mobile Toolkit into the
/QIBM/ProdData/WebSphere/AppServer/Web20Mobile/V11 directory
using a web-based repository located at
http://www.ibm.com/software/repositorymanager/com.ibm.websphere.W2MTK.v11.
<?xml version="1.0" encoding="UTF-8"?>
<agent-input clean='true' temporary='true'>
<server>
<repository location='http://www.ibm.com/software/repositorymanager/com.ibm.websphere.W2MTK.v11'/>
</server>
<profile id='Web 2.0 and Mobile Toolkit V1.1'
installLocation='/QIBM/ProdData/WebSphere/AppServer/Web20Mobile/V11'>
<data key='eclipseLocation' value='/QIBM/ProdData/WebSphere/AppServer/Web20Mobile/V11'/>
<data key='was.install.os400.profile.location' value='/QIBM/UserData/WebSphere/AppServer/Web20Mobile/V11'/>
<data key='user.import.profile' value='false'/>
<data key='cic.selector.nl' value='en'/>
</profile>
<install modify='false'>
<offering profile='Web 2.0 and Mobile Toolkit V1.1' id='com.ibm.websphere.W2MTK.v11'/>
</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='true'/>
</agent-input>
Tips: - Make sure that the repository location points to the web-based
or local repository. For example:
<repository location='https://downloads.mycorp.com:8080/Web20Mobile_v11_repository'/>
- The following line from the example specifies the default value
of the profile location for IBM i:
<data key='was.install.os400.profile.location' value='/QIBM/UserData/WebSphere/AppServer/Web20Mobile/V11'/>
To
override this default location, specify a different location.
- The following line from the example specifies the default value
of the shared resources directory for IBM i:
<preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='/QIBM/UserData/InstallationManager/IMShared'/>
To
override this default location, specify a different location.Note: There
is only one shared resources directory for Installation Manager. If
there has been an installation on the system in the past, it will
use that shared resources directory and not the one specified in the
response file.
- To disable remote searches for updates in the response file, set
the following preferences to false:
For example:
<preference name='offering.service.repositories.areUsed' value='false'/>
. . .
<preference name='com.ibm.cic.common.core.preferences.searchForUpdates' value='false'/>
You can find more details on silent preference keys in
the IBM Installation Manager Information Center.