How-to Install Oracle 12c Database on Linux Mint 18.x 64bit Easy Guide

February 18th, 2017 by thelinuxevangelist

Oracle 12c Database Quick-Start for Mint 18.x 64bit

Hello Mint User! This Tutorial Shows You Step-by-Step and Visually How-to Install and Getting-Started on Oracle 12c Database for Linux Mint 18.x Sarah/Serena/Sonya/Sylvia LTS Amd64 GNU/Linux Desktop.

Ubuntu-like Systems are Not in the List of Oracle 12c Database Supported OS So you should Be Careful and Use It At Most for Development and Not As Production Database Server!

The Guide Include All the Essentials Commands and Basic Screenshots of the Installation Process.

The Process is somewhat Extended and Advanced and so it require a little confidence with the Command Line shell.

Now Relax and Take the Time of Reading, Understanding and Executing Carefully the Instructions Contained here.

Install Oracle 12c Database on Mint 18.x 64bit - Featured

With more than 500 new features, Oracle Database 12c is designed to give Oracle customers exactly what they need for Cloud Computing, Big Data, Security, and Availability.

The Best Oracle 12c Database New Features:

Oracle 12c DB Installation on Mint 18.x
1/5 Initial Configuration

  1. Download the Oracle 12c Database for Linux:
    Oracle 12c .zip for Linux
    The Link Contains the List of Oracle 12c Database Releases.

  2. Open a Shell Terminal emulator window
    (Press “Enter” to Execute Commands)

    Getting-Started with Oracle 12c Database on Mint 18.x 64bit - Open Terminal
  3. Add Needed Oracle DB Groups and User

    sudo su

    If Got “User is Not in Sudoers file” then Look: Solution

    groupadd -g 502 oinstall
    groupadd -g 503 dba
    groupadd -g 504 oper
    groupadd -g 505 asmadmin
    useradd -u 502 -g oinstall -G dba,asmadmin,oper -s /bin/bash -m oracle
    passwd oracle

    Take Note of the oracle User Pass :)

  4. Setting up DB Directory Permissions

    chown -R oracle:oinstall /tmp/database
  5. Make Network Configuration

    • Get hostname:

    • Get IP:


      You will Find It Under the lo >> inet Section.

    • Check if Hostname is Already into the Enabled Hosts File.

      cat /etc/hosts

      If It’s Not Present then Insert it with:

      nano /etc/hosts


      Example: ‘ localhost.localdomain’

      Ctrl+Shift+v to Paste Content into nano
      Ctrl+x to Save and Exit
      from nano Editor :)

    • Grant Connection to X Server

      xhost +myIP

      Example: # xhost +

  6. Make Target Directories

    mkdir -p /u01/app/oracle/product/12/dbhome_1
    chown -R oracle:oinstall /u01
    chmod -R 775 /u01
  7. Parameters Configuration SetUp

    • Edit /etc/sysctl.conf file.

      nano /etc/sysctl.conf

      Then hit Ctrl+x to Save and Exit from nano Editor
      Add or amend the following lines

      #### Oracle 12c Kernel Parameters ####
      fs.suid_dumpable = 1
      fs.aio-max-nr = 1048576
      fs.file-max = 6815744
      kernel.shmall = 2097152
      kernel.shmmax = 536870912
      kernel.shmmni = 4096
      # semaphores: semmsl, semmns, semopm, semmni
      kernel.sem = 250 32000 100 128
      net.ipv4.ip_local_port_range = 9000 65500

      If Exists then Comment out these lines below that Gives an Error

      #net.bridge.bridge-nf-call-ip6tables = 0
      #net.bridge.bridge-nf-call-iptables = 0
      #net.bridge.bridge-nf-call-arptables = 0
    • Edit /etc/security/limits.conf file.

      nano /etc/security/limits.conf

      Add the following lines

      #### oracle User Settings 4 Oracle 12c ####
      oracle       soft  nproc  2047
      oracle       hard  nproc  16384
      oracle       soft  nofile 1024
      oracle       hard  nofile 65536
      oracle       soft  stack  10240
    • Load the New Kernel Parameters.

      /sbin/sysctl -p

Follow with Mint 18.x Oracle 12c DB Installation | 2/5 Installing Packages >>

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,