Professional Documents
Culture Documents
2 installation on OEL 7
Hardware Requirements:
I will be using Linux (OEL 7.x) to do this installation. All the guidelines will be related
to Linux platforms.
Software Requirement:
Installing Oracle Virtual Box and setting the required network adapters and
storage.
Installing Oracle Linux and configuring required RPM's and configuring pre-
required setups for Oracle Linux.
Creating stage area for Oracle Apps R12.2
Installing Oracle Apps R12.2 and verification.
OS Prerequisites
Kernel Requirements
The following table lists the required minimum kernel versions (to determine
version, enter: $ uname -r):
2.6.32-131.0.15.el6, 2.6.32-
Oracle Linux 6
100.34.1.el6uek1
2.6.32-131.0.15.el6, 2.6.32-
Red Hat Enterprise Linux 6
100.34.1.el6uek1
Operating
Packages requirements
System
Swap Space
Kernel Settings
Edit the /etc/sysctl.conf file to configure your kernel settings to the minimum
values shown below. After editing the file, use the "sysctl -p" command or restart
the system to invoke the new settings.
The following table lists the kernel settings that should be set for the OS:
Parameter Value
kernel.semmsl 2561
kernel.semmns 320001
kernel.semopm 1001
kernel.semmni 1421
kernel.shmall 20971524
kernel.shmmni 4096
kernel.msgmax 8192
kernel.msgmnb 65535
kernel.msgmni 2878
fs.file-max 6815744
fs.aio-max-nr 1048576
net.ipv4.tcp_tw_recycle 05
net.core.rmem_default 262144
net.core.rmem_max 4194304
net.core.wmem_default 262144
net.core.wmem_max 1048576
Two Domain Name System (DNS) resolver parameters (timeout and attempts)
are set by default to low values when the operating system is installed. These
low values may cause network connections to an Oracle database to fail. If this
happens, add or update the following entries to these minimum settings in
the /etc/resolv.conf file on each server node:
options attempts:5
options timeout:15
For Oracle Linux 6, 7, and 8 and Red Hat Enterprise Linux 6, 7 and 8:
Open the /etc/security/limits.conf file and change the existing ulimit settings for
"hard" and "soft" parameters as follows. Restart the system after making
changes.
Create required link to Motif library (Oracle Linux 7 and 8, RHEL 7 and 8, and
SLES 12 only)
Perform the following command (as root on your system) to create a required
link to the Motif library for Oracle Forms and Reports:
# cd /usr/lib
# ln -s libXm.so.4.0.4 libXm.so.2
Check for per-requisite rpms and libraries. I will use automatic method (yum) as
below for checking and installing required rpms for Oracle Apps R12.2. It will also
create user oracle and applmgr.
1. As an authorized user (such as root), retrieve the file that configures repository
locations:
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-ol6.repo
With Oracle Linux 6 installation there would be defualt file present. Backup that file
and download new as per above command.
2. Using a text editor, change the field ‘enabled=0’ to ‘enabled=1’ for the repositories
corresponding to the machine’s operating system while also enabling the ‘addons’
channel. Here’s an example of a repo file’s entries:
[ol6_latest]
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1
[ol6_addons]
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/addons/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1
[ol6_UEK_latest]
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1
Make sure internet connection is working fine. Once the pre-reqs are installed. We
can verify the users.
# id oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba)
# id applmgr
uid=54322(applmgr) gid=54321(oinstall) groups=54321(oinstall)
SwapTotal: 20479996 kB
unlink /usr/lib/libXtst.so.6
ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6
#unlink /usr/lib/libXtst.so.6
#cat /etc/oraInst.loc
inventory_loc=/u01/oracle/oraInventory
inst_group=dba
#mkdir -p /u01/oracle/oraInventory
#chmod 755 -R /u01/oracle/oraInventory
#ls -ld /u01/oracle/oraInventory
drwxr-xr-x. 2 root root 4096 Mar 27 08:03 /u01/oracle/oraInventory
Change Permissions to oracle
chown -R oracle:dba /u01/oracle/oraInventory
chmod -R 777 /u01/oracle/oraInventory
After unzipping the above 3 zip files we will see a folder created with startCD name.
# ls -ld startCD
Note: During installation rapidwiz might error with the unzip version if it higher than
5.5x.
The startCD provide us with correct version of the unzip. We will use same.
mv /usr/bin/unzip /usr/bin/unzip_orig
ln -s /stage/startCD/Disk1/rapidwiz/unzip/Linux_x64/unzip /usr/bin/unzip
Check version
unzip -version
We will build stage now which will automatically take care of all unzipping all other
zip file and checking its integrity.
# pwd
/stage/startCD/Disk1/rapidwiz/bin
# ls -ltr buildStage.sh
Select Option 1