[oracle@rhel4 tmp]$ /media/cdrom/database/runInstaller
正在啟動 Oracle Universal Installer...
正在檢查安裝程式需求...
檢查作業系統版本: 必須是 redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
通過
所有安裝程式需求都符合.
準備從以下位置啟動 Oracle Universal Installer /tmp/OraInstall2013-08-09_11-57-05AM. 請稍候 ...[oracle@rhel4 tmp]$ _X11TransSocketINETConnect() can't get address for local_host:6000: Name or service not known
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'local_host:0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Window.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.<init>(OiocOneClickInstaller.java:378)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)
請問各位前輩這是哪裡沒設定好或沒設定到~?
海綿寶寶已指出問題所在, Installler 想要啓動互動式安裝但是找不到 x-win server. 我的做法是在我的 admin 機器上啓用 x-ming. 然後將視窗轉到我的 admin 本機. (如海綿寶寶的連結所示)
新手上路我推薦安裝 OS 時, 選 Desktop. 因為一路裝下去需要手動的地方還不少. (遇到的第一個問題應該是 host not resolved, 我們可以在 /etc/hosts 內加, 或是直接在 DNS 加一筆) 裝了幾次熟悉了, 自己的流程就出來了.