[Ilugc] REG: Help for Installation of Oracle Application Server 10g (9.0.4) On RedHat Advanced Server RHEL 3.0

  • From: rameshkumar@xxxxxxxxxxxxx (S.Ramesh Kumar)
  • Date: Sun, 11 Apr 2004 10:17:58 +0530

Dear Friends, 

Installation of Oracle Application Server 10g (9.0.4) On RedHat Advanced
Server 3.0 RHEL is a diffcult job. 

This is a Small helpfull notes and documentaion for the above needy.



      Oracle Application Server 10g (9.0.4) Installation On RedHat
      ============================================================
                        Advanced Server RHEL 3.0 
                        ========================


In this article I'll describe the installation of Oracle Application
Server 10g (9.0.4) for Portal, Oracle's standards-based portal
development and deployment solution, on RedHat Advanced Server 3.0. 

The article assumes you've performed the standard advanced server
installation including the development tools.

Download the following software:

      * Oracle Application Server 10g (9.0.4) Software
      * Patch 3006854

Unpack Files: 
=============
First unzip the files: 
======================

        gunzip ias904_linux_disk1.cpio.gz
        gunzip ias904_linux_disk2.cpio.gz
        gunzip ias904_linux_disk3.cpio.gz
        gunzip ias904_linux_disk4.cpio.gz
        
Next unpack the contents of the files: 
======================================

        cpio -idmv < ias904_linux_disk1.cpio
        cpio -idmv < ias904_linux_disk2.cpio
        cpio -idmv < ias904_linux_disk3.cpio
        cpio -idmv < ias904_linux_disk4.cpio
        
        
You should now have four directories (Disk1, Disk2, Disk3 & Disk4)
containing installation files.

Editing the Hosts File : 
========================

The /etc/hosts file must contain a fully qualified name for the server: 

        <IP-address>  <fully-qualified-machine-name>  <machine-name>

Set Kernel Parameters: 
======================

Add the following lines to the /etc/sysctl.conf file: 
        kernel.shmall = 2097152
        kernel.shmmax = 2147483648
        kernel.shmmni = 142
        # semaphores: semmsl, semmns, semopm, semmni
        kernel.sem = 256 32000 100 142
        fs.file-max = 131072
        net.ipv4.ip_local_port_range = 20000 65000
        kernel.msgmni = 2878 
        kernel.msgmax = 8192 
        kernel.msgmnb = 65535
        
Run the following command to change the current kernel parameters: 
==================================================================

        /sbin/sysctl -p


Add the following lines to the /etc/security/limits.conf file where ->
represents the tab character: 

        * -> -> soft -> nproc -> -> 2047
        * -> -> hard -> nproc -> -> 16384
        * -> -> soft -> nofile -> -> 2048
        * -> -> hard -> nofile -> -> 16384

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

        session    required     /lib/security/pam_limits.so

Setup:
======
 ---------------
| For Installation of Oracle Portal Application server first we have
| install Infrastructure 
 --------------

Install the following packages: 
===============================
        
        1. setarch-1.3-1.i386.rpm
        2. sysstat-4.0.7-4.i386.rpm
        3. openmotif21-2.1.30-8.i386.rpm
        4. ORBit-0.5.17-10.4.i386.rpm
        5. libpng10-1.0.13-8.i386.rpm
        6. gnome-libs-1.4.1.2.90-34.1.i386.rpm
        7. compat-glibc-7.x-2.2.4.32.5.i386.rpm
        8. compat-glibc-7.x-2.2.4.32.5.i386.rpm
        9. compat-gcc-7.3-2.96.122.i386.rpm
        10.compat-gcc-c++-7.3-2.96.122.i386.rpm 
        11.compat-libstdc++-7.3-2.96.122.i386.rpm 
        12.compat-libstdc++-devel-7.3-2.96.122.i386.rpm
        
        
        Using the Following Command : 
        
        rpm -Uvh setarch-1.3-1.i386.rpm \
         sysstat-4.0.7-4.i386.rpm \
         openmotif21-2.1.30-8.i386.rpm \
         ORBit-0.5.17-10.4.i386.rpm \
         libpng10-1.0.13-8.i386.rpm \
         gnome-libs-1.4.1.2.90-34.1.i386.rpm \
         compat-glibc-7.x-2.2.4.32.5.i386.rpm \
         compat-gcc-7.3-2.96.122.i386.rpm \
         compat-gcc-c++-7.3-2.96.122.i386.rpm \
         compat-libstdc++-7.3-2.96.122.i386.rpm \
         compat-libstdc++-devel-7.3-2.96.122.i386.rpm 
        
        
        
Put gcc296 and g++296 first in $PATH variable by creating the following
symbolic links: 

        mv /usr/bin/gcc /usr/bin/gcc323
        mv /usr/bin/g++ /usr/bin/g++323
        ln -s /usr/bin/gcc296 /usr/bin/gcc
        ln -s /usr/bin/g++296 /usr/bin/g++
        
Install the 3006854 patch: 
===========================

        unzip p3006854_9204_LINUX.zip
        cd 3006854
        sh rhel3_pre_install.sh
        
        
Create the new groups and users: 
================================

        groupadd oinstall
        groupadd dba
        groupadd oper
        useradd -g oinstall -G dba -s /bin/ksh oracle
        passwd oracle
        
Create the directories in which the Oracle software will be installed: 
======================================================================

        mkdir -p /oracle/product/infra
        mkdir -p /oracle/product/portal
        chown -R oracle.oinstall /oracle
        
Reboot the machine.
        
Login as root and issue the following command: 
==============================================
        xhost +<machine-name>
        
Login as the oracle user and add the following lines at the end of the
.profile file: 
        
        # Oracle Settings
        TMP=/tmp; export TMP
        TMPDIR=$TMP; export TMPDIR
        
        ORACLE_BASE=/oracle; export ORACLE_BASE
        ORACLE_HOME=$ORACLE_BASE/product/infra; export ORACLE_HOME
        ORACLE_TERM=xterm; export ORACLE_TERM
        PATH=/usr/sbin:/opt/j2sdk/bin:$PATH; export PATH
        PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/opmn/bin; 
export PATH
        PATH=$PATH:$ORACLE_HOME/Apache/Apache/bin; export PATH
        LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
        CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; 
export CLASSPATH
        
        if [ $USER = "oracle" ]; then
          if [ $SHELL = "/bin/ksh" ]; then
            ulimit -p 16384
            ulimit -n 16384
          else
            ulimit -u 16384 -n 16384
          fi
        fi
        
        PS1="`hostname`> "
        set -o emacs
        set filec

Infrastructure Installation: 
============================

Log into the oracle user. If you are using X emulation then set the
DISPLAY environmental variable: 

        DISPLAY=<machine-name>:0.0; export DISPLAY

Start the Oracle Universal Installer (OUI) by issuing the following
command in the Disk1 directory: 
        
        ./runInstaller

During the installation select the appropriate ORACLE_HOME for
infrastructure (904_infra) and select the infrastructure installation.

Post Infrastructure Installation: 
=================================

On completion of the infrastructure installation 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. Check that all the components are started before
proceeding to the portal installation. 


Portal Installation:
====================

Log into the oracle user. If you are using X emulation then set the
DISPLAY environmental variable: 
        
        DISPLAY=<machine-name>:0.0; export DISPLAY

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

        ./runInstaller
        
During the installation select the appropriate ORACLE_HOME for portal
(portal) and select the application server installation, with the portal
and wireless option.


Post Portal Installation: 
=========================

On completion of the portal installation connect to enterprise manager
and check the portal components are all started before you proceed to
test portal.

Portal Usage:
============

With all the services running you can start using portal at the
following URL:

http://<fully-qualified-machine-name>:7778/pls/portal

The port number for portal can vary depending on the installation but it
is recorded in the "portal/Apache/Apache/setupinfo.txt" file.

Once at this page you can login using either "portal", the portal DBA
user, or "portal_admin", the portal administrator user. The passwords
will be the value assigned during the installation.

Starting and Stopping Services:
===============================

It is recommended that the services are always started and stopped using
Enterprise Manager Website. If this cannot be done for some reason they
can be started and stopped manually as follows: 
        
        # Start everything
        dbstart
        lsnrctl start
        agentctl start
        oidmon start
        oidctl server=oidldapd instance=1 configset=1 start
        dcmctl start -cl
        emctl start iasconsole
        
        # Stop everything
        emctl stop iasconsole
        dcmctl shutdown
        oidctl server=oidldapd instance=1 configset=1 stop
        oidmon stop
        agentctl stop
        lsnrctl stop
        dbshut


I hope that the above notes helps and find easy to install Oracle
Application Server 10g (9.0.4) for the Portal On RedHat Advanced Server
3.0. 

Thanks and Regards,

S. Ramesh Kumar. 

Executive - Customer Support for Linux,
Altosys Software Technologies,
5th Floor, Pottipatti Plaza,
77 Nungambakkam High Road,
Chennai - 600 034.
Ph: 91-44-28203548 { Ext 121 }
Hp: 91-98414 72949
Fax:9144-8203552.
rameshkumar@xxxxxxxxxxxxx 
www.altosys.co.in 



Other related posts:

  • » [Ilugc] REG: Help for Installation of Oracle Application Server 10g (9.0.4) On RedHat Advanced Server RHEL 3.0 - S.Ramesh Kumar