WBITT

We Bring In Tomorrows Technology

  • Full Screen
  • Wide Screen
  • Narrow Screen
  • Increase font size
  • Default font size
  • Decrease font size

Oracle 10g Application Server Infrastructure (10.1.2.0.2) on Centos 5.2

E-mail Print PDF
User Rating: / 13
PoorBest 
==========================================================================
Installation of Oracle 10g Application Server Infrastructure (10.1.2.0.2) on Centos
5.2 ==========================================================================

Download 4 CDs of Oracle 10g Application Server Infrastructure (10.1.2.0.2) from
Internet.

==========================================================================
Extract them and wirte them on CDs

You must have two or three copies of that CDs

==========================================================================
Hardware Inspection
(Inspect hardware for errors)

==========================================================================
Software Inspection

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

Install CentOS 5.2 as usuall

==========================================================================
Assign IP address (I assigned 172.175.200.88)
verify through
#ifconfig

==========================================================================
Assign hostname (I assigned hostnaame = c10gasinfra.com)
verify through
#hostname -f

==========================================================================
add entry in /etc/hosts file as
192.168.1.88 c10gasinfra.com c10gasinfra

also verify it
<IP-address> <fully-qualified-machine-name> <machine-name>
==========================================================================

Disable Firewall and restart the pc

==========================================================================
==>checking rpms

# rpm -q make binutils gcc libaio libaio-devel libstdc++
elfutils-libelf-devel sysstat compat-libstdc++ libgcc libstdc++-devel
unixODBC-2.2.11 unixODBC-devel

also check the followings and install the following rpms
(Note: this list is from CentOS 4.7, so in CentOS 5.2, versions may be vary)

check the rpm by the following command

rpm -qa | egrep -i |rpmName1|rpmName2|etc|

xorg-x11-deprecated-libs-6.8.2-1.EL.13.20.i386.rpm
xorg-x11-libs-6.8.2-1.EL.13.20.i386.rpm
xorg-x11-xfs-6.8.2-1.EL.13.20.i386.rpm


alsa-lib-devel-1.0.6-5.RHEL4.i386.rpm
fontconfig-devel-2.2.3-7.i386.rpm
freetype-devel-2.1.9-1.i386.rpm
libjpeg-devel-6b-33.i386.rpm
libtiff-devel-3.6.1-8.i386.rpm
libungif-devel-4.1.3-1.i386.rpm
xorg-x11-6.8.2-1.EL.13.20.i386.rpm
xorg-x11-deprecated-libs-devel-6.8.2-1.EL.13.20.i386.rpm
xorg-x11-devel-6.8.2-1.EL.13.20.i386.rpm


audiofile-devel-0.2.6-1.i386.rpm
esound-devel-0.2.35-2.i386.rpm
libaio-0.3.103-3.i386.rpm
libaio-devel-0.3.103-3.i386.rpm
openmotif21-2.1.30-11.RHEL4.4.i386.rpm


glib-devel-1.2.10-15.i386.rpm
gnome-libs-devel-1.4.1.2.90-44.1.i386.rpm
gtk+-devel-1.2.10-33.i386.rpm
imlib-devel-1.9.13-23.i386.rpm
ORBit-devel-0.5.17-14.i386.rpm

==========================================================================
download the two files from web and install .
http://oss.oracle.com/projects/compat-oracle/files/RedHat/
compat-libcwait-2.1-1.i386.rpm
compat-oracle-rhel4-1.0-5.i386.rpm


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

==>creating users/groups
# groupadd oinstall
# groupadd dba
groupadd oper
# useradd -m -g oinstall -G dba oracle
# passwd oracle
I also used this command ,
/usr/sbin/usermod -g oinstall -G dba,root,oper -s /bin/ksh oracle


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

Add the following lines to the /etc/sysctl.conf file:

kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 6553600
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 4194304
net.core.wmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_max = 262144

then execure this line
/sbin/sysctl -p

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

==> shell limits for user oracle
As root, edit file /etc/security/ limits.conf and insert some text before # End of
file
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft nproc 2047
oracle hard nproc 16384


Verify file /etc/pam.d/system-auth to check the existing of two following lines:
session required /lib/security/pam_limits.so
session required pam_limits.so

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

OPTIONAL OPTIONAL ...OPTIONAL STEP,

I did not do this

#environment for oracle
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
ORACLE_SID=orcl
PATH=$PATH:$ORACLE_HOME/bin
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/j
lib
export ORACLE_BASE ORACLE_HOME ORACLE_SID PATH LD_LIBRARY_PATH
CLASSPATH

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

OPTIONAL OPTIONAL ...OPTIONAL STEP,
did not do this

#mkdir -p /u01/app/oracle/product/j2ee_10_1_2
#chown -R oracle.oinstall /u01

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

copy all of 4 Disk in /home/oracle
chown oracle:dba Disk1 -R
chown oracle:dba Disk2 -R
chown oracle:dba Disk3 -R
chown oracle:dba Disk4 -R

chmod 776 Disk1 -R
chmod 776 Disk2 -R
chmod 776 Disk3 -R
chmod 776 Disk4 -R

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


change /etc/redhat-release

remove all lines and add the following
redhat-4

==========================================================================
As a usre oracle

Start the Oracle Universal Installer (OUI) by issuing the following command :

$/home/Disk1/runInstaller


Wellcome >> Next

Specify File Locations:
Source Path =
Destination =
Name = oracleas1
Path = /home/oracle/OraHome_1 >> Next

Select a Product to Install
Select Oracle Application Server Infrastructure 10g 10.1.2.0.2 >> Next

Select Installation Type:
Identity Management and MetaData Repository (3.63GB) >> Next

Next

Next

Next

Specify Port Configuration Option
Automatic >> Next

Select High Availability or Replication Option
Virtual Host

Specify Name Space in Internet Directory
suggested namespace = dc=com,dc=com (it is automatically selected)

Specify Virtual Host Name: c10gasinfra.com


Specify OCA Dist...........ed name
Typical DN
Common Name cn = Mudassar Ahmad Home Network
ou = mudassarou
o = mudassar
c = Pakistan
>> Next

Specify OCA key length
2048

Specify OCA Administrator's password
root123456
root123456

Specify Database Configuration Options

Blobal Database name = orcl.com
SID = orcl
Specify Database File location = /home/oracle/oradata

Specify database schema passwords
root123456
root123456

Specify Instance name and ias_admin password

Instance Name = orcl
ias_admin Password = root123456
confirm pass = root123456

(faced a problem during installation
problem solved by running root.pl script)


Install

run a script, pres Ok

Enter the full path of loal bin directory [usr/local/bin] >>>>>

End of Installation

openmotif21-2.1.30-11.RHEL4.4
pdksh-5.2.14-30
gnome-libs-1:1.4.1.2.90-44.1
xscreensaver-4.18-5.rhel4.2
==========================================================================

Post Installation
With the installation complete you can perform any administration tasks using
Enterprise Manager:

Connect to the Enterprise Manager Website
(http://<fully-qualified-machine-name>:1810) using the username "ias_admin" and the
password you assigned during the installation. If EM is not available start it with
the "emctl start iasconsole" command.
Stop enterprise manager by issuing the "emctl stop iasconsole" command.


if opmctl having proglem, then do the followings
gedit /etc/hosts
127.0.0.1 localhost




You are here How To / Tutorials Oracle 10g Application Server Infrastructure (10.1.2.0.2) on Centos 5.2