CentOS Silent Installation oracle12c

Source: Internet
Author: User
Tags dba

Configuring the system and installing the required packages
    • Turn off SELinux

Temporary shutdown (no restart)

[[Email protected] ~] #

Modify configuration file (requires restart): Change selinux=enforcing to Selinux=disabled

[[Email protected] ~] # Vi/etc/selinux/config

    • Upgrade Package (optional)
[[Email protected] ~] # Yum update-y 
    • Modify hosts to add a host record
[[Email protected] ~] # vi/etc/hosts

    • Install the required packages for Oracle
Yum install gcc gcc-c++ glibc glibc-devel glibc-headers ksh libaio libaio-devel libgcc libstdc++ libstdc++-devel make Syss Tat UnixODBC unixodbc-devel zlib-devel unzip Compat-libcap1 compat-libstdc++-33

    • Add an Oracle user group
[[email protected] ~]#Groupadd oinstall[[email protected] ~]#Groupadd dba[[email protected] ~] #Groupadd oper[[email protected] ~]#-G oinstall-g dba,oper Oracle
    • modifying system Parameters/etc/sysctl.conf
[[Email protected] ~] # Vim  /etc/sysctl.conf

Add the following content:

Fs.file-max = 6815744= 32000= 4096= 1073741824= 4398046511104 = 262144= 4194304= 262144= 1048576fs.aio-max-nr = 1048576= 9000 65500

Make the app effective

[[Email protected] ~] #sysctl -P
    • Modify/etc/security/limits.conf
[[Email protected] ~] # vim/etc/security/limits.conf

Add the following parameters:

Oracle   Soft   nofile   1024x768 Oracle hard   nofile   65536Oracle   Soft   Nproc    2047Oracle   hard   nproc    16384oracle   soft   Stack    10240Oracle   hard   stack    32768

    • Create an installation folder
[[Email protected] ~] # mkdir-p/usr/local/oracle/product/12.1.2/db_1 [[Email protected] ~] #   chown oracle:oinstall/usr/local/oracle-r

CentOS Silent Installation oracle12c

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.