11.5.9 on rhel 4.5

14
8/14/2019 11.5.9 on rhel 4.5 http://slidepdf.com/reader/full/1159-on-rhel-45 1/14 Oracle Applications (11.5.9) Installation on Enterprise Linux 4.5 This article is intended as a brief guide to installing Oracle Applications (11.5.9) on Enterprise Linux 4.5. The article is based on a server installation with a minimum of 2G swap, secure Linux disabled and the following package groups installed: X Window System GNOME Desktop Environment Editors Graphical Internet Server Configuration Tools Development Tools Administration Tools System Tools Alternative base installations may require additional packages to be loaded. Download Software Unpack Files Hosts File Set Kernel Parameters Setup Installation Post Installation Shutdown/Startup Rapid Installation Wizard Portal Download Software Download two additional packages from Metalink Patch 4198954 . Make sure an appropriate Java JDK (1.3.1) is available on the system. Unpack Files First unzip the Oracle patch: unzip p4198954_21_LINUX.zip Next, create a staging area for the Oracle Applications software: mkdir /Stage11i cd /Stage11i # Start Here - Disk 1 mkdir -p startCD/Disk1 # APPL_TOP - Disk 1-7 mkdir -p oraApps/Disk1 mkdir -p oraApps/Disk2 mkdir -p oraApps/Disk3 mkdir -p oraApps/Disk4

Upload: mahipalkr

Post on 30-May-2018

226 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 11.5.9 on rhel 4.5

8/14/2019 11.5.9 on rhel 4.5

http://slidepdf.com/reader/full/1159-on-rhel-45 1/14

Oracle Applications (11.5.9) Installation on Enterprise Linux4.5

This article is intended as a brief guide to installing Oracle Applications (11.5.9) on Enterprise Linux 4.5.The article is based on a server installation with a minimum of 2G swap, secure Linux disabled and the

following package groups installed:

• X Window System• GNOME Desktop Environment• Editors• Graphical Internet• Server Configuration Tools• Development Tools• Administration Tools• System Tools

Alternative base installations may require additional packages to be loaded.

• Download Software• Unpack Files• Hosts File• Set Kernel Parameters• Setup• Installation• Post Installation• Shutdown/Startup• Rapid Installation Wizard Portal

Download Software

Download two additional packages from Metalink Patch 4198954 .

Make sure an appropriate Java JDK (1.3.1) is available on the system.

Unpack Files

First unzip the Oracle patch:unzip p4198954_21_LINUX.zipNext, create a staging area for the Oracle Applications software:mkdir /Stage11icd /Stage11i

# Start Here - Disk 1mkdir -p startCD/Disk1

# APPL_TOP - Disk 1-7mkdir -p oraApps/Disk1mkdir -p oraApps/Disk2mkdir -p oraApps/Disk3mkdir -p oraApps/Disk4

Page 2: 11.5.9 on rhel 4.5

8/14/2019 11.5.9 on rhel 4.5

http://slidepdf.com/reader/full/1159-on-rhel-45 2/14

mkdir -p oraApps/Disk5mkdir -p oraApps/Disk6mkdir -p oraApps/Disk7

# RDBMS - Disk 1-4mkdir -p oraDB/Disk1mkdir -p oraDB/Disk2mkdir -p oraDB/Disk3mkdir -p oraDB/Disk4

# Tools - Disk 1-3mkdir -p oraiAS/Disk1mkdir -p oraiAS/Disk2mkdir -p oraiAS/Disk3

# Databases - Disk 1-21mkdir -p oraAppDB/Disk1mkdir -p oraAppDB/Disk2mkdir -p oraAppDB/Disk3mkdir -p oraAppDB/Disk4

mkdir -p oraAppDB/Disk5mkdir -p oraAppDB/Disk6mkdir -p oraAppDB/Disk7mkdir -p oraAppDB/Disk8mkdir -p oraAppDB/Disk9mkdir -p oraAppDB/Disk10mkdir -p oraAppDB/Disk11mkdir -p oraAppDB/Disk12mkdir -p oraAppDB/Disk13mkdir -p oraAppDB/Disk14mkdir -p oraAppDB/Disk15mkdir -p oraAppDB/Disk16mkdir -p oraAppDB/Disk17mkdir -p oraAppDB/Disk18mkdir -p oraAppDB/Disk19mkdir -p oraAppDB/Disk20mkdir -p oraAppDB/Disk21Copy the contents of all the CDs into the appropriate directories.

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.shmmax = 2147483648kernel.shmmni = 100kernel.shmall = 2097152# semaphores: semmsl, semmns, semopm, semmnikernel.sem = 100 256 100 100fs.file-max = 327679kernel.hostname = testapps01.localdomain #<--- full qualified hostname !!

Page 3: 11.5.9 on rhel 4.5

8/14/2019 11.5.9 on rhel 4.5

http://slidepdf.com/reader/full/1159-on-rhel-45 3/14

kernel.domainname = localdomain #<--- correct domain name !!Run the following command to change the current kernel parameters:/sbin/sysctl -pAdd the following lines to the /etc/security/limits.conf file:oracle soft nofile 65536oracle hard nofile 65536

oracle soft nproc 16384oracle hard nproc 16384

Setup

The following additional packages are required. Depending on the update/respin version of EnterpriseLinux, the exact package versions and locations may vary.alsa-lib-devel-*audiofile-devel-*compat-db-*compat-gcc-32-3*compat-gcc-32-c++-3*compat-libcwait-2*

compat-libgcc-296-2*compat-libstdc++-296-2*compat-oracle-rhel4-1*esound-0*esound-devel-0*fontconfig-devel-2*freetype-devel-2*gcc-3*gcc-c++-3*glib-1*glib-devel-1*gnome-libs-1*gnome-libs-devel-1*gtk+-devel-1*gtk2-devel-2*imlib-1*imlib-devel-1*jdk-1*libaio-0*libaio-devel-0*libjpeg-devel-*libtiff-devel-*libungif-devel-*libungif-progs-*make-3*openmotif21*ORBit-devel-*xorg-x11-deprecated-libs-6*xorg-x11-deprecated-libs-devel-6*xorg-x11-devel-*Due to all the package inter-dependencies, it probably makes sense to copy all these packages from theCDs to a single directory, then install then using the following command. For convenience, I wrapped allthe necessary packages for an OEL 4.5 installation into a single tar file (11i-rh4-rpms.tar), makingsubsequent installations much simpler.rpm -Uvh *.rpmInstall the packages associated with Patch 4198954 :

Page 4: 11.5.9 on rhel 4.5

8/14/2019 11.5.9 on rhel 4.5

http://slidepdf.com/reader/full/1159-on-rhel-45 4/14

cd 4198954rpm -Uvh compat-oracle-rhel4-1*rpm -Uvh compat-libcwait-2*Create the new groups and users:groupadd oinstallgroupadd dba

groupadd opergroupadd apache

useradd -g oinstall -G dba oraclepasswd oracle

useradd -g oinstall -G apache apachepasswd apacheCreate the directories in which the Oracle software will be installed:mkdir -p /u01chown -R oracle:oinstall /u01Login as the oracle user and add the following line at the end of the .bash_profile file:# Oracle 9iLD_ASSUME_KERNEL=2.4.19; export LD_ASSUME_KERNEL

Installation

Log into the oracle user. If you are using X emulation then set the DISPLAY environmental variable:DISPLAY=<machine-name>:0.0; export DISPLAYStart the Rapid Install Wizard by issuing the following commands:cd /Stage11i/startCD/Disk1/rapidwiz/chmod u+x rapidwiz./rapidwizFollow any instructions and rerun as requested. The Rapid Installation Wizard installation is shown below.

1. Accept the "Install Oracle Aplications" option by clicking the "Next" button.

Page 5: 11.5.9 on rhel 4.5

8/14/2019 11.5.9 on rhel 4.5

http://slidepdf.com/reader/full/1159-on-rhel-45 5/14

2. Select the "Single Node" option, then click the "Next" button.

3. Enter the database name of your choice, in this case I used "PLAY", and select the "fresh installdatabase" option as the database type. Then click the "Next" button.

Page 6: 11.5.9 on rhel 4.5

8/14/2019 11.5.9 on rhel 4.5

http://slidepdf.com/reader/full/1159-on-rhel-45 6/14

4. Accept the "Use E-Business Suite" licensing option by clicking the "Next" button.

5. Select the relevant country from the list, then click the "Next" button.

6. Select the appropriate language support, territory and characterset for the installation, then clickthe "Next" button.

Page 7: 11.5.9 on rhel 4.5

8/14/2019 11.5.9 on rhel 4.5

http://slidepdf.com/reader/full/1159-on-rhel-45 7/14

7. Enter the appropriate directory for the components being loaded. In this installation, all I did wasreplace the initial mount point for each item with "/u01" on each entry.

8. Check the derived settings, making sure the location of the JDK (1.3.1) is correct, then click the"Next" button.

Page 8: 11.5.9 on rhel 4.5

8/14/2019 11.5.9 on rhel 4.5

http://slidepdf.com/reader/full/1159-on-rhel-45 8/14

9. Check the instance settings, then click the "Next" button.

10. Note the location of the config files. It's worth taking a copy of this file as it comes in hady whenreloading or upgrading the software. Click the "Next" button.

Page 9: 11.5.9 on rhel 4.5

8/14/2019 11.5.9 on rhel 4.5

http://slidepdf.com/reader/full/1159-on-rhel-45 9/14

11. Wait for the system checks to complete.

Page 10: 11.5.9 on rhel 4.5

8/14/2019 11.5.9 on rhel 4.5

http://slidepdf.com/reader/full/1159-on-rhel-45 10/14

12. Assuming all the system checks were completed successfully, click the "Next" button.

13. Click the "Next" button on the installation summary screen.

Page 11: 11.5.9 on rhel 4.5

8/14/2019 11.5.9 on rhel 4.5

http://slidepdf.com/reader/full/1159-on-rhel-45 11/14

14. Click the "Yes" button to start the installation.

15. Wait while the installation takes place.

Page 12: 11.5.9 on rhel 4.5

8/14/2019 11.5.9 on rhel 4.5

http://slidepdf.com/reader/full/1159-on-rhel-45 12/14

16. Assuming all the post-install checks are successful, click the "Next" button.

17. Click the "Finish button to exit the Rapid Install Wizard.

Post Installation

Adjust the following paths and commands by replacing "play" and "PLAY" with the database name youchose during the installation.

Add the following into the "/home/oracle/.bash_profile" file.DB_HOME=/u01/oracle/playdb/9.2.0; export DB_HOMEIAS_HOME=/u01/oracle/playora/iAS; export IAS_HOME

Page 13: 11.5.9 on rhel 4.5

8/14/2019 11.5.9 on rhel 4.5

http://slidepdf.com/reader/full/1159-on-rhel-45 13/14

APACHE_HOME=$IAS_HOME/Apache/Apache; export APACHE_HOMEAPPL_TOP=/u01/oracle/playappl; export APPL_TOPCOMMON_TOP=/u01/oracle/playcomn; export COMMON_TOPCLIENT_HOME=/u01/oracle/playora/8.0.6; export CLIENT_HOMETo switch environments, move to the appropriate home directory and run the environment script, like:cd $DB_HOME

. ./PLAY_testapps01.env

Shutdown/Startup

Adjust the following paths and commands by replacing "play" and "PLAY" with the database name youchose during the installation.

To shutdown the system issue the following commands.cd $COMMON_TOP/admin/scripts/PLAY_testapps01/./adstpall.sh apps/apps

cd $DB_HOME. ./PLAY_testapps01.env

cd $ORACLE_HOME/appsutil/scripts/PLAY_testapps01./addlnctl.sh stop PLAY./addbctl.sh stop immediateTo start the system issue the following commands.cd $DB_HOME. ./PLAY_testapps01.envcd $ORACLE_HOME/appsutil/scripts/PLAY_testapps01./addlnctl.sh start PLAY./addbctl.sh start

cd $COMMON_TOP/admin/scripts/PLAY_testapps01/./adstrtal.sh apps/apps./adcmctl.sh start apps/apps

Rapid Installation Wizard Portal

Once the installation is complete, the Rapid Installation Portal can be accessed using the followinginformation.

• URL: http://machine-name:8000• Username: SYSADMIN• Password: SYSADMIN

The front screen of the portal is shown below.

Page 14: 11.5.9 on rhel 4.5

8/14/2019 11.5.9 on rhel 4.5

http://slidepdf.com/reader/full/1159-on-rhel-45 14/14

To change the SYSADMIN passowrd do the following:

• Log in to the eBusiness Suite homepage as SYSADMIN• Click on the "preferences" link (top-right).• Enter the old and new passwords.

For more information see:

• Installing Oracle Applications• 11.5.9 Documentation

Hope this helps. Regards Tim.