RHEL4.8安装ORACLE10G需要注意的几点:
1.安装rpm包libaio-0.3.96
如果使用libaio-0.3.105,点下check复选框
2.修改内核参数
修改文件:/etc/sysctl.conf
kernel.shmall = 2097152
kernel.shmmax = ……
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
ne t.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144
sysctl –p 让内核参数生效
3.网络问题:
Checking Network Configuration requirements ...
Check complete. The overall result of this check is: Not executed <<<<
Recommendation: Oracle supports installations on systems with DHCP-assigned public IP addresses. However, the primary network interface on the system should be configured with a static IP address in order for the Oracle Software to function properly. See the Installation Guide for more details on installing the software on systems configured with DHCP.
解决方法:
更正/etc/hots 中的本地IP配置
127.0.0.1 localhost.localdomain localhost
Hosts文件中的上述内容改为:
127.0.0.1 localhost
192.168.65.131 localhost.localdomain
#机构名与静态IP绑定
4.使配置文件立即生效的方法
Source .bash_profile
5. em按钮乱码解决(转载)
0、在oracle用户下用刚才新安装的中文字符集来替换默认字符集(安装之前要停止EM和isqlplus)
su - oracle
emctl stop dbconsole;
isqlplusctl stop;
1、改变$ORACLE_HOME/jdk目录下的jre的默认字体
$ cd $ORACLE_HOME/jdk/jre/lib/
$ ls font*zh_CN*
其中,font.properties是默认使用的字体。还可以看到font.properties.zh_CN.Redhat和其它的字体。
$ cp font.properties font.properties.bak
$ cp font.properties.zh_CN.Redhat font.properties
2、改变$ORACLE_HOME/jre下的默认字体
使用上面同样的方法来操作。
$ cd $ORACLE_HOME/jre/1.4.2/lib/
$ ls font*zh_CN*
$ cp font.properties font.properties.bak
$ cp font.properties.zh_CN.Redhat font.properties
3、删除Cache下的gif文件
em里面会用到这些图片:
$ cd $ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs/
$ ls *.gif
$ rm *.gif
※ 注意不要搞错目录,修改的是中文环境的。
4、重新启动EM和isqlplus服务
$ emctl start dbconsole;
$ isqlplusctl start;
进入EM看看中文问题是否已经解决。
注意:如果经过以上处理仍然不能正确显示中文,请参考以下说明:
打开刚替换好的font.properties,或者查看原有的中文字体文件:
[oracle@smsdbrac1 lib]$ tail -2 font.properties.zh_CN.Redhat
filename.-misc-zysong18030-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/zh_CN/TrueType/zysong.ttf
注意其中包含了filename指向中文字体文件,请确认该文件在你的服务器上是否存在,如果不存在,改换一个存在的中文字体文件即可,也可以自行下载安装新的字体文件:
[oracle@smsdbrac1 lib]$ ls -al /usr/share/fonts/zh_CN/TrueType/zysong.ttf
-rw-r--r-- 1 root root 9249332 Mar 29 2002 /usr/share/fonts/zh_CN/TrueType/zysong.ttf
********************************************************************************
如果以上问题仍不能解决乱码问题,可以将客户端网页显示变成英文
1、打开你的IE浏览器, 选择'工具"-->"Internet选项"-->"常规", 选择 "语言", 默认只有 "中文", 选择 " 添加 ", 加入 "英语(美国)" , 调整顺序, 把“英语(美国)”移动到最上面。
2、确定.访问em:
[@more@]来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7901922/viewspace-1059414/ ,如需转载,请注明出处,否则将追究法律责任。