First, refer to the official documentation: http://docs.oracle.com/cd/B28359_01/install.111/b32002/install_overview.htm
If you are not a uln customer, and you are running Red Hat Enterprise Linux or Oracle Linux, then you can obtain the Oracle validated rpm at the following urls:
Oracle Linux 4:
Http://oss.oracle.com/el4/oracle-validated/
Oracle Linux 5:
Http://oss.oracle.com/el5/oracle-validated/
1. Download Oracle-validated package
[Root @ ora10g ~] # Cd/ TMP [root @ ora10g TMP] # Wget Https: // Oss.oracle.com/el5/oracle-validated/oracle-validated-1.0.0-18.el5.x86_64.rpm -- 2013 - 05 - 29 22 : 01 : 42 -- Https: // Oss.oracle.com/el5/oracle-validated/oracle-validated-1.0.0-18.el5.x86_64.rpm Resolving oss.oracle.com... 137.254 . 17.12 Connecting to oss.oracle.com | 137.254 . 17.12 |:443 ... Connected. http request sent, awaiting response... 200 Oklength: 15224 (15 k) [application/X- Rpm] saving to: 'oracle -Validated- 1.0 . 0 - 18 . El5.x86 _ 64.rpm ' 100 % [============================================== ==>] 15 , 224 66 . 6 K/s In 0 . 2 S 2013 - 05 - 29 22 : 01 : 58 ( 66.6 Kb/s)-'oracle-validated- 1.0 . 0 - 18 . El5.x86 _ 64.rpm' Saved [2, 15224/15224]
2. install package:
[Root @ ora10g TMP] #Yum InstallOracle-validated-1.0.0-18. El5.x86 _ 64.rpm
You may need to import the rpm gpg key:
Rpm -- import http://Oss.oracle.com/el5/rpm-gpg-key-oracle
After the package is installed, the parameters have been modified:
[Root @ ora10g TMP] # Ls -L/etc/sysctl. conf *-RW-r -- 1 Root 1465 May29 22 : 02 /Etc/ Sysctl. conf -RW-r -- 1 Root 996 May 29 21 : 59 /Etc/ Sysctl. conf. orabackup [root @ ora10g TMP] # DFF /Etc/sysctl. CONF/etc/ Sysctl. conf. orabackup - Bash: DFF: Command not found [root @ ora10g TMP] # Diff /Etc/sysctl. CONF/etc/ Sysctl. conf. orabackup 16c16 <Kernel. sysrq = 1 ---> Kernel. sysrq = 0 29c29 <Kernel. msgmax = 8192 ---> Kernel. msgmax = 65536 32c32 <Kernel. shmmax = 4398046511104 ---> Kernel. shmmax = 68719476736 35 , 48c35 <Kernel. Shmall =1073741824 <FS. File -Max = 327679 <Kernel. msgmni = 2878 <Kernel. SEM = 250 32000 100 142 <Kernel. shmmni = 4096 <Net. Core. rmem_default = 262144 <Net. Core. rmem_max = 4194304 <Net. Core. wmem_default = 262144 <Net. Core. wmem_max =262144 <Fs. AIO-max-Nr = 3145728 <Net. ipv4.ip _ local_port_range = 1024 65000 <# For 11g recommended value For Net. Core. rmem_max is 4194304 <# For 10g uncomment the following line, comment other entries For This parameter and re-run sysctl- P <# Net. Core. rmem_max = 2097152 ---> Kernel. Shmall = 4294967296
/Etc/security/limits. conf:
[Root @ ora10g TMP] # Ls -L/etc/security/limits. conf *-RW-r -- 1 Root 2059 May 29 22 : 02 /Etc/security/ Limits. conf -RW-r -- 1 Root 1789 May 29 21 : 59 /Etc/security/Limits. conf. orabackup [root @ ora10g TMP] # Diff /Etc/security/limits. CONF/etc/security/ Limits. conf. orabackup 44 , 51d43 <Oracle soft nofile 131072 <Oracle hard nofile 131072 <Oracle soft nproc 131072 <Oracle hard nproc 131072 < Oracle Soft Core Unlimited < Oracle hard core Unlimited <Oracle soft memlock 50000000 <Oracle hard memlock 50000000
Attached local Yum configuration:/etc/yum. Repos. d/local. Repo
[Local_yum_source]Name=My_local_sourcebaseurl=File: // media/Disk/servergpgcheck= 0Enable= 1Gpgkey= File: // etc/yum. Repos. d/rpm-GPG-key-Oracle
Thanks http://perumal.org/prepare-your-linux-server-to-install-oracle-database-using-oracle-validated-rpm/