利用回應檔在 IBM i 作業系統上安裝 Liberty
您可以利用 Installation Manager 回應檔,在 IBM® i 作業系統上安裝所有的 WebSphere® Application Server Liberty 供應項目。
開始之前
![[17.0.0.3 以及更新版本]](../ng_v17003plus.gif)
建議使用的 Java SDK 是 Java SE 8,因為它提供最新的特性與安全更新。除了 Java SE 8,也可以使用任何支援的 Java SDK 版本。
使用本程序之前,請先做好安裝準備。如需相關資訊,請參閱準備作業系統以便安裝在 IBM i 上。
如果您想從本端目錄型儲存庫或「Liberty 資產儲存庫服務」實例,來安裝 Liberty 資產,請配置儲存庫。如需 Liberty 資產儲存庫的相關資訊,請參閱使用 Installation Manager 來安裝資產。
重要: 安裝 Liberty 之前,您必須先閱讀產品檔案隨附的授權合約。請依照這個主題所說明,在指令中指定 -acceptLicense,表示您接受授權合約。
如果尚未安裝 IBM Installation Manager 1.8.5 版或更新版本,請將它安裝在您想安裝產品的系統上:
程序
範例
以下是回應檔範例,它會利用位於 http://www.ibm.com/software/repositorymanager/com.ibm.websphere.liberty.BASE 的 Web 型儲存庫,將不含選用特性的產品安裝到 /QIBM/ProdData/WebSphere/Liberty/Base目錄。
<?xml version="1.0" encoding="UTF-8"?>
<agent-input>
<server>
<repository location='http://www.ibm.com/software/repositorymanager/com.ibm.websphere.liberty.BASE'/>
</server>
<profile id='WebSphere Liberty' installLocation='/QIBM/ProdData/WebSphere/Liberty/Base'>
<data key='was.install.os400.profile.location' value='/QIBM/UserData/WebSphere/Liberty/Base'/>
<data key='user.import.profile' value='false'/>
</profile>
<install modify='false'>
<offering profile='WebSphere Liberty'
features='' id='com.ibm.websphere.liberty.BASE'/>
</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>
提示:
以下是您可以進行的變更範例,以便操作這個回應檔來執行替代的動作。