Difference between revisions of "Oracle linux"

From KeegansWiki
Jump to navigation Jump to search
Line 1: Line 1:
=Updating=
+
=Initial Setup=
 
For some reason Oracle Linux 5.5 doesn't come with any repos, so updating requires setting this up
 
For some reason Oracle Linux 5.5 doesn't come with any repos, so updating requires setting this up
 
* Download Repo
 
* Download Repo
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]]
 +
=Required Software=
 +
yum install -y gcc libaio-devel libstdc++-devel sysstat elfutils-libelf-devel glibc-devel glibc-devel
 
=Kernel Params for Oracle=
 
=Kernel Params for Oracle=
 
<pre>
 
<pre>

Revision as of 09:33, 13 October 2011

Initial Setup

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]

Required Software

yum install -y gcc libaio-devel libstdc++-devel sysstat elfutils-libelf-devel glibc-devel glibc-devel

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 = 9000 65000
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576

fs.file-max = 6815744
fs.aio-max-nr=1048576