$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Install Oracle 12c R1 Database on Linux Mint 18.x LTS 64-bit Easy Guide | Users & Directories Set-Up

February 18, 2017 | By the+gnu+linux+evangelist.

<< 2/5 Previous Step – Oracle 12c DB Installation on Mint 18.x 64-bit
.

The article contains the necessary instructions about How to install the Oracle 12c Database on Linux Mint 18.x Sarah/Serena/Sonya/Sylvia Setting Up Users & Directories.

Oracle 12c DB Installation on Mint 18.x
3/5 Setting Up Users & Directories




  1. Add Needed Oracle DB Groups and User

    sudo su

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

    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 :)

  2. Making the Target Directories

    mkdir -p /u01/app/oracle/product/12/dbhome_1
    chown -R oracle:oinstall /u01
    chmod -R 775 /u01
  3. Extracting the Oracle 12c Archive
    Double-Click or Right-Click on Archive and Extract into /tmp.

    Linux Oracle 12c Database Extraction
    Or From Command Line:

    unzip -d /tmp linuxamd64_12c_database*.zip
  4. Set DB Directory Permissions

    chown -R oracle:oinstall /tmp/database



  5. Add Paths to oracle’s .bashrc.

    Login as Oracle

    su oracle

    Then Edit the .bashrc file

    nano ~/.bashrc

    Append:

    # Oracle Settings/nexport TMP=/tmp;/nexport TMPDIR=$TMP; /nexport ORACLE_HOSTNAME=[HOSTNAME]; /nexport ORACLE_BASE=/u01/app/oracle;/nexport ORACLE_HOME=$ORACLE_BASE/product/12/dbhome_1; /nexport ORACLE_SID=[DBSID]; /nexport ORACLE_UNQNAME=$ORACLE_SID;/nexport PATH=/usr/sbin:$ORACLE_HOME/bin:$PATH; /nexport LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/lib64; /nexport CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
    

    Replace [HOSTNAME] with IP and [DBSID] with SID Name

    In this Example Respectively:

    • HOSTNAME = 127.0.0.1

    • DBSID = SID

    Load New .bashrc Settings

    bash



4/5 Next Step – Oracle 12c DB Installation on Mint 18.x 64-bit >>.