Sunteți pe pagina 1din 13

Installation of Application Server on

OEL 5
Galaxy Specific

Installation of Application Server on OEL 5


Author: Mangesh D Bedare
Creation Date: 08/08/2009
Last Updated On:
Version No: Draft

Copyright 2008 Neumann Systems Consultancy Private Limited, India (http://www.nscpl.com).


All rights reserved. Strictly Company Confidential. Controlled copy is printed in color.

Page 1/13

Installation of Application Server on


OEL 5
Galaxy Specific

Brief Introduction
This document describes the process of Oracle Application Server 10.2 on Oracle Enterprise Linux
5.

Document Change History


Version Date

Action / Description of Change

Responsible Person

Draft

Draft version released

Mangesh D Bedare

08/08/09

Table of Contents
Section Subsection Particulars
A

Introduction

Prerequisite

Installation of Infrastructure

Installation of Application

Configuring Application Server of Galaxy

Copyright 2008 Neumann Systems Consultancy Private Limited, India (http://www.nscpl.com).


All rights reserved. Strictly Company Confidential. Controlled copy is printed in color.

Page

Page 2/13

Installation of Application Server on


OEL 5
Galaxy Specific

A. Introduction
I.

Purpose
This document describes the process of Oracle Application Server 10.2 on Oracle Enterprise
Linux 5.

II.

Scope
This is specific to Galaxy and NSCPL customer environment.

Copyright 2008 Neumann Systems Consultancy Private Limited, India (http://www.nscpl.com).


All rights reserved. Strictly Company Confidential. Controlled copy is printed in color.

Page 3/13

Installation of Application Server on


OEL 5
Galaxy Specific

B. Prerequisite
I.
II.

Logon to the server with root user


Check whether all following packages installed

binutils-2.16.91.0.5-23.4
gcc-4.1.0-28.4
gcc-c++-4.1.0-28.4
glibc-devel-2.4-31.2
libgcc-4.1.0-28.4
libstdc++-devel-4.1.0-28.4
libstdc++-4.1.0-28.4
make-3.80-202.2
compat-db 4.1.25-9
libaio-0.3.96 (x86_64)
eg. rpm -qa | grep binutils

Copyright 2008 Neumann Systems Consultancy Private Limited, India (http://www.nscpl.com).


All rights reserved. Strictly Company Confidential. Controlled copy is printed in color.

Page 4/13

Installation of Application Server on


OEL 5
Galaxy Specific

III.

Issue following command on command line


# ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
If an error occurs stating that libdb.so.2 already exists, it may be from a previous 10.1.3
installation. In this case, either move the file for backup and create the symbolic link or
skip this step to see if the following problem occurs.
Without this symbolic link, httpd will give the following error:
httpd: error while loading shared libraries: libdb.so.2:
cannot open shared object file: No such file or directory
With this link in place, httpd should start up successfully in OEL 5.0 or RHEL 5.0

IV.

Install following RPMs using rpm command


xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm and
openmotif21-2.1.30-11.EL5.i386.rpm

Commands are:

# rpm -i xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
# rpm -i openmotif21-2.1.30-11.EL5.i386.rpm

After the RPM, is installed, you will also need to override the /usr/lib/libXtst.so.6 with the one
from /usr/X11R6/lib/libXtst.so.6. As root, issue the commands:
# mv /usr/lib/libXtst.so.6 /usr/lib/libXtst.so.6.ORG
Create a new symbolic link again using following command
# ln s /usr/X11R6/lib/libXtst.so.6 /usr/lib/libXtst.so.6
Note: Don't copy command, You have to type it manually.

Copyright 2008 Neumann Systems Consultancy Private Limited, India (http://www.nscpl.com).


All rights reserved. Strictly Company Confidential. Controlled copy is printed in color.

Page 5/13

Installation of Application Server on


OEL 5
Galaxy Specific

V.

Edit file /etc/hosts using any standard editor like kedit or vi as given below
127.0.0.1
203.127.5.85

localhost.localdomail
galaxy.erp.com

dlocalhost
galaxy

Spaces above indicate a TAB character. Put appropriate IP of the server instead of 203.127.5.85.
Save above file after making necessary changes. This action will take you back to the terminal screen
displaying # prompt.

Copyright 2008 Neumann Systems Consultancy Private Limited, India (http://www.nscpl.com).


All rights reserved. Strictly Company Confidential. Controlled copy is printed in color.

Page 6/13

Installation of Application Server on


OEL 5
Galaxy Specific

VI.

Edit /etc/sysctl.conf using any standard editor like kedit or vi.


Set value of kernel.shmmax = 4294967295
(if RAM is more than 4G set it to 8589934590)
Add following parameters at the end of file
kernel.shmmni = 4096
kernel.sem = 256 32000 100 148
fs.file-max = 206173
net.ipv4.ip_local_port_range = 1024 65000
kernel.msgmni = 2878
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144

VII.

Apply the changes so far by issuing command sysctl p <Enter>.

Copyright 2008 Neumann Systems Consultancy Private Limited, India (http://www.nscpl.com).


All rights reserved. Strictly Company Confidential. Controlled copy is printed in color.

Page 7/13

Installation of Application Server on


OEL 5
Galaxy Specific

VIII. Edit /etc/security/limits.conf file using any standard editor like kedit or vi. Append the file
by adding lines as given below.
*
*
*
*

soft
hard
soft
hard

nproc
nproc
nofile
nofile

2047

16384
2047
65536

Spaces above indicate a TAB character. Save the file after making necessary changes. This
action will take you back to the terminal screen displaying # prompt.

Copyright 2008 Neumann Systems Consultancy Private Limited, India (http://www.nscpl.com).


All rights reserved. Strictly Company Confidential. Controlled copy is printed in color.

Page 8/13

Installation of Application Server on


OEL 5
Galaxy Specific

IX.

Edit /etc/pam.d/login file using any standard editor like kedit or vi. Append the file by
adding lines as given below.

session

required

/lib/security/pam_limits.so

Spaces above indicate a TAB character. Save the file after making necessary changes. This
action will take you back to the terminal screen displaying # prompt.

Copyright 2008 Neumann Systems Consultancy Private Limited, India (http://www.nscpl.com).


All rights reserved. Strictly Company Confidential. Controlled copy is printed in color.

Page 9/13

Installation of Application Server on


OEL 5
Galaxy Specific

X.

Add a group by issuing command groupadd oinstall <Enter> at the # prompt. Successful group
creation will display # prompt again without any message.
Add a group by issuing command groupadd dba <Enter> at the # prompt. Successful group
creation will display # prompt again without any message.
Add a user by issuing command useradd -g oinstall -G dba oracle <Enter> at the # prompt.
Successful user creation will display # prompt again without any message.
Change password of newly created account by issuing command passwd oracle <Enter> at the
# prompt. Enter new password as oracle<Enter> and on confirmation enter oracle <Enter> again.
Ignore the warning given immediately after entry of the new password. Successful password change
will display # prompt again without any messages after confirming password.
Create two new directories on root by issuing command as mkdir /u01 /u02 <Enter>.
Successful execution of command will display the # prompt.
Change owner and mode of two required folders by issuing following commands at the # prompt

chown R oracle.oinstall /u01 <Enter>


chmod R 777 /u01 <Enter>
chown R oracle.oinstall /u02 <Enter>
chmod R 777 /u02 <Enter>

Successful change will display # prompt again without any messages after each command.
Copyright 2008 Neumann Systems Consultancy Private Limited, India (http://www.nscpl.com).
All rights reserved. Strictly Company Confidential. Controlled copy is printed in color.

Page 10/13

Installation of Application Server on


OEL 5
Galaxy Specific

XI.

Login to server as a Oralce user and make new directory as appinstall under /u01 folder
mkdir /u01/appinstall <Enter>
Successful creation will display $ prompt again without any message.

XII.

Copy all four media / cpio to /u01/appinstall newly created directory

XIII. Extract all media by issuing cammands on $ prompt as


cat as_linux_x86_portal_wireless_101202_disk1.cpio | cpio
cat as_linux_x86_portal_wireless_101202_disk2.cpio | cpio
cat as_linux_x86_portal_wireless_101202_disk3.cpio | cpio
cat as_linux_x86_portal_wireless_101202_disk4.cpio | cpio

-icd
-icd
-icd
-icd

Note: The name of cpio file may differ. Put the actual file name instead of
as_linux_x86_portal_wireless_101202_disk*.cpio
Successful completion of each command will display $ prompt again with a message of how many
blocks extracted by the command. It will lead to create new folders as Disk1, Disk2, Disk3 & Disk4.

XIV.

Copy Patch folder supplier by NSCPL to /u01/appinstall/Disk1 folder

XV.

Execute xhost + command by root user, It will disable the access control.

XVI.

Verify the xclock command working on $ prompt as Oracle user. If not working set DISPLAY
environment variable with appropriate value

Copyright 2008 Neumann Systems Consultancy Private Limited, India (http://www.nscpl.com).


All rights reserved. Strictly Company Confidential. Controlled copy is printed in color.

Page 11/13

Installation of Application Server on


OEL 5
Galaxy Specific

C. Installation of Infrastructure
I.

Issue following command on $ prompt of Oracle user

./runInstaller PREREQ_CONFIG_LOCATION=/u01/appinstall/Disk1/Patch/prereq -paramfile


/u01/appinstall/Disk1/Patch/oraparam.ini
II.
III.

Copyright 2008 Neumann Systems Consultancy Private Limited, India (http://www.nscpl.com).


All rights reserved. Strictly Company Confidential. Controlled copy is printed in color.

Page 12/13

Installation of Application Server on


OEL 5
Galaxy Specific

D. Standard Methodology
I.

Version Control

II.

Work flow with Scheduling

Sr.

Date

Action

Person

Action Performed
(Yes/No)

Remarks

Table S03 Workflow

III.

Review

IV.

Implementation and Maintenance

V.

Guidelines

VI.

See Also

VII.

Checklists

Sr.

Check

Is the document completely according to NSCPL documentation standards.

Is spell check done for the document.

Is Link given from Table of Contents to actual detail document.

Is Review Document updated


Table S04 Checklists

Copyright 2008 Neumann Systems Consultancy Private Limited, India (http://www.nscpl.com).


All rights reserved. Strictly Company Confidential. Controlled copy is printed in color.

Page 13/13

S-ar putea să vă placă și