RHEL6.2x86 _ 64 to install Oracle11g

Source: Internet
Author: User
If you encounter any problems during the installation process, you can discuss them and learn together. If there are any errors, please let us know. Thank you. 1. first Modify/etc/sysctl. add the parameter [root @ redz-server ~] To the conf file. # Cat & gt;/etc/sysctl. conf & lt; EOF & gt; # define leneedparameters & gt; fs. aio-max-nr = 1048576 & gt; If you encounter any problems during the installation process, you can discuss them and learn together. If there are any errors, please let us know. Thank you.

1. First modify the/etc/sysctl. conf file to add parameters.

[Root @ redz-server ~] # Cat>/etc/sysctl. conf <EOF

> # Oracle need parameters

> Fs. aio-max-nr = 1048576

> Fs. file-max = 6815744

> Kernel. shmall = 2097152

> Kernel. shmmax = 1024000000 (adjusted based on the system memory)

> Kernel. shmmni = 4096

> Kernel. sem = 250 32000 100 65500

> Net. ipv4.ip _ local_port_range = 9000 65500

> Net. core. rmen_default = 262144

> Net. core. rmem_max = 4194304

> Net. core. wmem_default = 262144

> Net. core. wmem_max = 1048586

> EOF

 

Run/sbin/sysctl-p to make the parameter take effect.

 

2. Modify/etc/security/limits. conf

[Root @ redz-server ~] # Cat>/etc/sysctl. conf <EOF

[Root @ redz-server ~] # Cat>/etc/security/limits. conf <EOF

> # Oracle need parameters

> Orcle soft nproc 2047

> Hard nproc 16384

> Oracle soft nofile 1024

> Oracle hard nofile 65536

> EOF

 

3. Modify/etc/pam. d/limits. conf.

[Root @ redz-server ~] # Cat>/etc/pam. d/login <EOF

> Session required pam_limits.so

> EOF

4. Modify/etc/profile

If [$ USER = "oracle"]; then

If [$ SHELL = "/bin/ksh"]; then

Ulimit-p 16384

Ulimit-n 65536

Else

Ulimit-u 16384-n 65536

Fi

Fi

4. Modify/etc/csh. login

Vi/etc/csh. login

 

# Oracle need setting

If ($ USER = "oralce") then

Limit maxproc 16384

Limit descriptors 65536

Umask 022

Endif

 

5. create user groups and users

[Root @ redz-server ~] #/Usr/sbin/groupadd oinstall

[Root @ redz-server ~] #/Usr/sbin/groupadd dba

[Root @ redz-server ~] #/Usr/sbin/useradd-m-g oinstall-G dba oracle

[Root @ redz-server ~] # Echo "oracle" | passwd -- stdin oracle

 

Change the password of your oracle database.

Passwd: All authentication tokens have been successfully updated.

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.