Oracle Installation on Linux Platform:
Kernel Parameter Settings
1. Log in as the root user.
2. Change to the /proc/sys/kernel directory.
3. Review the current semaphore parameter values in the sem file by using the cat or more
utility. For example, using the cat utility, enter the following command:
# cat sem
The output lists, in order, the values for the SEMMSL, SEMMNS, SEMOPM, and
SEMMNI parameters. The following example shows how the output appears:
250 32000 32 128
In the preceding output example, 250 is the value of the SEMMSL parameter, 32000 is
the value of the SEMMNS parameter, 32 is the value of the SEMOPM parameter, and 128
is the value of the SEMMNI parameter.
4. Modify the parameter values by using the following command syntax:
# echo 100 32000 100 100 > sem
5. Modify the shared memory parameter by using the echo utility. For example, to modify
the SHMMAX parameter, enter the following command:
# echo 2147483648 > shmmax
6. Modify the shared memory parameter by using the echo utility. For example, to modify
the SHMMNI parameter, enter the following command:
# echo 4096 > shmmni
7. Modify the shared memory parameter by using the echo utility. For example, to modify
the SHMALL parameter, enter the following command:
# echo 2097152 > shmall
8: Modify /Proc/Sys/net/core
Rmem_default = 262144
Rmem_max=262144
9: wmem_default=262144
Wmem_max=262144
File handles
Set the file handles using the following commands:
echo 65536 > /proc/sys/fs/file-max
ulimit -n 65536
Sockets
Set the sockets using the following command:
echo 1024 65000 > /proc/sys/net/ipv4/ip_local_port_range
Process Limit
Set the process limit using the following command:
ulimit -u 16384
Create Oracle User:
root> groupadd dba
root> groupadd oinstall
root> useradd -c “Oracle software owner” -g oinstall –G dba –d /app/Oracle/product/9.2.0
Creating Oracle Directories
root> mkdir -p /app/oracle/product/9.2.0 (This is required only if you are not mentioned -d
option in useradd command)
root> chown oracle.dba -R app/
root> chmod 755 /app/oracle/product/9.2.0
Setting Oracle Environments
Set the following Oracle environment variables under oracle users
(vi .bash_profile), edit and update the below entries in .bash_profile
LD_ASSUME_KERNEL= 2.4.1
export LD_ASSUME_KERNEL
ORACLE_BASE= /home/Oracle
ORACLE_HOME = $ORACLE_BASE/product/9.2.0
ORACLE_SID= test
ORACLE_TERM= xterm
ORA_NLS33= $ORACLE_HOME/ocommon/nls/admin/data
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib:
$ORACLE_HOME/network/lib
export LD_LIBRARY_PATH ORACLE_BASE ORACLE_HOME ORACLE_SID
ORACLE_TERM ORA_NLS33
PATH=$PATH: $ ORACLE_HOME/bin:/usr/local/jre/bin
export PATH
export DISPLAY = localhost: 0.0
Starting RunInstaller
Change the directory to software location
$ cd /home/Oracle/dump/Disk1
$ ./runInstaller
Proceed with user friendly installation from rapiz wizard.
Good Lock…