8i | 9i | 10g | 11g | 12c | 13c | 18c | 19c | 21c | 23c | Misc | PL/SQL | SQL | RAC | WebLogic | Linux

Home » Articles » 10g » Here

Oracle Application Server 10g (9.0.4) Installation On RedHat Advanced Server 2.1

In this article I'll describe the installation of Oracle Application Server 10g (9.0.4), Oracle's J2EE Application Server, on RedHat Advanced Server 2.1. The article assumes you've performed the standard advanced server installation including the development tools. The base release of the kernel does not support Oracle AS 10g so you must run up2date before proceeding.

Download Software

Download the following software.

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.

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.

*               soft    nproc   16384
*               hard    nproc   16384
*               soft    nofile  65536
*               hard    nofile  65536

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

session    required     pam_limits.so


Install the following packages.

# From RedHat AS2.1 Disk 1
cd /mnt/cdrom/RedHat/RPMS
rpm -Uvh openmotif-2.1.30-11.i386.rpm

# From RedHat AS2.1 Disk 2
cd /mnt/cdrom/RedHat/RPMS
rpm -Uvh pdksh-5.2.14-13.i386.rpm
rpm -Uhh compat-glibc-6.2-

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 /u01/app/oracle/product/904_j2ee
chown -R oracle.oinstall /u01

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

ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/904_j2ee; export ORACLE_HOME
PATH=/usr/sbin:/opt/IBMJava2-131/bin:$ORACLE_HOME/bin:$PATH; export PATH
PATH=$PATH:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/opmn/bin; export PATH
PATH=$PATH:$ORACLE_HOME/Apache/Apache/bin; export PATH


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

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


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.


During the installation enter the appropriate ORACLE_HOME and name then continue with the installation.

Post Installation

With the installation complete you can perform any administration tasks using Enterprise Manager.

For more information see:

Hope this helps. Regards Tim...

Back to the Top.