Saturday, April 5, 2014

Oracle Application Server 10g R2 Installation guide in Linux Redhat- 4 update 5

Step-1

Log in as root:
Change redhat version

[root@localhost ~]# vim /etc/redhat-release

#Red Hat Enterprise Linux ES release 4 (Nahant Update 5) Add following line for new
Redhat-4


IP address & host name in /etc/hosts file

[root@app01 ~]# vim /etc/hosts
Save the username and password carefully during the install steps.

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

127.0.0.1               pblapps localhost.localdomain   localhost
========================================================

Change host name in /etc/sysconfig/network file

[root@pblapps ~]# vim /etc/sysconfig/network

========================================================
HOSTNAME=pblapps
========================================================
To Check Host Name

[root@pblapps etc]# echo $HOSTNAME
========================================================

Using any text editor, create or edit the /etc/sysctl.conf file and add or edit lines similar to the following:

[root@app01 ~]# vim /etc/sysctl.conf
========================================================

kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
#semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 256 32000 100 142
fs.file-max = 206173
net.ipv4.ip_local_port_range = 1024 65000
kernel.msgmni = 2878
kernel.msgmax = 8192
kernel.msgmnb = 65535
========================================================

To check:
[root@app01 ~]# /sbin/sysctl -p

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

Add the following lines to /etc/security/limits.conf file:

[root@app01 ~]# vim /etc/security/limits.conf
========================================================
*        soft        nproc         2047
*        hard       nproc         16384
*        soft        nofile        2048
*        hard       nofile        65536
========================================================

Add the following line to the /etc/pam.d/login file, if it does not already exist

[root@app01 ~]# vim /etc/pam.d/login
========================================================
session    required     /lib/security/pam_limits.so
========================================================

Step-2

Check that the following software packages, or higher versions, are installed:

glibc-2.3.4-2.9
glibc-common-2.3.4-2.9
binutils-2.15.92.0.2-13
compat-libstdc++-296-2.96-132.7.2
gcc-3.4.3-22.1
gcc-c++-3.4.3-22.1
libstdc++-3.4.3-22.1
libstdc++-devel-3.4.3-22.1(not ins)
openmotif21-2.1.30-11.RHEL4.4(not i
pdksh-5.2.14-30(not inst)
setarch-1.6-1
make-3.80-5
gnome-libs-1.4.1.2.90-44.1(not
sysstat-5.0.5-1
compat-db-4.1.25-9
control-center-2.8.0-12
xscreensaver-4.18-5.rhel4.2

To check:
            rpm -q package_name
To Install:
            rpm -i package_name

We recommend that select all package to install when Linux installation

 Step -3

Add a group
==========================================================
[root@app01 ~]# /usr/sbin/groupadd oinstall ==========================================================

Add oracle user to group
==========================================================
[root@app01 ~]# /usr/sbin/useradd -g oinstall oracle
==========================================================

Password set
==========================================================
[root@app01 ~]# passwd oracle
==========================================================

=========================Output============================

Changing password for user oracle.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.

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

To Make Directory where install infra & Middle
==========================================================
[root@app01 ~]# mkdir -p /u01/infra
[root@app01 ~]# mkdir -p /u01/mid
[root@app01 ~]# chown -R oracle.oinstall /u01

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

Step -4

Log in as oracle user

Edit bash profile of oracle user

[oracle@app01 ~]$ vim .bash_profile

==========================================================
PATH=$PATH:$HOME/bin; export PATH
unset USERNAME

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

ORACLE_BASE=/u01; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/infra; export ORACLE_HOME

## Active Infra Home when you install infra other wise active Middle home

#ORACLE_HOME=$ORACLE_BASE/mid; export ORACLE_HOME
ORACLE_TERM=xterm; export ORACLE_TERM
ORACLE_SID=iasdb; export ORACLE_SID
PATH=/usr/sbin:$ORACLE_HOME/bin:$PATH; export PATH
PATH=$PATH:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/opmn/bin:$ORACLE_HOME/jdk/bin; export PATH

################ This part for Middle ware##################################

LD_LIBRARY_PATH=/u01/oracle/mid/lib:/u01/oracle/mid/jdk/jre/lib/i386:/u01/oracle/mid/jdk/jre/lib/i386/server:/u01/oracle/mid/jdk/jre/lib/i386/native_threads:/tmp/OraInstall2005-11-09_04-23-19PM/jre/lib/i386/client:/tmp/OraInstall2005-11-09_04-23-19PM/jre/lib/i386:/tmp/OraInstall2005-11-09_04-23-19PM/jre/../lib/i386:/usr/lib:/u01/oracle/mid/forms:$ORACLE_HOME/jdk/jre/lib/i386/server:$ORACLE_HOME/jdk/jre/lib/i386/native_threads:$ORACLE_HOME/jdk/jre/lib/i386:$ORACLE_HOME/lib:$ORACLE_HOME/jre/1.1.8/lib:/u01/oracle/mid/forms; export LD_LIBRARY_PATH
export LD_ASSUME_KERNEL=2.4.19
CLASSPATH=/u01/oracle/mid/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/u01/oracle/mid/jlib/repository.jar:/u01/oracle/mid/jlib/ldapjclnt10.jar:/u01/oracle/mid/jlib/debugger.jar:/u01/oracle/mid/jlib/ewt3.jar:/u01/oracle/mid/jlib/share.jar:/u01/oracle/mid/jlib/utj.jar:/u01/oracle/mid/jlib/zrclient.jar:/u01/oracle/mid/reports/jlib/rwrun.jar:/u01/oracle/mid/forms/java/jacob.jar:/u01/oracle/mid/forms/java/frmwebutil.jar:/u01/oracle/mid/jdk/jre/lib/rt.jar; export CLASSPATH
FORMS_BUILDER_CLASSPATH=/u01/oracle/mid/forms/java/webutil.jar:/u01/oracle/mid/jdk/jre/lib/rt.jar:/u01/oracle/mid/forms/java/jacob.jar:/u01/oracle/mid/forms; export FORMS_BUILDER_CLASSPATH
RW=$ORACLE_HOME/reports; export RW
REPORTS_PATH=$ORACLE_HOME/reports/templates:$ORACLE_HOME/reports/samples/demo:$ORACLE_HOME/reports/integ:$ORACLE_HOME/reports/printers; export REPORTS_PATH
REPORTS_TMP=/tmp; export REPORTS_TMP
WEBUTIL_CONFIG=/u01/oracle/mid/forms/server/webutil.cfg; export WEBUTIL_CONFIG
REPORTS_NO_DUMMY_PRINTER=TRUE; export REPORTS_NO_DUMMY_PRINTER
REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar; export REPORTS_TAGLIB_URI
#REPORTS_CLASSPATH=$ORACLE_HOME/reports/jlib/rwbuilder.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/j2ee/home/oc4j.jar:$ORACLE_HOME/j2ee/home/lib/ojsp.jar; export REPORTS_CLASSPATH
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1; export NLS_LANG
TK_ICON=$ORACLE_HOME/reports/plugins/resource; export TK_ICON


#####################################################################


if [ $USER = "oracle" ]; then
  if [ $SHELL = "/bin/ksh" ]; then
    ulimit -p 16384
    ulimit -n 65536
  else
    ulimit -u 16384 -n 65536
  fi
fi

PS1="`hostname`> "
set -o emacs
set filec

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

Step -5

Upload oracle apps server 10g R2 into Linux server using SSH File uploader using root user then change mode for oracle/all user


Finally run . /runInstaller file through VNC or direct login to machine

Save the username and password carefully during the install steps.


Screenshot for Infra Installation:








To Install Report Server

[oracle@app01 ~]$ rwserver server =  <report_server_name>

Before this command please check PATH variable for $ORACLE_HOME/bin

After this command, < report_server_name>. File will be created in $ORACLE_HOME/reports/conf/


Report Server configuration

Edit $ORACLE_HOME/reports/conf/rwservlet_properties


SERVER_IN_PROGESS=NO
SERVER=< report_server_name>

Edit $ORACLE_HOME/reports/conf/< report_server_name>

Remove   : <Security>……..</Security> from file.
Comment : <Job Type> ……</Job Type> from file.

End of Installation.

No comments:

Post a Comment