oracle 图形化安装

1. 在Redhat7.6图形化终端安装

root用户执行xhost +,切换到ORACLE_HOME目录以oracle用户执行./runInstaller

/u01/app/oracle/product/19.3.0/db_1

[root@ora0410 ~]# xhost +
access control disabled, clients can connect from any host
[root@ora0410 ~]# su - oracle
Last login: Sat Apr 10 05:09:03 EDT 2021 on pts/0
[oracle@ora0410 ~]$ cd $ORACLE_HOME
[oracle@ora0410 db_1]$ export DISPLAY=:0
[oracle@ora0410 db_1]$ ./runInstaller 
ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.

在这里插入图片描述

2. 使用mobaxterm图形传输安装

DISPLAY重定向到网关:192.168.126.1:0.0(网关地址)

[root@ora0410 ~]# su - oracle
Last login: Sat Apr 10 11:53:54 EDT 2021 on pts/2
[oracle@ora0410 db_1]$ export DISPLAY=192.168.126.1:0.0
[oracle@ora0410 db_1]$ ./runInstaller

按是

3. 错误处理参考:

ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.

  • 处理方式,执行:export DISPLAY=:0
    在这里插入图片描述
[root@ora0410 ~]# xdpyinfo
name of display:    :0  
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    12001000
X.Org version: 1.20.1
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32

[oracle@ora0410 db_1]$ export DISPLAY=:0
[oracle@ora0410 db_1]$ echo $DISPLAY
:0
[oracle@ora0410 db_1]$ ./runInstaller 
Launching Oracle Database Setup Wizard...

ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.
Can’t connect to X11 window server using ‘192.168.126.128’ as the value of the DISPLAY variable.

  • 请确保IP地址是服务器端,且有指定显示0.0
  • DISPLAY=192.168.126.128:0.0
  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值