Linux OS Installation

<- Install


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.

If in Virtualbox use right Ctrl key to move mouse outside of window.

OS Disk

 Role            Size
 App Server    = 128gb
 Oracle Server = 160gb *
  • Why so much for Oracle? Patches.
  • Optimally 250gb may be a good investment if you need to scale from Oracle 12.1 to 18c.


 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


  • Go to the Oracle Software Delivery Cloud and download Oracle Linux:
    1. Select: Popular Downloads
    2. Select: Oracle Linux <VersionYouWant>
      Example: Oracle 7.x
      It will say Added to Cart once clicked.
    3. Select: Selected Software
    4. Accept License
    5. Select DL Option
      Example: [x] V921569-01.iso Oracle Linux Release 7 Update 4 for x86 (64 bit), 4.6 GB


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

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

2. Welcome\Language

Continue accepting the default.

3. Installation Summary

(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)   130 GiB (or more: see /u01 & /u02 below)
/swap                  18 GiB 
/home                  10 GiB
Make sure to select after each change then
/swap can show as less than 16b in some tools (thus 18gb used). Oracle will complain if less than 16gb with production RAM values.
Initially while in the configuration window you can set /home to smaller values 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).
Disable if test system.
RAC configuration example here.
   [Configure] each as shown:
         [x] Automatically connect to this network when it is available.
       IPv4 Settings
         Method: Manual
         Select [Add]:\

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


• While install running you can set root password.
• On a modern system process should take about 10 minutes.
• Select when prompted.
  • Accept license from console screen. In some instances it may present a GUI for this.
  • Select .
  • Post Boot Prompts
    • Welcome: English
    • Typing: English
    • Privacy -> Location Services: OFF
    • Time Zone: <Your TZ> Ex: EDT (UTC-04) New York, United States
  • About You
    Full Name: lnxuser
    Password: ********

Post Installation

Perform the LINUX OS Prep for an Oracle database system.


Aliases - Common

# Aliases - Common
alias cl='crontab -l'
alias l9='ls -alt | head -9' 
alias l20='ls -alt | head -20'
alias l50='ls -alt | head -50'
alias tf='date;ls -l|wc -l'

RAC Network Example

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

    [x] Automatically connect to this network when it is available.
  IPv4 Settings
    Method: Manual