RHEL 5.4 Installation (3)


Continuing on with my check of pre-requisites from the Oracle® Database Quick Installation Guide 11g Release 1 (11.1) for Linux x86, I am getting closer to actually installing the software.

4.4 Compiler Requirements

The compiler requirements are not relevant to the 11G OCM exam and can be safely ignored.

4.5 Additional Software Requirements

The only relevant software requirement is that of the browser and I am using Firefox 3.5.

5 Creating Required Operating System Groups and Users

Since this is a completely new installation of the operating system, I can safely ignore the checks for pre-existing installations of Oracle software.

# /usr/sbin/groupadd oinstall
# /usr/sbin/groupadd dba
# /usr/sbin/useradd -g oinstall -G dba oracle
# passwd oracle
Changing password for user oracle.
New UNIX password: 
Retype new UNIX password: 
passwd: all authentication tokens updated successfully.
# id nobody
uid=99(nobody) gid=99(nobody) groups=99(nobody) context=user_u:system_r:unconfined_t

6 Configuring Kernel Parameters

# cat /proc/sys/kernel/sem
250     32000   32      128
# cat /proc/sys/kernel/shmall
268435456
# cat /proc/sys/kernel/shmmax
4294967295
# cat /proc/sys/kernel/shmmni
4096
# cat /proc/sys/fs/file-max
204863
# cat /proc/sys/net/ipv4/ip_local_port_range
32768   61000
# cat /proc/sys/net/core/rmem_default
110592
# cat /proc/sys/net/core/rmem_max
131071
# cat /proc/sys/net/core/wmem_default
110592
# cat /proc/sys/net/core/wmem_max
131071
# cat /proc/sys/net/ipv4/tcp_wmem
4096    16384   4194304
# cat /proc/sys/net/ipv4/tcp_rmem
4096    87380   4194304

I updated the /etc/sysctl.conf file with the following values:

# Settings for Oracle RDBMS 11.1.0.7
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
net.ipv4.tcp_wmem            = 262144 262144 262144
net.ipv4.tcp_rmem            = 4194304 4194304 4194304

I did not adjust fs.file-max because the current value of 204863 allows for 400 processes which is more than enough for the REPOS database instance.

# sysctl -p

Setting Shell Limits for the oracle User

No changes to the installation documentation.

Shell is BASH.

7 Creating Required Directories

Since I am completely lazy, I will use /opt/oracle/app as the Oracle Base.

# mkdir -p /opt/oracle/app
# mkdir /opt/oracle/documentation
# mkdir /opt/oracle/software
# chown -R oracle:oinstall /opt/oracle
Directory Purpose
/opt/oracle/app Oracle Base
/opt/oracle/documentation Oracle Documentation
/opt/oracle/software Software downloaded from OTN and MetaLink

8 Configuring the oracle User’s Environment

Nothing needs to be changed here for the oracle user’s environment except to set the Oracle variables.

Advertisements

One thought on “RHEL 5.4 Installation (3)

  1. Oracle RDBMS 11G 11.1.0.6.0 Installation « Yet Another OCM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s