How to install Oracle12C in CentOS

Source: Internet
Author: User

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

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.