Oracle Apps R12.1 Installation on Linux

Create a Virtual Machine with 200 GB space and 10 GB Ram and 16 Gb Swap. I have used Virtual box for creating the machine.

I am using OEL 6.4 version.

Refer to the below link for installation of the Virtual box and OEL 6.4



Once the server is prepared we have to set up the rpm's and other pre-reqs.


1) I will install RPM's using oracle public repository.

cd /etc/yum.repos.d

Move all present repo files to backup directory.

mkdir bkp
mv *.repo bkp/

Download oracle public repository repo file.

wget http://public-yum.oracle.com/public-yum-ol6.repo

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]

name=Oracle Linux $releasever Latest ($basearch)

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]

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

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]

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

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

2) Install the RPMS now using below command.

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

Once the pre-reqs are installed. We can verify the users.


[himanshu@ebs122 stage]$ id oracle

uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba)

[himanshu@ebs122 stage]$ id applmgr

uid=54322(applmgr) gid=54321(oinstall) groups=54321(oinstall)

Add applmgr to dba group as well.


[himanshu@ebs122 stage]$ sudo usermod -aG dba applmgr

[himanshu@ebs122 stage]$ id applmgr

uid=54322(applmgr) gid=54321(oinstall) groups=54321(oinstall),54322(dba)



Also change password for oracle and applmgr user.

3) Verify swap size in 16GB or more 

free -m

4) Link to Motif library in Oracle Application Server 10.1.2

unlink /usr/lib/libXtst.so.6

ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6

For http issue:

ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2

5) Make sure hostname entry is present in the below file
192.168.56.11 ebs122.lab ebs122
6)Make the below changes in limits.conf.


/etc/security/limits.conf:
---------------
 * hard nofile 65536
 * soft nofile 4096
 * hard nproc 16384
 * soft nproc 2047
 * hard stack 16384
 * soft stack 10240

7) Create /etc/oraInst.loc file and put the below content in it.

inventory_loc=/u01/oracle/oraInventory 
inst_group=dba 

8) Login as root on server and make a directory. This directory will be used for database and application base.

mkdir /ebs121
chown oracle:dba /ebs121
chmod 777 /ebs121

9) Copy all the file downloaded from Oracle e-delivery for R12.1 on a directory and unzip them from root one by one. After unzipping you will see the structure.

himanshu@himanshu-LIFEBOOK-A555:~/Downloads/APPS12.1$ ls
B53824-01_1of4.zip  V15682-01_1of3.zip  V15685-01_3of3.zip  V15690-01_2of3.zip
B53824-01_2of4.zip  V15682-01_2of3.zip  V15686-01_1of3.zip  V15690-01_3of3.zip
B53824-01_3of4.zip  V15682-01_3of3.zip  V15686-01_2of3.zip  V15691-01_1of3.zip
B53824-01_4of4.zip  V15683-01_1of3.zip  V15686-01_3of3.zip  V15691-01_2of3.zip
B53825-01.zip       V15683-01_2of3.zip  V15687-01_1of3.zip  V15691-01_3of3.zip
V15680-01_1of3.zip  V15683-01_3of3.zip  V15687-01_2of3.zip  V35224-01_1of3.zip
V15680-01_2of3.zip  V15684-01_1of3.zip  V15687-01_3of3.zip  V35224-01_2of3.zip
V15680-01_3of3.zip  V15684-01_2of3.zip  V15688-01_1of2.zip  V35224-01_3of3.zip
V15681-01_1of3.zip  V15684-01_3of3.zip  V15688-01_2of2.zip
V15681-01_2of3.zip  V15685-01_1of3.zip  V15689-01.zip
V15681-01_3of3.zip  V15685-01_2of3.zip  V15690-01_1of3.zip
[root@ebs122 APPS12.1]$ ls
acrobat      md5sum_Linux64.txt  r12_check_result.txt  uncon.sh
autorun.inf  oraAppDB            R12_Doc.xls           V35224-01_1of3.zip
current      oraApps             readme.html           wget.sh
html         oraAS               readme.txt
images       oraDB               ShelExec.exe
index.html   R121_Doc.xls        startCD


10) Go in StartCd and kick-off rapidwiz from root user only.

[root@ebs122 rapidwiz]$ pwd
/ebs121/APPS12.1/startCD/Disk1/rapidwiz
[root@ebs122 rapidwiz]$ ls
adautostg.pl   driver  images  oui           RapidWiz.ini         template
bin            etc     jlib    rapidwiz      RapidWizVersion      unzip
ClientWiz.cmd  File    jre     RapidWiz.cmd  RapidWizVersion.cmd

11) Now you will screen the user interactive screen and mention the required values and start the installation process.




















12) Once the installation is done, please verify the application version from the below query
SQL> select release_name from apps.fnd_product_groups;

RELEASE_NAME
--------------------------------------------------
12.1.1

Please feel free to ask any queries in the comment section.

If you like please follow and comment