【问题描述】:
Linux下安装oracle数据库提示DISPLAY not set. Please set the DISPLAY and try again。
如下图所示:
【解决办法】:
切换到root用户,执行以下命令:
[root@localhost ~]# export DISPLAY=:0.0
[root@localhost ~]# xhost +
access control disabled, clients can connect from any host
[root@localhost ~]#
执行以上命令后,再次切换到oracle用户执行安装即可。
[root@localhost database]# ./runInstaller
如下图所示: