[8.5.5.5 或更新版本]

利用回應檔來安裝適用於 Liberty 的 IBM WebSphere SDK Java Technology Edition 8.0 版

您可以利用 Installation Manager 回應檔,來安裝適用於 Liberty 的 IBM® WebSphere® SDK Java™ Technology Edition 8.0 版。

開始之前

  1. 請依照安裝 Installation Manager 以及準備安裝 Liberty中所說明來準備您的系統。
  2. 安裝下列供應項目之一:
    • IBM WebSphere Application Server Liberty
    • IBM WebSphere Application Server Liberty 試用版
    • IBM WebSphere Application Server Liberty Core
    • IBM WebSphere Application Server Liberty Core 試用版
    • IBM WebSphere Application Server Liberty - Express®
    • IBM WebSphere Application Server Liberty Network Deployment
    • IBM WebSphere Application Server Liberty Network Deployment 試用版
    • IBM WebSphere Application Server Liberty for Developers
    • IBM WebSphere Application Server Liberty for Developers (ILAN)

關於這項作業

當使用 Installation Manager 時,您可以利用回應檔,以多種方式來安裝適用於 Liberty 的 IBM WebSphere SDK Java Technology Edition 8.0 版。您可以使用如下列程序中所述的 GUI 來錄製回應檔,也可以手動產生新回應檔,或透過採用範例並對其進行修改來產生新回應檔。

您可以下載並安裝 IBM WebSphere SDK Java Technology Edition 8.0 版。此版本以及更新版本只能從網路取得。安裝選項如下:
  • 從「IBM 修正程式中心」網站下載安裝檔,並使用本端安裝。
  • 存取現用儲存庫,並使用您的「IBM 軟體 ID」來進行 Web 型安裝。

程序

  1. 選擇性的: 記錄適用於 Liberty 的 IBM WebSphere SDK Java Technology Edition 8.0 版的安裝回應檔:在您的某個系統中,執行下列動作來記錄回應檔,以用來安裝適用於 Liberty 的 IBM WebSphere SDK Java Technology Edition 8.0 版。
    1. 從指令行中,切換至 Installation Manager 安裝目錄中的 eclipse 子目錄。
    2. 從指令行中使用 -record 選項啟動 Installation Manager。
      例如:
      • 適用於 Windows 平台 管理者或非管理者:
        IBMIM.exe -skipInstall "C:\temp\imRegistry"
          -record C:\temp\install_response_file.xml
      • 適用於 AIX 平台適用於 HP UNIX 平台適用於 LINUX 平台適用於 Solaris 平台管理者:
        ./IBMIM -skipInstall /var/temp/imRegistry 
          -record /var/temp/install_response_file.xml
      • 適用於 AIX 平台適用於 HP UNIX 平台適用於 LINUX 平台適用於 Solaris 平台非管理者:
        ./IBMIM -skipInstall user_home/var/temp/imRegistry 
          -record user_home/var/temp/install_response_file.xml
      提示: 記錄新回應檔時,您可以指定 -skipInstall 參數。使用此參數具有下列好處:
      • 沒有實際安裝任何檔案,記錄的速度會加快。
      • 如果將暫用資料位置與 -skipInstall 參數搭配使用,則 Installation Manager 會在記錄時將安裝登錄寫入指定的資料位置。當再次啟動 Installation Manager,且未設定 -skipInstall 參數時,您可以利用您的回應檔,針對真實的安裝登錄來進行安裝。

        不應在 Installation Manager 所使用的實際代理程式資料位置上,使用 -skipInstall 作業。不支援這個情況。 請使用全新的寫入位置,再將這個位置重複用於進一步的記錄階段作業。

      如需相關資訊,請閱讀「IBM Installation Manager 資訊中心」。

    3. 將適當的儲存庫新增至 Installation Manager 喜好設定。
      1. 按一下檔案 > 喜好設定
      2. 選取儲存庫
      3. 針對每一個儲存庫,請執行下列動作:
        1. 按一下新增儲存庫
        2. 輸入遠端 Web 型儲存庫中 repository.config 檔的路徑,或在其中解壓縮儲存庫檔的本端目錄。
          例如:
          • 遠端儲存庫:
            https://downloads.mycorp.com:8080/WAS_85_repository
            http://www.ibm.com/software/repositorymanager/com.ibm.websphere.liberty.IBMJAVA.v80 
          • 本端儲存庫:
            • 適用於 Windows 平台C:\repositories\jdk8\local-repositories
            • 適用於 AIX 平台適用於 HP UNIX 平台適用於 LINUX 平台適用於 Solaris 平台/var/repositories/jdk8/local-repositories
        3. 按一下確定
      4. 按一下套用
      5. 按一下確定
    4. 按一下安裝
      註: 如果提示您進行鑑別,請使用您在程式網站上登錄的 IBM ID 及密碼。

      Installation Manager 會在它的已定義儲存庫中搜尋可用套件。

    5. 執行適當的動作。
      1. 選取適用於 Liberty 的 IBM WebSphere SDK Java Technology Edition 8.0 版

        如果您的系統已將適用於 Liberty 的 IBM WebSphere SDK Java Technology Edition 8.0 版,安裝在目標位置的 WebSphere Application Server Liberty Core 安裝架構上,會出現一則訊息,指出已安裝適用於 Liberty 的 IBM WebSphere SDK Java Technology Edition 8.0 版。 如果要將 IBM WebSphere SDK Java Technology Edition 8.0 版,安裝在尚未安裝它的 WebSphere Application Server Liberty Core 安裝架構上,請按一下繼續

      2. 選取要安裝的修正程式。

        依預設,會選取任何建議的修正程式。

        如果有建議的修正程式,則可以選取該選項,以僅顯示建議的修正程式,並隱藏未建議的修正程式。

      3. 下一步
        註: 如果您既沒有也未選取下列其中一個供應項目的安裝架構,以供安裝適用於 Liberty 的 IBM WebSphere SDK Java Technology Edition 8.0 版,會出現一則錯誤對話框。
        • IBM WebSphere Application Server Liberty
        • IBM WebSphere Application Server Liberty 試用版
        • IBM WebSphere Application Server Liberty Core
        • IBM WebSphere Application Server Liberty Core 試用版
        • IBM WebSphere Application Server Liberty - Express
        • IBM WebSphere Application Server Liberty Network Deployment
        • IBM WebSphere Application Server Liberty Network Deployment 試用版
        • IBM WebSphere Application Server Liberty for Developers
        • IBM WebSphere Application Server Liberty for Developers (ILAN)
        按一下確定,選取要用來安裝適用於 Liberty 的 IBM WebSphere SDK Java Technology Edition 8.0 版的適當供應項目,然後按下一步
    6. 選取適當的 WebSphere Application Server Liberty Core 安裝架構,以便在其中安裝適用於 Liberty 的 IBM WebSphere SDK Java Technology Edition 8.0 版,然後按下一步
      註: 將安裝的位元架構,32 位元或 64 位元,會符合 Liberty 供應項目安裝期間所選取的位元。 在 Liberty 供應項目的 GUI 安裝中,這項選擇是在「位置」畫面中進行。 在 Liberty 供應項目的指令行和回應檔安裝中,您可以利用 cic.selector.arch 內容來置換預設值。
    7. 下一步
    8. 檢閱摘要資訊,然後按一下安裝
      • 如果安裝成功,則程式會顯示一則訊息,以指示安裝成功。
        註: 程式也可能會顯示重要的後置安裝指示。
      • 如果安裝失敗,請按一下檢視日誌檔以對問題進行疑難排解。
    9. 按一下完成
    10. 按一下檔案 > 結束以關閉 Installation Manager。
    11. 選擇性的: 如果您使用已鑑別的遠端儲存庫,請建立一個認證儲存檔,以便進行無聲自動安裝。
      註: 當使用 Installation Manager 1.6.2 版及更新的版本時,您應該利用 -secureStorageFile-masterPasswordFile 選項,將認證儲存在認證儲存檔中。 在 1.6.2 版之前的 Installation Manager 版本中,-keyring-password 選項是用來存取金鑰環檔案中的認證。 在 1.6.2 版中,這些選項已淘汰。 因檔案結構的差異,並無金鑰環檔案至儲存檔的移轉路徑。如需利用 -secureStorageFile-masterPasswordFile 選項將認證儲存在認證儲存檔的相關資訊,請參閱 Installation Manager 1.6 版資訊中心。 如需利用 -keyring-password 選項將認證儲存在金鑰環檔案的相關資訊,請參閱 Installation Manager 1.5 版資訊中心
  2. 使用回應檔,安裝適用於 Liberty 的 IBM WebSphere SDK Java Technology Edition 8.0 版:
    1. 選擇性的: 使用回應檔來安裝認證儲存檔:前往要安裝適用於 Liberty 的 IBM WebSphere SDK Java Technology Edition 8.0 版之每個系統的指令行,切換至 Installation Manager 安裝目錄中的 eclipse/tools 子目錄,然後安裝認證儲存檔。
      例如:
      • 適用於 Windows 平台 管理者或非管理者:
        imcl.exe
          input C:\temp\credentialstorage_response_file.xml
          -log C:\temp\credentialstorage_log.xml
      • 適用於 AIX 平台適用於 HP UNIX 平台適用於 LINUX 平台適用於 Solaris 平台管理者:
        ./imcl
          input /var/temp/credentialstorage_response_file.xml
          -log /var/temp/credentialstorage_log.xml
      • 適用於 AIX 平台適用於 HP UNIX 平台適用於 LINUX 平台適用於 Solaris 平台非管理者:
        ./imcl
          input user_home/var/temp/credentialstorage_response_file.xml
          -log user_home/var/temp/credentialstorage_log.xml
    2. 使用回應檔來安裝適用於 Liberty 的 IBM WebSphere SDK Java Technology Edition 8.0 版: 前往要安裝適用於 Liberty 的 IBM WebSphere SDK Java Technology Edition 8.0 版之每個系統的指令行,切換至 Installation Manager 安裝目錄中的 eclipse/tools 子目錄,然後安裝適用於 Liberty 的 IBM WebSphere SDK Java Technology Edition 8.0 版。
      例如:
      • 適用於 Windows 平台 管理者或非管理者:
        imcl.exe
                input C:\temp\install_response_file.xml
                -log C:\temp\install_log.xml
          -secureStorageFile C:\IM\credential.store -masterPasswordFile C:\IM\master_password_file.txt
      • 適用於 AIX 平台適用於 HP UNIX 平台適用於 LINUX 平台適用於 Solaris 平台管理者:
        ./imcl
                input /var/temp/install_response_file.xml
                -log /var/temp/install_log.xml
          -secureStorageFile /var/IM/credential.store -masterPasswordFile /var/IM/master_password_file.txt
      • 適用於 AIX 平台適用於 HP UNIX 平台適用於 LINUX 平台適用於 Solaris 平台非管理者:
        ./imcl
          input user_home/var/temp/install_response_file.xml
          -log user_home/var/temp/install_log.xml
          -secureStorageFile user_home/var/IM/credential.store -masterPasswordFile user_home/var/IM/master_password_file.txt
      附註:
      • 在這個產品的安裝映像檔或儲存庫的 lafilesproduct_name/lafiles 子目錄中,授權合約檔提供了相關的條款、注意事項及其他資訊。
      • 程式可能會將重要的後置安裝指示寫在標準輸出中。

      請參閱 IBM Installation Manager 資訊中心

範例

適用於 Windows 平台以下是要用來安裝適用於 Liberty 的 IBM WebSphere SDK Java Technology Edition 8.0 版的回應檔範例。
<?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.liberty.IBMJAVA.v80" /> 
</server>
<install modify='false'>
<offering id='com.ibm.websphere.liberty.IBMJAVA.v80'
  profile='WebSphere Liberty V8.5' installFixes='none'/>
</install>
<profile id='WebSphere Liberty V8.5' installLocation='C:\Program Files\IBM\WebSphere\Liberty'>
</profile>
</agent-input>

指示主題類型的圖示 作業主題

資訊中心條款 | 意見


「時間戳記」圖示 前次更新: 2015 年 6 月 22 日
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-libcore-mp&topic=twlp_ins_installation_jdk8_silent
檔名:twlp_ins_installation_jdk8_silent.html