CentOS 6.8_x64 Oracle 12C Installation

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.