Oracle Database 11g Release 2 (11.2) Installation On RedHat Enterprise Linux 5

# vim /etc/hosts
127.0.0.1       localhost.localdomain  localhost
192.168.1.2     squid.doyensys.com  squid
 
 
 
# vim /etc/sysctl.conf



Run the following command to change the current kernel parameters
 
# /sbin/sysctl -p
 
Add the following lines to the "/etc/security/limits.conf" file.
 
 
oracle              soft    nproc   2047
oracle              hard    nproc   16384
oracle              soft    nofile  4096
oracle              hard    nofile  65536
oracle              soft    stack   10240
 
 

Create the new groups and users.
groupadd oinstall
groupadd dba
groupadd oper
groupadd asmadmin

useradd -g oinstall -G dba,oper,asmadmin oracle
passwd oracle





Disable the SELinux in /etc/selinux/configfile.


SELINUX=disabled
 
Create the directories in which the Oracle software will be installed.
mkdir -p /u01/app/oracle/product/11.2.0/db_1
chown -R oracle:oinstall /u01
chmod -R 775 /u01

Login as root and issue the following command.
xhost +
Login as the oracle user and add the following lines at the end of the ".bash_profile"

$ vim .bash_profile
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR

ORACLE_HOSTNAME=squid.doyensys.com; export ORACLE_HOSTNAME
ORACLE_UNQNAME=orcl; 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=orcl; 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
 
 
 
Move the download database zip files into /home/oracle and unzip the files.
 

 
 
 Start the Oracle Universal Installer (OUI) by issuing the following command in the database directory.

$ cd /database

$ ./runInstaller




























Open the Web-browser and type the url and  login the Enterprise Manager.







 




 

No comments: