在現有 GW 上從 Oracle JDK 變更為 OpenJDK 的 PowerFlex 程序
Summary: 下列程序將說明在現有 GW 上,從 Oracle JDK 變更至 OpenJDK 版本的 Java。 此程序適用於 PowerFlex 3.5.1 版。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
1) 尋找已安裝 Java 的版本:
java -version
2) 停止 ScaleIO 閘道服務:
service scaleio-gateway stop
3)如果Yum包管理器可供使用,則可以使用它來安裝OpenJDK。如果沒有,請參閱步驟 3a-c。
3a) 從此過程下載附加檔並將其上載到目標伺服器。有兩個檔:java-1.8.0-openjdk-headless-1.8.0.252.b09-2.el7_8.x86_64.rpm和JavaPackages.tar.gz
3b) 將檔案JavaPackages.tar.gz解壓縮至 GW:
tar -zxf /tmp/JavaPackages.tar.gz
3c) 安裝 JDK 依賴項:
rpm -Uvh /tmp/JavaPackages/*.rpm
4) 移除 Oracle Java:
rpm -e <java version from the output of step 1>
5) 安裝 OpenJDK:
rpm -ivh /tmp/java-1.8.0-openjdk-headless-1.8.0.252.b09-2.el7_8.x86_64.rpm
6) 啟動 ScaleIO 閘道服務:
service scaleio-gateway start
Article Properties
Article Number: 000228846
Article Type: How To
Last Modified: 30 Jan 2025
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.