时间:2021-07-01 10:21:17 帮助过:21人阅读
修改配置文件(需要重启): 将SELINUX=enforcing改为SELINUX=disabled
[root@SVR-3-125 ~]# vi /etc/selinux/config
[root@SVR-3-125 ~]# yum update -y
[root@SVR-3-125 ~]# vi /etc/hosts
[root@SVR-3-125 ~]#groupadd oinstall
[root@SVR-3-125 ~]#groupadd dba
[root@SVR-3-125 ~]#groupadd oper
[root@SVR-3-125 ~]#useradd -g oinstall -G dba,oper oracle
[root@SVR-3-125 ~]# vim /etc/sysctl.conf
添加如下内容:
fs.file-max = 6815744 kernel.sem = 250 32000 100 128 kernel.shmmni = 4096 kernel.shmall = 1073741824 kernel.shmmax = 4398046511104 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
使应用生效
[root@SVR-3-125 ~]#sysctl -p
[root@SVR-3-125 ~]# vim /etc/security/limits.conf
添加以下参数:
oracle soft nofile 1024 oracle hard nofile 65536 oracle soft nproc 2047 oracle hard nproc 16384 oracle soft stack 10240 oracle hard stack 32768
[root@SVR-3-125 ~]# mkdir -p /usr/local/oracle/product/12.1.2/db_1 [root@SVR-3-125 ~]# chown oracle:oinstall /usr/local/oracle -R
centos静默安装oracle12c
标签:cap ade install 软件包 space std 重启 port pat