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