日期:2014-05-16 浏览次数:20671 次
[转]http://tonykorn97.itpub.net/post/6414/391552
?
操作系统:Red Hat Enterprise Linux AS release 5
语言安装的为英文,安装完Oracle数据库后,通过企业管理器登陆,点击的按钮显示乱码。
?
先关闭em,再重新安装中文字体, 再覆盖font.properties文件,再删除*.gif, 再启动em
?
1,重新安装中文支持
ttfonts-zh_CN-2.14-6.noarch.rpm 下载:http://rpm.pbone.net/
[root@tonykorn97 ~]# rpm -ivh ttfonts-zh_CN-2.14-6.noarch.rpm
warning: ttfonts-zh_CN-2.14-6.noarch.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:ttfonts-zh_CN ########################################### [100%]
[root@tonykorn97 ~]#
2,安装如下步骤操作:
企业管理器已经关闭了
[root@tonykorn97 ~]# su - oracle
[oracle@tonykorn97 ~]$ cd $ORACLE_HOME/jdk/jre/lib
[oracle@tonykorn97 lib]$ ls -al font*zh_CN*
-rwxr-xr-x 1 oracle oinstall 6854 Apr 20 2005 font.properties.zh_CN.Redhat
-rwxr-xr-x 1 oracle oinstall 7410 Apr 20 2005 font.properties.zh_CN.Redhat2.1
-rwxr-xr-x 1 oracle oinstall 6845 Apr 20 2005 font.properties.zh_CN.Sun
-rwxr-xr-x 1 oracle oinstall 7137 Apr 20 2005 font.properties.zh_CN_UTF8.Sun
[oracle@tonykorn97 lib]$ cp font.properties.zh_CN.Redhat font.properties
[oracle@tonykorn97 lib]$ cd $ORACLE_HOME/jre/1.4.2/lib/
[oracle@tonykorn97 lib]$ ls -al font*.zh_CN*
-rwxr-xr-x 1 oracle oinstall 6854 Apr 6 2005 font.properties.zh_CN.Redhat
-rwxr-xr-x 1 oracle oinstall 7410 Apr 6 2005 font.properties.zh_CN.Redhat2.1
-rwxr-xr-x 1 oracle oinstall 6845 Apr 6 2005 font.properties.zh_CN.Sun
-rwxr-xr-x 1 oracle oinstall 7137 Apr 6 2005 font.properties.zh_CN_UTF8.Sun
[oracle@tonykorn97 lib]$ cp font.properties.zh_CN.Redhat font.properties
[oracle@tonykorn97 lib]$ cd $ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs
[oracle@tonykorn97 zhs]$ rm -rf *.gif
[oracle@tonykorn97 zhs]$ emctl start dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://tonykorn97:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ........ started.
------------------------------
Logs are generated in directory /oracle/app/oracle/product/10.2.0/Database/tonykorn97_szrrlcw/sysman/log
[oracle@tonykorn97 zhs]$
?