linux初探

首页

应用服务器

Linux技巧

中文文档

Linux初级

服务器源代码

命令详解

Linux技术应用

Linux安全应用

Linux业界新闻

UniX技术文章

Linux编程与内核

Linux数据库

Linux服务器

Linux安装指导

Linux论坛


首页>>Linux数据库>>

热门文章

·用mysqldump 来备份数据库
·Oracle 8.1.6的一次恢复!
·oracle启动 shell脚本
·使用Connector/J连接MySQL数
·oracle入门
·MySQL占领Oracle市场 技术支
·SQL Server与Oracle、DB2的性
·从黑客角度检验Oracle数据库
·开源数据库影响传统IT服务市
·在Oracle 9i isqlplus中使用

推荐文章

针对Oracle10g EM乱码之快速解决方法


一直没怎么用10g的EM工具,今天打开来看看,发现也有相传已久的乱码问题.网上也流传着N种解决方案,仔细看一下,其实这个问题很好解决.

  如果安装时,我们系统环境变量设置的是中文环境,那么就不会有这个问题.这个问题根本原因在于安装时,JDK/JRE字符集的自动选择.

  在 $ORACLE_HOME/jdk/jre/lib 和 $ORACLE_HOME/jre/1.4.2/lib/ 目录下都有多种字符集字体配置文件:

CODE:
[oracle@danaly ~]$ cd $ORACLE_HOME/jdk/jre/lib[oracle@danaly
lib]$ ls font*zh_CN*font.properties.zh_CN.Redhat font.properties.zh_CN.
Redhat2.1 font.properties.zh_CN.Sun font.properties.zh_CN_UTF8.Sun[oracle@danaly
lib]$ cd $ORACLE_HOME/jre/1.4.2/lib/[oracle@danaly lib]
$ ls font*zh_CN*font.properties.zh_CN.Redhat font.properties
.zh_CN.Redhat2.1 font.properties.zh_CN
.Sun font.properties.zh_CN_UTF8.Sun

  我们只要用合适的中文字符集文件替换缺省文件即可,我选择使用font.properties.zh_CN.Redhat来替换缺省字体定义文件:
CODE:
[oracle@danaly lib]$ cp font.properties.zh_CN.Redhat font.properties

  替换之后需要清理一下Cache,重启EM即可.

  Cache路径通常位于:
CODE:
$ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs

  清除所有gif文件即可.然后重新启动EM:
CODE:
[oracle@danaly zhs]$ emctl stop dbconsoleTZ set to
PRCOracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.http://danaly.hurrray.com.cn:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10g Database Control ... ... Stopped.
[oracle@danaly zhs]$ emctl start dbconsoleTZ set to PRCOracle Enterprise
Manager 10g Database Control Release 10.2.0.1.0 Copyright (c) 1996,
2005 Oracle Corporation. All rights reserved.http://danaly.hurrray.com.cn:1158/em/console
/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control
..............
started. ------------------------------------------------
------------------
Logs are generated in directory /opt/oracle/product/10.2.0/danaly.hurrray.com
.cn_danaly/sysman/log

相关文章:

·恳请高手出手相助
·Oracle诊断案例:Job任务停止执行
·如何在Oracle里用存储过程定期分割表
·MySQL技术如何平衡功能增强和速度下降
·MySQL在中国市场的未来发展
·MySQL数据库个人版与企业版的区别
·Oracle数据库的备份及恢复策略研究
·两台SQL Server数据同步解决方案
·SQL Server数据库实用小技巧

Copyright@2005 www.linuxGoo.com All Right Reserved