The preparation for installing Oracle after installing OS

1. echo "IP hostname" >>/etc/hosts
 
2. 创建Oracle Inventory 组  # groupadd oinstall 
    创建OSDBA 组             # groupadd dba 
    创建Oracle软件创建者     # useradd -g oinstall -G dba,oper oracle
    修改oracle用户的密码     # passwd oracle 

groupadd oinstall 
groupadd dba 
useradd -g oinstall -G dba,oper oracle
passwd oracle 

3./etc/sysctl.conf

kernel.shmall = 2097152
kernel.shmmax = 4294967295

fs.aio-max-nr = 1048576
fs.file-max = 6815744
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


/etc/rc.d/init.d/network restart
/sbin/sysctl -p

(变当前系统内核参数值(让/etc/sysctl.conf立即生效) 
# sysctl -p  )


4./etc/security/limits.conf(add)
grid                         soft          nproc       2047
grid                         hard          nproc      16384
grid                         soft          nofile        1024
grid                         hard          nofile       65536
oracle                       soft          nproc       2047
oracle                       hard          nproc      16384
oracle                       soft          nofile       1024
oracle                       hard          nofile       65536

你可能感兴趣的:(The preparation for installing Oracle after installing OS)