当我尝试在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 

从错误消息看来你需要设置DISPLAYvariables

 DISPLAY=*hostname*:0.0 ; export DISPLAY 

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