oracledba.help works great on your mobile device too!

oracledba.help

Linux OS Installation

<- Install

Overview

What follows is the most common way to perform a core Linux OS installation for an Oracle production system. Adjust as required for your environment. After this install you will want to perform the LINUX OS Prep for Oracle 12c. Interface names (eth1, eth2 etc.) may be different in your environment.

SWAP Size

1gb to 2gb     = 1.5 times the size of the RAM
2gb to 16gb    = Equal to the size of the RAM
More than 16gb = 16 GB

Prerequisites

  • You have downloaded the ISO for the installation.
  • You have at least 75gb to allocate for the / (root) partition.
    Why so much? Patches. If you dont need to apply Oracle patches 50gb may do.

Procedure

0. Boot from the ISO.
1. Select installation option:

Ex: Install Oracle Linux 7.4 Enter
OS Installer\Boot runs...

2. Welcome\Language

Continue accepting the default.

3. Installation Summary

Software Selection
(x) Server with GUI
[x] Development Tools
After above set select .

System (disk partitioning)
Partitioning: (x) I will configure partitioning - then select .
Click: "Click here to create them automatically"
Change Partitioning as follows (minimum values shown):
/ (root file system)   50 GiB (or more: see /u01 & /u02 below)
/swap                  17 GiB 
/home                  25 GiB
Make sure to select after each change then
/swap can show as less than 16b in some tools (thus 17gb used). Oracle will complain if less than 16gb with production RAM values.
Initially while in the configuration window you can set /home to 10 GiB to make space available.
/u01 & /u02
Though you do not have to allocate partitions for these now, adding these here for completeness.
/u01/app     Oracle application binaries and support files.
/u01/orasw   Oracle software and patch file location.
/u01/scripts DBA scripts.

/u02 Exports, RMAN backups, wallets.
/u01 & /u02 can be created as directories off /(root) if enough space is provided (assuming you have a modern SAN).
KDUMP
Disable if test system.
Network & Hostname
RAC configuration example here.
   [Configure] each as shown:
     eth1
       General: 
         [x] Automatically connect to this network when it is available.
       IPv4 Settings
         Method: Manual
         Select [Add]: 192.168.56.71\255.255.255.0

   Host name: (Example: lnx01) [Apply]
• If VirtualBox, set interfaces for NAT and Host-only Adapter to Automatic (DHCP).
• After above set select .

Select

• While install running you can set root password.
• On a modern system process should about 10 minutes.
  • Accept license from console screen. In some instances it may present a GUI for this.
  • Select .
  • Post Boot Prompts
    • Set language: English
    • Typing: English
    • Privacy: Off (disables sharing system geo location)
    • Time Zone: <Your TZ> Ex: EDT (UTC-04) New York, United States

Post Installation

  1. Update OS.
    root> yum update -y
  2. Perform the LINUX OS Prep for an Oracle database system.

RAC Network Example

  • A system to be a RAC node requires two interfaces:
    1. One for the public network (ex: 192.168.56.71).
    2. One for the privet network (ex: 192.168.10.1).
  • Change IPs to match your environment.
eth1
  General: 
    [x] Automatically connect to this network when it is available.
    IPv4 Settings
    Method: Manual
    [Add] 192.168.56.71\255.255.255.0

eth2
  General: 
    [x] Automatically connect to this network when it is available.
  IPv4 Settings
    Method: Manual
     [Add] 192.168.10.1\255.255.255.0