当我尝试在 RHEL 7 上安装 Oracle 12c Release 2 时出现以下错误

当我尝试在 RHEL 7 上安装 Oracle 12c Release 2 时出现以下错误

当我尝试在 RHEL 7 上安装 Oracle 12c Release 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

答案1

从错误消息看来您需要设置 DISPLAY 变量

DISPLAY=*hostname*:0.0 ; export DISPLAY

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

相关内容