How to install Oracle 11g on linux | Oracle 11g Installation on RHEL 8 | Oracle 11g Installation



Hello Friends,

This is Grijesh Kumar and welcome to my channel “Techzlink”

About this video
—————————
In this video you will learn how to install and configure Oracle 11g DATABASE server step by step on LINUX along with Below Topics……..

1) What is oracle….???
2) Minimum hardware requirement for oracle 11g installation…
3) How to install oracle 11g step by step….???

============================================================

ORACLE 11g Download Link

|==============================================|
+ Oracle 11g Installation On LINUX Server Step By step +
|==============================================|

Step1.
a) Add IP address & Server Name in Hosts File — “vi /etc/hosts”
b) Disable firewall– through “setup” command
c) Copy oracle 11G installatin file in “/opt folder” and Unzip the files
============================================================
Step2.
a)Add following lines in the “/etc/sysctl.conf”

fs.suid_dumpable = 1
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
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

b)Run the command to set the kernel parameters — “/sbin/sysctl -p”

Step3.
a)Add the following lines in the “/etc/security/limits.conf”
oracle soft nproc 16384
oracle hard nproc 16284
oracle soft nofile 4096
oracle hard nofile 65536
oracle soft stack 10240
============================================================

Step4.
a) Add some Groups

groupadd -g 501 oinstall
groupadd -g 502 dba
groupadd -g 503 oper
groupadd -g 504 asmadmin
groupadd -g 506 asmdba
groupadd -g 505 asmoper

b)Add oracle user through useradd command
useradd -u 502 -g oinstall -G dba,asmdba,oper oracle
============================================================

Step5.
a)change value in ” 90-nproc.conf ” file through below command

“vi /etc/security/limits.d/90-nproc.conf”
* soft nproc (16384) change

============================================================
Step6.
a)Set Selinux enforcing to permissive through below command

“vi /etc/selinux/config”
SELINUX=enforcing —- change with (permissive)

============================================================
Step7.
a)Make a folder for oracle installation
“mkdir -p /u01/app/oracle/product/11.2.0/db_1”

b)change directory owenrship for the folder
chown -R oracle:oinstall /u01
chmod -R 775 /u01
============================================================
Step8.
a)Add some line to change oracle profile — “vi /home/oracle/.bash_profile”

#Oracle Setting
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR

ORACLE_HOSTNAME=erp-server; export ORACLE_HOSTNAME
ORACLE_UNQNAME=XE; export ORACLE_UNQNAME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME
ORACLE_SID=XE; export ORACLE_SID

PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

============================================================
Step9.
a)Install some package which is not installed with linux OS

yum install binutils -y

yum install compat-libstdc++-33 -y

yum install compat-libstdc++-33.i686 -y

yum install gcc -y

yum install gcc-c++ -y

yum install glibc -y

yum install glibc.i686 -y

yum install glibc-devel -y

yum install glibc-devel.i686 -y

yum install ksh -y

yum install libgcc -y

yum install libgcc.i686 -y

yum install libstdc++ -y

yum install libstdc++.i686 -y

yum install libstdc++-devel -y

yum install libstdc++-devel.i686 -y

yum install libaio -y

yum install libaio.i686 -y

yum install libaio-devel -y

yum install libaio-devel.i686 -y

yum install libXext -y

yum install libXext.i686 -y

yum install libXtst -y

yum install libXtst.i686 -y

yum install libX11 -y

yum install libX11.i686 -y

yum install libXau -y

yum install libXau.i686 -y

yum install libxcb -y

yum install libxcb.i686 -y

yum install libXi -y

yum install libXi.i686 -y

yum install make -y

yum install sysstat -y

yum install unixODBC -y

yum install unixODBC-devel -y

yum install zlib-devel -y

yum install elfutils-libelf-devel -y

[ad_2]

source

Exit mobile version