Centos安装oracle的过程详解
主机环境:CentOS Linux release 7.7.1908 (Core)
Oracle版本:Oracle 12c Release2
安装过程参考 https://blog.51cto.com/10316297/2140427?source=dra ,但是在安装过程中,可能会遇到下面的问题,接下来对下面的问题进行介绍
1、已拒绝X11转移申请
解决办法:安装yum install xorg-x11-xauth
2、使用xstart打开图形界面无法登陆的问题
输入:/usr/bin/xterm -ls -display $DISPLAY
可能会报下面的错误
解决方案:
yum install -y xterm
然后重新登陆
登陆进去之后,输入xclock,如果命令报错,则执行yum install xorg-x11-apps
,安装完再次输入xclock,则会出现
问题解决完毕。
3、xhost未找到的命令
解决办法:先使用yum whatprovides "*/xhost"
进行结果搜索,然后根据结果进行安装,例如搜索到的结果如下
则使用yum install xorg-x11-server-utils-7.7-20.el7.x86_64
4、xstart界面中文乱码的问题
解决方案:
5、>>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<
问题描述:无法使用命令/usr/bin/xdpyinfo自动检查显示器颜色
解决方案:把xstart系统注销,然后使用Oracle用户直接登录系统进入即可!还不行就安装xdpyinfo
yum install xdpyinfo