Difference between revisions of "Oracle linux"
Jump to navigation
Jump to search
(Created page with '=Updating= For some reason Oracle Linux 5.5 doesn't come with any repos, so updating requires setting this up * Download Repo <pre># cd /etc/yum.repos.d # wget http://public-yum.…') |
|||
Line 8: | Line 8: | ||
* ''yum install oracle-linux'' | * ''yum install oracle-linux'' | ||
More info [[http://public-yum.oracle.com/ here]] | More info [[http://public-yum.oracle.com/ here]] | ||
+ | =Kernel Params for Oracle= | ||
+ | <pre> | ||
+ | [root@dsoragrid01 ~]# cat /etc/sysctl.conf | ||
+ | # Kernel sysctl configuration file for Oracle Enterprise Linux | ||
+ | # | ||
+ | # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and | ||
+ | # sysctl.conf(5) for more details. | ||
+ | |||
+ | # Controls IP packet forwarding | ||
+ | net.ipv4.ip_forward = 0 | ||
+ | |||
+ | # Controls source route verification | ||
+ | net.ipv4.conf.default.rp_filter = 1 | ||
+ | |||
+ | # Do not accept source routing | ||
+ | net.ipv4.conf.default.accept_source_route = 0 | ||
+ | |||
+ | # Controls the System Request debugging functionality of the kernel | ||
+ | kernel.sysrq = 0 | ||
+ | |||
+ | # Controls whether core dumps will append the PID to the core filename | ||
+ | # Useful for debugging multi-threaded applications | ||
+ | kernel.core_uses_pid = 1 | ||
+ | |||
+ | # Controls the use of TCP syncookies | ||
+ | net.ipv4.tcp_syncookies = 1 | ||
+ | |||
+ | # Controls the maximum size of a message, in bytes | ||
+ | kernel.msgmnb = 65536 | ||
+ | |||
+ | # Controls the default maxmimum size of a mesage queue | ||
+ | kernel.msgmax = 65536 | ||
+ | |||
+ | # Controls the maximum shared segment size, in bytes | ||
+ | kernel.shmmax = 68719476736 | ||
+ | |||
+ | # Controls the maximum number of shared memory segments, in pages | ||
+ | kernel.shmall = 4294967296 | ||
+ | |||
+ | kernel.sem = 250 32000 100 128 | ||
+ | |||
+ | net.ipv4.ip_local_port_range = 1024 - 65000 | ||
+ | net.core.rmem_default = 4194304 | ||
+ | net.core.rmem_max = 4194304 | ||
+ | net.core.wmem_default = 262144 | ||
+ | net.core.wmem_max = 262144 | ||
+ | |||
+ | fs.file-max = 6553600</pre> |
Revision as of 06:42, 8 April 2011
Updating
For some reason Oracle Linux 5.5 doesn't come with any repos, so updating requires setting this up
- Download Repo
# cd /etc/yum.repos.d # wget http://public-yum.oracle.com/public-yum-el5.repo
- Enable [el5_u5_base] and [ol5_u5_base] in this repo
- yum install kernel
- yum install oracle-linux
More info [here]
Kernel Params for Oracle
[root@dsoragrid01 ~]# cat /etc/sysctl.conf # Kernel sysctl configuration file for Oracle Enterprise Linux # # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and # sysctl.conf(5) for more details. # Controls IP packet forwarding net.ipv4.ip_forward = 0 # Controls source route verification net.ipv4.conf.default.rp_filter = 1 # Do not accept source routing net.ipv4.conf.default.accept_source_route = 0 # Controls the System Request debugging functionality of the kernel kernel.sysrq = 0 # Controls whether core dumps will append the PID to the core filename # Useful for debugging multi-threaded applications kernel.core_uses_pid = 1 # Controls the use of TCP syncookies net.ipv4.tcp_syncookies = 1 # Controls the maximum size of a message, in bytes kernel.msgmnb = 65536 # Controls the default maxmimum size of a mesage queue kernel.msgmax = 65536 # Controls the maximum shared segment size, in bytes kernel.shmmax = 68719476736 # Controls the maximum number of shared memory segments, in pages kernel.shmall = 4294967296 kernel.sem = 250 32000 100 128 net.ipv4.ip_local_port_range = 1024 - 65000 net.core.rmem_default = 4194304 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 262144 fs.file-max = 6553600