xhost +si:localuser:oracle,install oracle 11g on linux (centos6) 遇到的问题

最近想往BI方面发展。拿Oracle来学习

在linux(centos)上安装Oracle 11g 的时候,遇到一个很棘手的问题。

运行 ./runInstaller的时候

[oracle@corleone database]$ ./runInstaller

Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 42451 MB    Passed

Checking swap space: must be greater than 150 MB.   Actual 4031 MB    Passed

Checking monitor: must be configured to display at least 256 colors

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

Some requirement checks failed. You must fulfill these requirements before

continuing with the installation,

Continue? (y/n) [n] n

网上查了很多,怎么尝试都不行。莫名其妙的。

经过一番努力,现把解决方案贴出,希望遇到同样问题的人不要在这个问题上浪费时间。

前提:

1、需要一个x-window 。

2、需要在本机上进行如下操作。我用secureCRT 测试,不成功。

步骤如下:

1、新建一个oracle的帐号

2、在xwindow里用root帐号登录 (关键,直接进入console就不行。)

3、在xwindow里打开Terminal ,即控制台

4、键入如下代码:xhost +SI:localuser:oracle

5、su oracle

6、进入runInstaller 脚本的目录

7、./runInstaller

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值