Installation Manager を使用して、応答ファイルによる Web 2.0
and Mobile Toolkit のインストールを行うことができます。
始める前に
Web 2.0 and Mobile Toolkit をインストールする前に、ユーザー・プロファイルが *ALLOBJ および *SECADM 特殊権限を持っていることを確認します。
- Installation Manager を使用して、最新の製品ファイルを含むリポジトリーに接続して、製品を更新します。
- Installation Manager を使用して、最新の Installation Manager ファイルを含むリポジトリーに接続して、Installation Manager を更新します。
- 必要な Web 2.0 and Mobile Toolkit ファイルに対するアクセス権限を取得します。
Web 2.0 and Mobile Toolkit のインストールには、3 つの基本オプションがあります。
このタスクについて
Installation Manager を使用して、Web 2.0 and Mobile Toolkit をインストールする応答ファイルを処理することができます。
手順
- オプション: リポジトリーがユーザー名およびパスワードを要求する場合は、このリポジトリーにアクセスする鍵リング・ファイルを作成します。
Installation Manager の鍵リング・ファイルの作成について詳しくは、IBM Installation Manager インフォメーション・センターを参照してください。
- *ALLOBJ および *SECADM 特殊権限のあるユーザー・プロファイルを使用して、IBM® i システムにサインオンします。
- CL コマンド行で STRQSH コマンドを
実行して、Qshell コマンド・シェルを開始します。
- umask が 022 に設定されていることを確認します。
umask 設定を確認するには、以下のコマンドを実行します。
umask
umask 設定を 022 に設定するには、以下のコマンドを実行します。
umask 022
- 応答ファイルを使用して Web 2.0 and Mobile Toolkit をインストールします。
Installation Manager をインストールしたディレクトリーの
eclipse/tools サブディレクトリーに移動して、
応答ファイルを使用した Web 2.0 and Mobile Toolkit のインストールを行います。
以下に例を示します。
./imcl -acceptLicense
input $HOME/WASFiles/temp/install_response_file.xml
-log $HOME/WASFiles/temp/install_log.xml
-keyring $HOME/WASFiles/temp/im.keyring
注: - 関連する使用許諾条件、注意事項、およびお知らせは、本製品のインストール・イメージまたはリポジトリーの
lafiles サブディレクトリーまたは product_name/lafiles サブディレクトリーにあるご使用条件のファイルに提供されています。
- /QIBM/ProdData/InstallationManager は、IBM i システムにおける Installation Manager のデフォルトのインストール・ロケーションです。
- 重要なインストール後の指示が標準出力に書き込まれることがあります。
詳しくは、IBM Installation Manager インフォメーション・センターを参照してください。
例
以下は、
http://www.ibm.com/software/repositorymanager/com.ibm.websphere.W2MTK.v11 にある Web ベースのリポジトリーを
使用して
/QIBM/ProdData/WebSphere/AppServer/Web20Mobile/V11 ディレクトリー内に Web 2.0 and Mobile Toolkit をインストールする
応答ファイルの例です。
<?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>
ヒント: - リポジトリーのロケーションが Web ベース・リポジトリーまたはローカル・リポジトリーを指していることを確認してください。
以下に例を示します。
<repository location='https://downloads.mycorp.com:8080/Web20Mobile_v11_repository'/>
- この例の以下に示す行は、IBM i のプロファイル・ロケーションのデフォルト値を指定しています。
<data key='was.install.os400.profile.location' value='/QIBM/UserData/WebSphere/AppServer/Web20Mobile/V11'/>
このデフォルトのロケーションをオーバーライドするには、別のロケーションを指定します。
- この例の以下に示す行は、IBM i の共有リソース・ディレクトリーのデフォルト値を指定しています。
<preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='/QIBM/UserData/InstallationManager/IMShared'/>
このデフォルトのロケーションをオーバーライドするには、別のロケーションを指定します。
注: Installation Manager の共有リソース・ディレクトリーは 1 つのみです。
過去にシステムへのインストールが行われていたは、その共有リソース・ディレクトリーが使用され、応答ファイルに指定されたものは使用されません。
- 応答ファイルで更新のリモート検索を使用不可にするには、次の設定を false に設定します。
以下に例を示します。
<preference name='offering.service.repositories.areUsed' value='false'/>
. . .
<preference name='com.ibm.cic.common.core.preferences.searchForUpdates' value='false'/>
サイレント設定鍵について詳しくは、
IBM Installation Manager インフォメーション・センターを参照してください。