How to install Oracle12C in CentOS
After using Oracle11g R2 to install it in centos, the system does not start the desktop when it is started, which saves resources and forces the installation. Later, the system was reinstalled, and a lot of things were lost. Okay, not much nonsense. Centos7 + oracle 12c started.
1. Create an Oracle user, user group, and dba group.
View User Creation Information
Create and use a folder
Modify folder Permissions
Yum installation dependency
yum -y install binutils compat-libcap1 compat-libstdc++-33 compat-libstdc++-33*.i686 elfutils-libelf-devel gcc gcc-c++ glibc*.i686 glibc glibc-devel glibc-devel*.i686 ksh libgcc*.i686 libgcc libstdc++ libstdc++*.i686 libstdc++-devel libstdc++-devel*.i686 libaio libaio*.i686 libaio-devel libaio-devel*.i686 make sysstat unixODBC unixODBC*.i686 unixODBC-devel unixODBC-devel*.i686 libXp
Modify the Kernel Parameter vi/etc/sysctl. conf and add the following content:
Fs. aio-max-nr = 1048576
Fs. file-max = 6815744
Kernel. shmall = 2097152
Kernel. shmmax = 1200000000
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
Use sysctl-p to make the change take effect
Modify limit File
Add vi/etc/security/limits. conf
oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 oracle soft stack 10240
Modify
/Etc/pam. d/login, add:
session required pam_limits.so
Delete openjdk
Install jdk
Run./rumInstall