惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Blog — PlanetScale
Blog — PlanetScale
小众软件
小众软件
F
Fortinet All Blogs
博客园 - 叶小钗
博客园_首页
D
DataBreaches.Net
Apple Machine Learning Research
Apple Machine Learning Research
U
Unit 42
爱范儿
爱范儿
aimingoo的专栏
aimingoo的专栏
博客园 - Franky
Martin Fowler
Martin Fowler
酷 壳 – CoolShell
酷 壳 – CoolShell
The Cloudflare Blog
A
About on SuperTechFans
Google DeepMind News
Google DeepMind News
Microsoft Security Blog
Microsoft Security Blog
IT之家
IT之家
M
MIT News - Artificial intelligence
有赞技术团队
有赞技术团队
博客园 - 【当耐特】
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog

博客园 - 风歌

Sublimetext (for windows)编译运行c出现Error 2错误的解决办法 vim和tmux主题颜色不一致问题 vim安装YouCompleteMe 插件 hibernate date类型插入数据库时精度只到日期没有时间 perl在命令行中打印单引号 UTL_FILE建文件失败“ORA-29280: 目录路径无效”错误 openVPN报错:All TAP-Windows adapters on this system are currently in use - 风歌 xampp连接Admin界面报错 一个换行符引发的问题 如何把excel数据导入数据库 vmware给linux虚拟机增加磁盘空间(基于lvm分区) 带统一认证的轻量级网关系统 ORA-02292主键约束问题 curl遇到longjmp causes uninitialized stack frame的处理办法 ACE6.10的安装 ld编译链接时默认搜索路径 vsftpd的安装及使用问题 Fedora core 6上安装vmeare-tools VIM7.0安装
redhat6.3企业版安装oracle11g过程
风歌 · 2013-01-09 · via 博客园 - 风歌

export DISPLAY=:0.0

/home/oracle/database/runInstaller -jreLoc /usr/lib/jvm/java/jre

报错

No protocol specified
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11.XToolkit

google后,发现要在root下执行

xhost +127.0.01 后再到oracle用户下export DISPLAY=:0.0,然后再安装。

但发现xhost 出错

[root@m2m-46 database]# xhost +local:oracle
No protocol specified
xhost:  unable to open display ":0.0"

咨询同事得知这种情况要安装vncserver,但redhat的这个安装iso居然没有这个软件,

在网上查找到安装包VNC-5.0.3-Linux-x64-ANY.tar.gz(http://www.realvnc.com/download/get/1185/) ,解压后是一堆绿色软件,直接使用它自带的脚本安装到系统bin下。

在root下直接vncserver,说要添加key,于是又上网查找key(根据错误提示很容易查找)

添加key后vncserver成功。

继续xhost +127.0.01 成功

转oracle用户,

export LANG=C

/home/oracle/database/runInstaller

顺利进入安装界面。

参考:http://blog.sina.com.cn/s/blog_a32eff280100ykyq.html