Professional Documents
Culture Documents
finelearn.com
Contents
1. Introduction .................................................................................................................................... 3
1.1 Configure Hostname ................................................................................................................ 3
1.2 Installing Oracle Preinstall RPM ................................................................................................ 3
1.3 Create Directories and Change Ownership, Permissions ........................................................... 4
1.4 Manage users and groups (RAC) ............................................................................................... 4
1.5 Install other Packages............................................................................................................... 5
1.6 Verify Kernel Parameters and User Limits................................................................................. 5
1.7 Disable Firewall ........................................................................................................................ 5
1.8 Configure oraInst.loc ................................................................................................................ 5
1.9 Run orachk (Optional) .............................................................................................................. 5
1.10 Check Documentation .............................................................................................................. 6
1. Introduction
This document helps you configure Oracle Linux 7 machine (or VM) for installing any Oracle Software.
• Check the hostname using “hostname” commands and if you need to change then use:
For example, If you want to change the hostname for EBS Installation, you can set as below:
• Configure /etc/hosts
The Preinstall Package of Oracle not only helps you to configure your Linux machine for Oracle Database
but also for any Oracle Software such as Oracle Fusion Middleware, Enterprise Manager etc.
For installing Oracle E-Business Suite, you need to enable addon in /etc/yum.repos.d/oracle*:
yum install oracle-ebs-server-R12-preinstall
https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/index.html
In this VM, I will be installing Oracle Database 12c and Oracle EBS R12 Pre-install RPMs:
Based on the purpose of the VM, the permissions need to be given. Below example is for a database
machine. If you are running Oracle EBS application tier, you need to keep applmgr as the owner.
Oracle recommends using separate user for Grid Infrastructure. Verify the “oracle” user and create
“grid” user similarly as below:
passwd oracle
passwd grid
passwd applmgr
1.5 Install other Packages
You can install any optional packages based on the requirement. I will be installing below:
Preinstall RPMs configure all the required prerequisites for the Oracle user such as Kernel Parameters
related to Shared Memory, Semaphore settings and User Limits.
These should have already been updated by the pre-install RPMs installed.
Based on your requirement, you can disable the firewall to ensure that the connectivity between
application and database does not have any issues. In real-time, organizations usually open only specific
ports for connectivity.
Oracle Central Inventory stores the information about all the Oracle Software installed on the system.
The location of the Central Inventory is stored in /etc/oraInst.loc. Create the file as below:
vi /etc/oraInst.loc
inventory_loc=/u01/app/oraInventory
inst_group=oinstall
chmod 777 /etc/oraInst.loc
You can download orachk tool from “My Oracle Support” and run it. This is optional.
https://support.oracle.com/rs?type=doc&id=1268927.2
./orachk -profile preinstall
If you need more details related to a different operating system etc., please refer to Oracle
Documentation i.e. https://docs.oracle.com
Some links:
https://docs.oracle.com/en/database/oracle/oracle-database/index.html
For 12c:
https://docs.oracle.com/database/121/nav/portal_11.htm
For 19c:
https://docs.oracle.com/en/database/oracle/oracle-database/19/install-and-upgrade.html