遠程RHEL安裝ORACLE 10g記錄1

遠程安裝oracle,執行"./runistaller"後,出現如下情況。

[oracle@zwdb Disk1]$ ./runInstaller 
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, SuSE-10, redhat-4, redhat-5, redhat-6, UnitedLinux-1.0, asianux-1, asianux-2, asianux-3, enterprise-4, enterprise-5 or SuSE-11
                                      Passed


All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-05-25_12-16-32AM. 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

 

原因在於:我是通過SecurCRT/SSH從別的機子遠程過去,現在被裝機子要傳遠程的安裝界面。而我本地機子是沒有開啓圖形傳送功能的。

 

解決:

在本地機子安裝Xmanager等可傳虛擬圖形的工具。(本地機爲A(windows),數據庫服務機爲B(RHEL5.8))

查看本機所處的虛擬紙是多少:如"0.0","1.0"

然後在SSH/SecurCRT上(RHEL5.8)執行:

[oracle@zwdb Disk1]$ export DISPLAY=A:0.0

[oracle@zwdb Disk1]$ ./runInstaller

執行即成功

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章