You are on page 1of 2

--To check the size of physical memory, execute:

grep MemTotal /proc/meminfo


--Create swap procedure:
su - root
cd /root
dd if=/dev/zero of=/root/tmpswp bs=1k count=500000
chmod 600 tmpswp
mkswap tmpswp
swapon tmpswp
--To check the swap memory
grep SwapTotal /proc/meminfo
SwapTotal: 1504044 kB
-- To see all kernel parameters, execute
su - root
sysctl -a
-- To change the Kernal parameter settings
vi /etc/sysctl.conf
# Kernel Parameters for Oracle 10.2.0
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 1048576
net.core.rmem_max = 1048576
net.core.wmem_default = 262144
net.core.wmem_max = 262144
:wq (to save and exist)
-- Creating Oracle User Account
su - root
groupadd -g 400 dba
useradd -u 400 -g 400 -d /home/ora102 -s /bin/bash -c "Oracle Owner" ora102
--To set the bash profile
su - ora102
cd
vi .bash_profile
#!/bin/bash
unset TWO_TASK
export ORACLE_SID=GENTIC
export LISTENER_NAME=$ORACLE_SID
export ORACLE_BASE=/home/ora102

export
export
export
export
export

ORACLE_HOME=$ORACLE_BASE/product/10.2.0
ORACLE_DOC=$ORACLE_HOME/doc
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
PATH=$ORACLE_HOME/bin:$PATH
EDITOR=vi

:wq
--To Create Oracle Home Directories
mkdir -p /home/oracle/product/10.2.0
-- To Install
cd /oracle
unzip 10201_database_linux32.zip
cd database
./runInstaller -silent -responseFile /tmp/enterprise.rsp

You might also like