Installing ORACLE 11g R2 on Linux 6.2
Checking memory
# grep MemTotal /proc/meminfo
# grep SwapTotal /proc/meminfo
# df -h /dev/shm/
# mount -t tmpfs tmpfs -o size=10000m /dev/shm
# df -h /dev/shm/
Install All Packages Needed.
Add entry in host file.
#vi
/etc/hosts
Make entry like this:
[IP] [HOST_NAME]
Open /etc/sysctl.conf and add the following
lines:
# Oracle settings
fs.aio-max-nr =
1048576
fs.file-max =
6815744
kernel.shmall =
2097152
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
= 1048586
net.ipv4.tcp_wmem
= 262144 262144 262144
net.ipv4.tcp_rmem
= 4194304 4194304 4194304
Refresh settings
# /sbin/sysctl -p
# /sbin/sysctl -q
Open /etc/security/limits.conf and add these
lines.
oracle soft nproc
2047
oracle hard nproc
16384
oracle soft nofile
1024
oracle hard nofile
65536
Disable secure linux by editing
the /etc/selinux/config file, making sure the SELINUX flag is set as
follows:
SELINUX=disabled
Now setup User that we will use as Oracle owner and the
groups that it will need for installing and managing Oracle.
/usr/sbin/groupadd
oinstall
/usr/sbin/groupadd
dba
/usr/sbin/groupadd
oper
/usr/sbin/useradd
-g oinstall -G dba,oper oracle
/usr/bin/passwd
oracle
Change bash profile for oracle.
Create directories where the Oracle Software and database
will be installed.
mkdir -p
/app/oracle/product/11.2.0/db_1
chown -R
oracle:oinstall /app
chmod -R 0775
/app
mkdir
/dbdata/oracle/oradata/
_________________________________________________________________________________
Run the Installer now.
Comments
Post a Comment