1.
(Requires Oracle account registration)
Click
2. Log in to CentOS to prepare for the job
Groupadd oinstall groupadd dbauseradd-g oinstall-g dba-m oraclepasswd Oracle
3. Transfer the compressed package to the Down Under Oracle home
Unzip and modify the group to which the owning user belongs
Mkdir/home/oracle/appmkdir/home/oracle/downmkdir/home/oracle/app/oraclemkdir/home/oracle/app/oradatamkdir/home /oracle/app/oracle/product Unzip linux.x64_12cR2_database_1of2.zip unzip Linux.x64_12cr2_database_ 2of2.zipchown-r oracle:oinstall/home/oracle
4. Modify the user's shell limit
VI /etc/security/limits.conforacle soft nproc 2047oracle hard nproc 16384oracle soft nofile 1024oracle hard nofile 65536
5.
VI/etc/pam.d/LoginSession Required/lib/security/pam_limits.so session Required pam_limits.soVI/etc/sysctl.conf fs.file-max =6815744Fs.aio-MAX-NR =1048576Kernel.shmall=2097152Kernel.shmmax=2147483648Kernel.shmmni=4096Kernel.sem= - 32000 - -Net.ipv4.ip_local_port_range=9000 65500Net.core.rmem_default=4194304Net.core.rmem_max=4194304Net.core.wmem_default=262144Net.core.wmem_max=1048576VI/etc/ Profileif[$USER ="Oracle"]; Then if[$SHELL ="/bin/ksh"]; ThenUlimit-P16384Ulimit-N65536 ElseUlimit-U16384-N65536 fifisu-OracleVI . Bash_profileumask022Export Oracle_base=/home/oracle/Appexport Oracle_home= $ORACLE _base/oracle/product/12.1.0/Dbhome_1export Oracle_sid=Orclexport PATH= $PATH: $HOME/bin: $ORACLE _home/Binexport Ld_library_path= $ORACLE _home/lib:/usr/lib
6. Installing dependent Packages
Yum-y updateyum-y Install ksh libaio-devel gcc-c++ libstdc++-devel compat-libstdc++-33 compat-libcap1
CentOS 6.8_x64 Oracle 12C Installation