在红帽企业Linux 5.4中安装Oracle Database 10g

按照Quick Installation Guide 10g Release 2 (10.2) for Linux x86文档安装即可。

安装过程中碰到的问题:

准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall. 请稍候...[oracle@nj15 database]$ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'localhost: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:37
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)

#vi /etc/inittab
把 id:5:initdefault: 修改为 id:3:initdefault
#reboot
在文本模式下 用boot登录
# startx
$ export DISPLAY="xxx.xxx.xxx.xxx:0.0"

相关推荐