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

How to Install Oracle 11g R2 Database on Ubuntu 14.04 Trusty LTS 64-bit Easy Guide | Users & Directories Set-Up

March 9, 2016 | By the+gnu+linux+evangelist.

<< 2/6 Previous Step – Oracle 11g DB Installation on Ubuntu 14.04 64-bit
.

The article contains the necessary instructions to install the Ubuntu 14.04 Trusty Oracle 11g Database Setting Up Users & Directories.

Oracle 11g DB Installation on Ubuntu 14.04 Trusty | 3/6 Setting Up Users & Directories

  1. Add Groups and User

    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. Make Target Directories

    mkdir -p /u01/app/oracle/product/11.2.0/
    chown -R oracle:oinstall /u01
    chmod -R 775 /u01
  3. Unzip, Set oracle as Owner and Relocate database

    cd /home/[myUser]/Downloads
    unzip linux_11gR2_database_1of2.zip
    unzip linux_11gR2_database_2of2.zip
    chown -R oracle:oinstall database
    mv database /tmp



  4. Add Paths to oracle’s .bashrc

    Login as Oracle

    su oracle

    Edit .bashrc file

    nano ~/.bashrc

    Insert:

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

    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/6 Next Step – Oracle 11g DB Installation on Ubuntu 14.04 64-bit >>.