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