该问题是因为在安装oracle依赖包时少装了一个xhost命令,如果执行xhost显示找不到该命令
1.查找该命令是由哪个包提供
#yum whatprovides "*/xhost"
2.根据返回的结果,安装对应的包
我的显示是
xorg-x11-server-utils-7.7-14.el6.x86_64 : X.Org X11 X server utilities
Repo : os
Matched from:
Filename : /usr/bin/xhost
3.安装该包:
#yum -y install xorg-x11-server-utils-7.7-14.el6.x86_64
安装成功后执行./runInstaller,还是报错
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
4.安装xdpyinfo
#yum -y install xdpyinfo
再执行./runInstaller,不报该错误