Linux下安装oracle数据库提示DISPLAY not set. Please set the DISPLAY and try again.解决方法

【问题描述】:

Linux下安装oracle数据库提示DISPLAY not set. Please set the DISPLAY and try again。

如下图所示:

Linux下安装oracle数据库提示DISPLAY not set. Please set the DISPLAY and try again.解决方法_第1张图片

【解决办法】:

切换到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

 

 

如下图所示:

Linux下安装oracle数据库提示DISPLAY not set. Please set the DISPLAY and try again.解决方法_第2张图片

你可能感兴趣的:(Linux,数据库(Oracle,MySql))