oracledba.help
Legacy

LINUX Oracle 12.1 Prep Cheat Sheet

<- Legacy

  - Clone base Linux 7.x
  - Stop Firewall
  - Run Oracle's Preinstallation rpm (AKA OraRpm)
    Reboot
  - Disable SELINUX: /etc/selinux/config
    Reboot
  - Set Hostname and add /etc/hosts Entries
    vi /etc/sysconfig/network 
    Reboot
  - Kernel Parameters = DO NOTHING!!! Rely on OraRpm for now.
  - Make Limits file changes: /etc/security/limits.conf
    -- Commented out memlock for now.
    Reboot

  - Create Groups and Users
  - Create Directories
    Reboot

  > zeroconf = already done via OraRpm.

  - Install Dependencies\Packages
    Reboot

  - Edit nproc: /etc/security/limits.d/90-nproc.conf
  - Install NTP (uninstalling chrony)

  - Create Dirs, Copy|Unzip Files, Install Common rpms
    mkdir /u01/orasw/database
    mkdir /u01/orasw/grid
    mkdir /u01/orasw/rpm
    mkdir /u01/orasw/patches

    cp /media/sf_software/Oracle/12.1.0.2/Linux/linuxamd64_12102_database* /u01/orasw/
    cp /media/sf_software/Oracle/12.1.0.2/Linux/linuxamd64_12102_grid* /u01/orasw/
    cp /media/sf_software/Oracle/rpm/* /u01/orasw/rpm/

    chown -R oracle:oinstall /u01/orasw/database
    chown -R grid:oinstall   /u01/orasw/grid
    chown -R oracle:oinstall /u01/orasw/rpm
    chown oracle:oinstall    /u01/orasw/patches
    chmod -R 775 /u01/

    cd u01/orasw/rpm
    rpm -ivh flash-player-npapi-24.0.0.186-release.x86_64.rpm
    rpm -ivh rlwrap-0.42-1.fc22.x86_64.rpm
    rpm -ivh sshpass-1.06-2.fc26.x86_64.rpm

    su - oracle
    cd /u01/orasw
    unzip linuxamd64_12102_database_1of2.zip
    unzip linuxamd64_12102_database_2of2.zip
    (Unzips to /u01/orasw/oracle)

    su - grid
    cd /u01/orasw
    unzip linuxamd64_12102_grid_1of2.zip
    unzip linuxamd64_12102_grid_2of2.zip
    (Unzips to /u01/orasw/grid)

This many reboots probably not needed.