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.
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 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.
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:
[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
3. Install the R12 pre-reqs using below command
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)
6. Link to Motif library in Oracle Application Server 10.1.2
[root@funoracleapps ~]# ls -ltr /usr/lib/libXtst.so.6
lrwxrwxrwx. 1 root root 16 Feb 21 11:57 /usr/lib/libXtst.so.6 -> libXtst.so.6.1.0
[root@funoracleapps ~]# unlink /usr/lib/libXtst.so.6
[root@funoracleapps ~]# ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6
[root@funoracleapps ~]# ls -ltr /usr/lib/libXtst.so.6
lrwxrwxrwx. 1 root root 29 Mar 27 07:57 /usr/lib/libXtst.so.6 -> /usr/X11R6/lib/libXtst.so.6.1
Change Permissions to oracle
chown -R oracle:dba /u01/oracle/oraInventory
chmod -R 777 /u01/oracle/oraInventory
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 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.
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:
[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
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.
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.
/etc/security/limits.conf:
---------------
* 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/libXtst.so.6
ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6
[root@funoracleapps ~]# ls -ltr /usr/lib/libXtst.so.6
lrwxrwxrwx. 1 root root 16 Feb 21 11:57 /usr/lib/libXtst.so.6 -> libXtst.so.6.1.0
[root@funoracleapps ~]# unlink /usr/lib/libXtst.so.6
[root@funoracleapps ~]# ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6
[root@funoracleapps ~]# ls -ltr /usr/lib/libXtst.so.6
lrwxrwxrwx. 1 root root 29 Mar 27 07:57 /usr/lib/libXtst.so.6 -> /usr/X11R6/lib/libXtst.so.6.1
7. Set your inventory location under /etc/oraInst.loc as
inventory_loc=/u01/oracle/oraInventory
inst_group=dba
[root@funoracleapps ~]# cat /etc/oraInst.loc
inventory_loc=/u01/oracle/oraInventory
inst_group=dba
[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
Post a Comment
Post a Comment