搭建weblogic12c时报错
[weblogic@localhost Oracle_cs_12.2.1.4]$ java -jar fmw_12.2.1.4.0_wls.jar
Launcher log file is /tmp/OraInstall2022-06-16_01-37-55PM/launcher2022-06-16_01-37-55PM.log.
Extracting the installer . . . . . . Done
Checking if CPU speed is above 300 MHz. Actual 2096.060 MHz Passed
Checking monitor: must be configured to display at least 256 colors. DISPLAY environment variable not set. Failed <<<<
Checking swap space: must be greater than 512 MB. Actual 2047 MB Passed
Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required)
Checking temp space: must be greater than 300 MB. Actual 1504 MB Passed
解决办法:
安装vncserver命令
yum -y install tigervnc-server
[weblogic@localhost Oracle_cs_12.2.1.4]$ vncserver
New ‘localhost.localdomain:1 (weblogic)’ desktop is localhost.localdomain:1
Starting applications specified in /home/weblogic/.vnc/xstartup
Log file is /home/weblogic/.vnc/localhost.localdomain:1.log
[weblogic@localhost Oracle_cs_12.2.1.4]$ export DISPLAY=localhost.localdomain:1
问题解决