標籤:
錯誤如下:
Ignoring required pre-requisite failures. Continuing...
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-01-29_03-14-51AM. Please wait ...
DISPLAY not set. Please set the DISPLAY and try again.
Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment variable:
- For csh: % setenv DISPLAY 192.168.1.128:0.0
- For sh, ksh and bash: $ DISPLAY=192.168.1.128:0.0; export DISPLAY
Use the following command to see what shell is being used:
echo $SHELL
Use the following command to view the current DISPLAY environment variable setting:
echo $DISPLAY
- Make sure that client users are authorized to connect to the X Server.
To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and type the following command:
% xhost +
To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native operating system such as ‘xclock‘:
% <full path to xclock.. see below>
If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance.
Typical path for xclock: /usr/X11R6/bin/xclock
【解決辦法】:
切換到root使用者,執行以下命令:
[[email protected] ~]# export DISPLAY=:0.0
[[email protected] ~]# xhost +
access control disabled, clients can connect from any host
[[email protected] ~]#
執行以上命令後,再次切換到oracle使用者執行安裝即可。
[[email protected] database]# ./runInstaller
轉載:http://blog.csdn.net/aovenus/article/details/8680468
Linux下安裝oracle資料庫提示DISPLAY not set. Please set the DISPLAY and try again。