In previous post we have learned to installed OEL. Now we will be configuring/making ready our Linux System for Oracle Apps R12.2

Installing Guest Addition and update our system. These are optional steps which I am performing to make the navigation from host easy and system stable.

Click on Devices and Select Insert Guest Additions CD.



Click Ok and it will open terminal and run Guest Additions.



Once Completed hit enter and restart the system.
Then open terminal and execute yum update and it will update the OS and libraries.

Oracle Apps R12.2 pre-req install steps.

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.

Make the following changes to yum.repos.d :

Install the rpm using public-yum:

1. As an authorized user (such as root), retrieve the file that configures repository locations:
# cd /etc/yum.repos.d
# wget

With Oracle Linux 6 installation there would be defualt file present. Backup that file and download new as per above command.

For Oracle Linux 5, users should replace ‘public-yum-ol6.repo’ with ‘public-yum-el5.repo’ above.

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:

name=Oracle Linux $releasever Latest ($basearch)






name=Oracle Linux $releasever Add ons ($basearch)






name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)





3. Install the R12 pre-reqs using below command

yum install oracle-ebs-server-R12-preinstall.x86_64

Make sure internet connection is working fine. Once the pre-reqs are installed. We can verify the users.

[root@funoracleapps log]# id oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba)
[root@funoracleapps log]# id applmgr
uid=54322(applmgr) gid=54321(oinstall) groups=54321(oinstall)

Add appplmgr to dba group as well.

[root@funoracleapps log]# usermod -aG dba applmgr
[root@funoracleapps log]# id applmgr
uid=54322(applmgr) gid=54321(oinstall) groups=54321(oinstall),54322(dba)

Change the password for oracle and applmgr user.

4. Check the swap Memory. It should be 16 GB. I have provided 20GB.

[root@funoracleapps ~]# grep SwapTotal /proc/meminfo

SwapTotal:      20479996 kB

5.  Make sure below values are setup in configuration files.

 * hard nofile 65536
 * soft nofile 4096
 * hard nproc 16384
 * soft nproc 2047
 * hard stack 16384
 * soft stack 10240

6. Link to Motif library in Oracle Application Server 10.1.2

unlink /usr/lib/
ln -s /usr/X11R6/lib/ /usr/lib/

[root@funoracleapps ~]# ls -ltr /usr/lib/

lrwxrwxrwx. 1 root root 16 Feb 21 11:57 /usr/lib/ ->

[root@funoracleapps ~]# unlink /usr/lib/

[root@funoracleapps ~]# ln -s /usr/X11R6/lib/ /usr/lib/

[root@funoracleapps ~]# ls -ltr /usr/lib/
lrwxrwxrwx. 1 root root 29 Mar 27 07:57 /usr/lib/ -> /usr/X11R6/lib/

7. Set your inventory location under /etc/oraInst.loc as  

[root@funoracleapps ~]# cat /etc/oraInst.loc

[root@funoracleapps u01]# mkdir -p /u01/oracle/oraInventory
[root@funoracleapps u01]# chmod 755 -R /u01/oracle/oraInventory
[root@funoracleapps u01]# 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

<< Previous Chapter                                                                                                 Next Chapter >>