CentOS 6.5 system installation Oracle11.2.0.4 basic steps

Source: Internet
Author: User

CentOS 6.5 system installation Oracle11.2.0.4 basic steps

CentOS 6.5 system installation Oracle11.2.0.4 basic steps

1. Modify the hosts file (simple, not described in detail)
Vim/etc/hosts

2. Modify the sysctl. conf file.

Vim/etc/sysctl. conf

Kernel. shmall = 1048576
Kernel. shmmni = 4096
Kernel. shmmax = 536870912
Kernel. sem = 250 32000 100 128
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000
Net. core. rmem_default = 1048576
Net. core. rmem_max = 1048576
Net. core. wmem_default = 262144
Net. core. wmem_max = 262144
Fs. aio-max-nr = 1048576

3. Modify the limits. conf file

Vim/etc/security/limits. conf

Oracle soft nproc 2047
Hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536

4. Modify the login file

Vim/etc/pam. d/login

Session required/lib/security/pam_limits.so
Session required pam_limits.so

5. Create users and groups

Groupadd oinstall
Groupadd dba
Useradd-g oinstall-G dba oracle
Passwd oracle

6. Create an oracle directory

Mkdir-p/u01/app/oracle/product/11.2.0/db1
Chown-R oracle. dba/u01

7. Modify the variables of oracle users

Export ORACLE_BASE =/u01/app/oracle
Export ORACLE_HOME =/u01/app/oracle/product/11.2.0/db1
Export ORACLE_SID = mytest
Export PATH = $ ORACLE_HOME/bin: $ PATH

8. Install the oracle dependency package

Need to download is: pdksh-5.2.14-30.x86_64.rpm

All other packages have

9. Optimize the Operating System

  • Disable Firewall
  • Disable selinux
  • Disable unnecessary services
  • Restart the system

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.