安装Oracle时可能碰到的常见问题-1(三)

2015-07-24 11:49:41 · 作者: · 浏览: 18
t.core.rmem_default = 262144

net.core.wmem_default = 262144

net.core.rmem_max = 4194304

net.core.wmem_max = 1048576

fs.aio-max-nr = 1048576

uid=501(ora11g) gid=102(oinstall) groups=102(oinstall),101(dba)

关于此脚本的说明,可以看下侯大师的介绍(http://blog.itpub.net/519536/viewspace-619629/),同时他指出如果研究下这些脚本,亦可写出一个通用的系统配置参数自动修正脚本,这样其他版本的安装仍可使用,但前提是要绝对通用。

场景3:未做的配置

按照官方文档,可能有些操作未必是需要的,至少我安装的过程中,以下步骤是没做的:

1. selinux未关。

2. /etc/pam.d/login未配置。

3. 未在profile中配置:

if [ $USER = "oracle" ]; then

if [ $SHELL = "/bin/ksh" ]; then

ulimit -p 16384

ulimit -n 65536

else

ulimit -u 16384 -n 65536

fi

fi

To be continued ...