安装Oracle时一些配置参数

自己安装Oracle时,遇到的一些配置参数

chown -R oracle. database/ # 这里的”oracle.”的作用是什么?

yum -y groupinstall “Graphical Administration Tools”
yum -y groupinstall “General Purpose Desktop”
yum -y groupinstall “Graphics Creation Tools”

yum install -y binutils
compat-libcap1
compat-libstdc++-33
compat-libstdc++-33.i686
gcc
gcc-c++
glibc.i686
glibc
glibc-devel
glibc-devel.i686
pdksh
libgcc.i686
libgcc
libstdc++.i686
libstdc++
libstdc++-devel.i686
libstdc++-devel
libaio.i686
libaio
libaio-devel.i686
libaio-devel
make
sysstat
unixODBC
unixODBC.i686
unixODBC-devel
unixODBC-devel.i686
libXext.i686
libXext
elfutils-libelf-devel
unzip

  1. 内核参数调整(不低于以下值)
    vi /etc/sysctl.conf
    最后一行添加

kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
加载参数
sysctl -p

kernel.shmmax = 68719476736
kernel.shmall = 4294967296
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500
fs.file-max = 6815744
kernel.sem = 250 32000 100 128
kernel.shmmni = 4096

WARNING:It is recommended to not use the Oracle Base /home/oracle as the user home directory

sh: /bin/ksh: No such file or directory –. 这个内容果然还是应该修改为/bin/sh

  • 版权声明: 本博客所有文章除特别声明外,著作权归作者所有。转载请注明出处!
  • Copyrights © 2022-2023 ligongzhao
  • 访问人数: | 浏览次数:

请我喝杯咖啡吧~

支付宝
微信