用oracle用户登录运行./runInstaller出现如下:
Starting Oracle Universal Installer...Checking installer requirements...Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.Preparing to launch Oracle Universal Installer from /tmp/OraInstall2008-10-15_12-20-55PM. 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
====
然后我设置了DISPLAY=16.158.103.90:0.0
export DISPLAY
再运行 xhost +
xhost: unable to open display "16.158.103.90:0.0"这个如何解决呢?
Starting Oracle Universal Installer...Checking installer requirements...Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.Preparing to launch Oracle Universal Installer from /tmp/OraInstall2008-10-15_12-20-55PM. 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
====
然后我设置了DISPLAY=16.158.103.90:0.0
export DISPLAY
再运行 xhost +
xhost: unable to open display "16.158.103.90:0.0"这个如何解决呢?
但是如果我的linux本身就没有图形界面,那么装这个还不是没用?
因为我的linux是定制的,没有图形界面
这篇文章讲得很清楚啊,可以不用图形界面,lz为什么不看看?
不好意思,我看了,但是这篇文章讲的是装oracle的客户端。
那个文件都不一样,
或者麻烦你指点下。
我敢说, 即使是文本下的高手,用起图形来也会高效很多redhat linux as4 自带vncserver,
用ie都可以连上去用方法:
1. 用putty ssh上去,命令行下执行vncserver
2. 开启ie,输入http://服务器IP:5801/
如果那个log为1的话是5801,如果为2就是5802
3. 输入vncserver的密码,注意这个密码可以和操作系统的用户密码相同,也可以不同
http://blog.csdn.net/isadream/archive/2008/01/10/2033699.aspx
==============================================
是这样。
用putty连接,执行./runInstall就会报这个错误。
哦,那你看看这个吧
http://blog.csdn.net/isadream/archive/2008/01/10/2033699.aspx 这里面有静默安装的方法,比图形安装快多了
虽然server端没有界面,putty连接也没有图形界面,但是通过xming工具,直接运行./runInstall,就会出现图形界面,就可以装了,
谢谢楼上各位。