安装oracle时还需要修改的几个文件和参数:
/etc/security/limits.conf
nproc:可以开启的进程数量
nofile:可以开启的文件数量
/etc/pam.d/login,改成这样:
#Add for Install Oracle Database 11g
session required  /lib/security/pam_limits.so
session required  pam_limits.so
修改/etc/profile,添加如下内容:
if [$USER = "oracle"]; then
 if [$SHELL = "/bin/ksh"]; then
  ulimit -p 16384
  ulimit -n 65536
 else
  ulimit -u 16384 -n 65536
 fi
fi

相关文章:

  • 2021-07-29
  • 2022-12-23
  • 2021-12-27
  • 2021-04-06
  • 2021-10-01
  • 2022-12-23
  • 2021-04-19
  • 2022-12-23
猜你喜欢
  • 2021-05-17
  • 2022-12-23
  • 2021-12-10
  • 2021-05-26
  • 2021-12-15
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案