微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

oracle11g – 在Ubuntu 10.04中安装Oracle 11g R2

初始问题

我在Ubuntu 10.04中运行Oracle 11g第2版企业版(在VMWARE上运行).需要帮助.

问题#1:

我跟着

> https://forums.oracle.com/forums/thread.jspa?threadID=1115155
> http://www.pythian.com/news/13291/installing-oracle-11gr2-enterprise-edition-on-ubuntu-10-04-lucid-lynx/

两者都建议安装

> libstdc 5_3.3.6-17ubuntu1_amd64.deb
> ia32-libs_2.7ubuntu6.1_amd64.deb

但是在申请wget时我得到了404

问题2:

我跳过这部分看到结束,最后我坚持在命令下运行

$cd database
$./runInstaller

它的投掷错误就像

/opt/database/runInstaller: 153: /opt/database/install/.oui: Permission denied

问题阶段2

Thnx Sathya
最后我可以摆脱初始问题.这是愚蠢的许可问题.但现在卡在另一个.当我跑步

./runInstaller

首先它显示以下失败

Checking Temp space: must be greater than 80 MB.   Actual 10055 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 894 MB    Passed
Checking monitor: must be configured to display at least 256 colors
>>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the disPLAY variable is set.    Failed <<<<

如果我忽略此检查并按y继续,则显示

Exception in thread "main" java.lang.NoClassDefFoundError
    at java.lang.class.forName0(Native Method)
    at java.lang.class.forName(Class.java:164)
    at java.awt.Toolkit$2.run(Toolkit.java:821)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
    at com.jgoodies.looks.LookUtils.isLowResolution(UnkNown Source)
    at com.jgoodies.looks.LookUtils.<clinit>(UnkNown Source)
    at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:122)
    at java.lang.class.forName0(Native Method)
    at java.lang.class.forName(Class.java:242)
    at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1783)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:480)
    at oracle.install.commons.util.Application.startup(Application.java:758)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
    at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
    at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)
    at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)

由于我的ubuntu在VMWARE上运行,可能是因为它没有正确获取显示属性.
另外作为澄清
我正在做

disPLAY=oracle:0.0 ; export disPLAY

这里是oracle的输出

whoami

有什么建议吗?

最后我修好了.
运用
xhost +

现在我可以看到这是在不同的论坛推荐的.但是,让我们在这里包括步骤:)

>以root身份登录到控制台并在CDE中打开终端窗口
> disPLAY =:0.0
>导出disPLAY
> xhost
> su – oracle
> disPLAY =:0.0
>导出disPLAY
> / user / openwin / bin / xclock – 以这种方式启动xclock以确保它正常工作,而且确实如此
>更改回runInstaller所在的目录并启动.

收集自https://forums.oracle.com/forums/thread.jspa?threadID=569326

原文地址:https://www.jb51.cc/oracle/205155.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐