linux - 无法在 Linux 7 中安装 Oracle 数据库

标签 linux oracle oracle12c database-installation

我正在尝试将 Oracle 数据库安装到 Linux 机器上。我在下面遇到错误

Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<

我在下面运行命令,但它仍然返回错误。 我该怎么办?

      [oracle@localhost ~]$ hostname
      localhost.localdomain
      [oracle@localhost ~]$ DISPLAY=localhost.localdomain:0.0; export DISPLAY 
      [oracle@localhost ~]$ xclock
      Error: Can't open display: localhost.localdomain:0.0

Linux 版本

        [root@localhost oracle]# uname -a
        Linux localhost.localdomain 3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19 
         11:24:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux

Oracle 数据库版本 12.2.01

最佳答案

这应该可以解决问题:

# as root. Grant access to everyone to the X Server
#xhost + 
# as oracle
$export DISPLAY=:0.0
$xclock
$./runInstaller

关于linux - 无法在 Linux 7 中安装 Oracle 数据库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46981564/

相关文章:

linux - Bash readline 在 while 循环中不起作用

sql - 表列的顺序约束

java - 是否有从 oracle 结果集中检索二进制 XML 的函数

sql - 将列转换为 json 数组的最佳方法 (Oracle)

java - 从 Java 应用程序到 Oracle 的 jdbc 连接的自动提交模式

database - 在 Oracle 中导出一天数据而不持有锁

linux - 构建根问题

c - SCTP协会

linux - Bash - 按列加入(合并)文件

sql - 简单的查询需要很长时间