Installation notes for Oracle11gR2 in Fedora16X86_64 System

Source: Internet
Author: User
After a week of hard work, I finally completed the Fedora16X86_64 system on the new machine. Compared with the Fedora14 in this book, the Fedora version now feels more beautiful and stable, but it is not quite used to it. For more information about how to install Oracle11g2 in the LinuxX86_64 environment, see http://docs.oracle.com/cd/e11882_01/install.#/e%60/toc.htm.

After a week of hard work, I finally completed the Fedora 16 X86_64 system on the new machine. Compared with the Fedora 14 in this book, the current Fedora version feels more beautiful and stable, but it is not a habit to use it.

For more information about Oracle 11g2 installation in Linux X86_64, see http://docs.oracle.com/cd/e11882_01/install.#/e42460/toc.htm.

Create group and user

/Usr/sbin/groupadd oinstall
/Usr/sbin/groupadd dba/usr/sbin/useradd-m-g oinstall-G dba oracle

Set the Oracle environment variable/home/oracle/. bash_profile

# Add for oracle
Export ORACLE_BASE =/home/oracle/app/oracle
Export ORACLE_SID = XXX
Export ORACLE_HOME = $ ORACLE_BASE/product/11.2.0/dbhome
Export PATH = $ PATH: $ ORACLE_HOME/bin
Export LD_LIBRARY_PATH = $ LD_LIBRARY_PATH: $ ORACLE_HOME/lib
Export CLASSPATH = $ CLASSPATH: $ ORACLE_HOME/jlib: $ ORACLE_HOME/rdbms/jlib

Set Kernel Parameters

Open the/etc/sysctl. conf file in any text editor and add lines similar to the following:

# Add for Oracle
Fs. aio-max-nr = 1048576


Fs. file-max = 6815744kernel. shmall = 2097152 // This parameter indicates the total amount of shared memory that the system can use at a time (in the unit of pages) kernel. shmmax = 8589934592 // The maximum size of the shared memory segment (in bytes) kernel. shmmni = 4096 // This Kernel Parameter is used to set the maximum number of shared memory segments within the system range. The default value of this parameter is 4096. You do not need to change the kernel. sem = 250 32000 100 128 // four parameters are SEMMSL in sequence: Maximum number of semaphores owned by each user, SEMMNS: Maximum number of system semaphores, SEMOPM: number of calls to the semopm system each time, SEMMNI: the maximum number of hard data sets in the system. These four parameters are fixed content sizes. 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 = 1048586


The SHMMAX parameter is described as follows: SHMMAX Available physical memory Defines the maximum allowable size of one shared memory segment. the SHMMAX setting shoshould be large enough to hold the entire SGA in one shared memory segment. A low setting can cause creation of multiple shared memory segments which may lead to performance degradation. the kernel changes made previusly take effect with each reboot. issue this command to set the kernel parameters:
/Sbin/sysctl-p

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.