linux安装oracle和xdm的问题的问题
洳夢绚染 2016-12-28 06:17:00 linux内核2.6
系统是中标麒麟
oracle是11G
使用静默安装方式
命令: ./runInstaller -silent -force -responseFile /home/oracle/File/database/response/db_install.rsp
提示信息如下:
在启动 Oracle Universal Installer...
检查临时空间: 必须大于 500 MB。 实际为 184856 MB 通过
检查交换空间: 必须大于 150 MB。 实际为 2047 MB 通过
准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2016-12-27_05-19-18PM. 请稍候...[oracle@VM000002163 database]$ 此会话的日志当前已保存为: /tmp/OraInstall2016-12-27_05-19-18PM/installActions2016-12-27_05-19-18PM.log。如果要保留此日志, Oracle 建议将它从临时位置中转移。
使用 ./runInstaller 命令
提示:
正在启动 Oracle Universal Installer...
检查临时空间: 必须大于 500 MB。 实际为 183398 MB 通过
检查交换空间: 必须大于 150 MB。 实际为 2047 MB 通过
检查监视器: 监视器配置至少必须显示 256 种颜色
>>> 无法使用命令 /usr/bin/xdpyinfo 自动检查显示器颜色。请检查是否设置了 DISPLAY 变量。 未通过 <<<<
未通过某些要求检查。必须先满足这些 要求,
然后才能继续安装,
是否继续? (y/n) [n] y
>>> 忽略未通过的必需先决条件。继续...
准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2016-12-28_05-01-36PM. 请稍候...[oracle@VM000002163 database]$ Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11.XToolkit
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:171)
at java.awt.Toolkit$2.run(Toolkit.java:834)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:826)
at com.jgoodies.looks.LookUtils.isLowResolution(LookUtils.java:484)
at com.jgoodies.looks.LookUtils.<clinit>(LookUtils.java:249)
at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:135)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:249)
at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1852)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:557)
at oracle.install.commons.util.Application.startup(Application.java:792)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:198)
at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:355)
at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:130)
at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:161)
尝试使用xmanager方式进行远程登录操作
在Linux系统下,修改/etc/X11/xdm/Xaccess文件,找到下面的语句:
# * #any host can get a login window
找不到xdm文件夹。
下载了xdm-1.1.9.tar.bz2尝试进行安装,
解压缩之后执行操作提示如下
[root@VM000002163 xdm-1.1.9]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/xdm/xdm-1.1.9':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
求教怎么处理这问题额。