简体   繁体   English

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

[英]Can not install Oracle database in Linux 7

I am trying to install Oracle database to Linux machine.I am getting error down below 我正在尝试将Oracle数据库安装到Linux计算机。下面出现错误信息

Could not execute auto check for display colors using command /usr/bin/xdpyinfo. 无法使用命令/ usr / bin / xdpyinfo对显示颜色执行自动检查。 Check if the DISPLAY variable is set. 检查是否设置了DISPLAY变量。 Failed <<<< 失败<<<<

I run commands down below but it still returns error. 我在下面运行命令,但仍返回错误。 What should I do? 我该怎么办?

      [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 Version 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 Db Version 12.2.01 Oracle Db版本12.2.01

This should do the trick: 这应该可以解决问题:

# as root. Grant access to everyone to the X Server
#xhost + 
# as oracle
$export DISPLAY=:0.0
$xclock
$./runInstaller
  1. You need to install Linux with gui 您需要使用gui安装Linux
  2. Then check 然后检查

echo $DISPLAY 回声$ DISPLAY

This command must output like :0 该命令的输出必须像:0一样

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM