V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
huage
V2EX  ›  Oracle

阿里云上安装 oracle 遇到 Check if the DISPLAY variable is set 怎么解决?

  •  
  •   huage · 2017-06-12 18:00:58 +08:00 · 2972 次点击
    这是一个创建于 2481 天前的主题,其中的信息可能已经有所发展或是发生改变。

    系统使用的是阿里云的 centos 6.8,自己用 Oracle 官方的 rmp 提前把依赖包都安装好了。

    但是到了 runInstaller 这一步就是调用不出图形界面,出现错误:

    Checking monitor: must be configured to display at least 256 colors >>> Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<

    我本地使用的是 xshell 连到 ECS 上,xshell 上也做了 xmanager 的转发,ECS 上也安装了 xorg-x11-server-utils-7.7-14.el6.x86_64 这个包。

    我本地用 virtualbox 也安装了 centos68 这个系统,通过上面这种方法是可以调出图形界面的,而且能够正常安装。

    我试过直接用 oracle 进行登录,然后再执行也不行。

    请问有大神知道是什么原因吗?

    我的步骤是:

    root:xhost +

    root:export DISPLAY=192.168.1.172:10.0

    root:su - oracle

    oracle:export DISPLAY=192.168.1.172:10.0

    oracle:cd /u01/database/

    oracle:./runInstaller

    前两个都检查通过,但是后面这个就检查不通过。

    2 条回复    2018-11-23 11:24:10 +08:00
    istek999
        1
    istek999  
       2018-11-13 10:51:56 +08:00
    了解一下静默安装 oracle 以及建库,建监听。
    huage
        2
    huage  
    OP
       2018-11-23 11:24:10 +08:00
    @istek999 是的,熟练之后就是静默安装
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1037 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 22:32 · PVG 06:32 · LAX 15:32 · JFK 18:32
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.