Database Reference
In-Depth Information
For Oracle Linux 6, you need to install the
oracle-rdbms-server-11gR2-preinstall
package instead of the
oracle-validated
package:
[root@repositorydb ~]# yum install oracle-rdbms-server-11gR2-preinstall
You can also manually download the
oracle-validated
package for Red Hat Enterprise Linux 5 from the
After you install
oracle-validated
, you need to set the password for the
ORACLE
user. Be sure that you also set up
YUM and install the
oracle-validated
package for the OMS server.
Creating Oracle User and Groups
If you do not want to use the
oracle-validated
package, you can create the required groups and user manually. Log
in as
ROOT
and run the following commands:
[root@repositorydb ~]# groupadd oinstall
[root@repositorydb ~]# groupadd dba
[root@repositorydb ~]# useradd -g oinstall -G dba oracle
[root@repositorydb ~]# passwd oracle
After the last command, enter the password for the
ORACLE
user.
Setting Kernel Parameters
The Oracle Database 11gR2 installer can detect and fix errors on kernel parameters, so you can run the installer and
let it create scripts to set required parameters. If you want to configure kernel parameters without the help of the
installer, make a backup of
/etc/sysctl.conf
and then use any text editor to edit the file so that it includes lines
similar to the following:
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 4536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
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 = 1048576
These are recommended values for Oracle Database. If any of the current values are bigger than the recommended
value, use the bigger value.
■
Tip
on 64-bit linux systems,
kernel.shmmax
can be set to a maximum of 1 byte less than the physical memory.