Linux

當我嘗試在 RHEL 7 上安裝 Oracle 12c 第 2 版時出現以下錯誤

  • June 28, 2017

當我嘗試在 RHEL 7 上安裝 Oracle 12c 第 2 版時出現以下錯誤。

[oracle@oracledb database]$ ./runInstaller
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 500 MB.   Actual 10828 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 2559 MB    Passed
Checking monitor: must be configured to display at least 256 colors
   >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set.    Failed <<<<

Some requirement checks failed. You must fulfill these requirements before

continuing with the installation,

Continue? (y/n) [n] y

從錯誤消息看來,您需要設置 DISPLAY 變數

DISPLAY=*hostname*:0.0 ; export DISPLAY

來源:https ://docs.oracle.com/cd/E57185_01/EPMIS/ch05s03s02s03.html

引用自:https://serverfault.com/questions/858072