安装oracle的时候会在前期oracle自动检测的时候会有报错,显示颜色监视器不通过,简单整理了以下解决的方法
1.用root用户执行 xhost +
[root@localhost ~]# xhost +
access control disabled, clients can connect from any host (这个时候还是有很多机器在这个地方显示的不是这个,不过不要紧下面有解决的办法)
2.在root下执行xdpyinfo如果没有这个命令就去下载一个
yum -y install xdpyinfo
3.执行完xdpyinfo之后会显示很多详细的信息,不过那不是重点
4.接着在root下执行xhost +
[root@localhost ~]# xhost +
access control disabled, clients can connect from any host (这个时候就会显示这个了)
5.上面成功显示之后就要切换到oracle用户了
su - oracle
6.在oracle用户执行命令
export DISPLAY=:0.0
7.接着执行xdpyinfo 如果能正常显示,说明设置成功了,就可以继续安装oracle了。