Thursday, May 6, 2010

Linux Kernel Parameters

Set the Linux Kernel Parameters as follows
===============================

Step 1) $vi /etc/sysctl.conf

kernel.hostname=oracle.apps.com
kernel.domainname=apps.com
kernel.sem=256 32000 100 142
kernel.shmmax=1288490188
kernel.shmmni=4096
kernel.shmall=3279547
net.ipv4.ip_local_port_range=1024 65000
kernel.msgmni=2878
kernel.msgmnb=65535

Step 2) $vi /etc/services

In this file we have to comment "ldap" and "ldaps" values
like open the file $vi /etc/services then press ESC button and type
/(forward slash)then type "ldap" it will give two values with the name
"ldap". So we need to comment with the # sysbol.... the same procedure has to
do for "ldaps".

Step 3) $vi /etc/profile

In this at the end the file we have to configure following variables:

export LD_ASSUME_KERNEL=2-4-19
export TEMP=/tmp
unset LANG
export PATH=/usr/java/jdk1.3.1_18/bin:$PATH


Step 4) Install Java

$cd /usr
$mkdir java
copy the java s/w dump into this directory
then run the dump file by using
$./j2sdk_1_3_1_18_Linux_I586.BIN


Step 5) $vi /etc/security/limits.conf

applmgr soft nofile 1024
applmgr hard nofile 65536
applmgr soft nproc 2047
applmgr hard nproc 16384


Step 6) Set the domain name and hostname

$vi /etc/hosts

#Do not remove the following line, or various programs
#that require network functionality will fail.

After this comments type

127.0.0.1 localhost.localdomain localhost
192.168.15.123 linux.apps.com linux ---> local client Address
192.168.15.201 oracle.apps.com oracle ---> target server Address

1 comment:

  1. Hi Srinivas,

    Wonderful Blog!!!

    Need of the moment :)

    Appreciate your hard work!!!

    ReplyDelete

Search This Blog