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

How to Install and Getting Started on Oracle 11g R2 X64 Database for Fedora 17 X86_64 Lxde Easy Visual-Guide

October 12, 2012 | By Duchateaux.

This an Easy and Step-by-Step Guide to Install the Oracle 11g R2 x64 Database on Fedora 17 Lxde 64-bit Desktop.

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

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

How to Install and Getting Started on Oracle 11g R2 X64 Database for Fedora 17 X86_64 Lxde Easy Visual-Guide

    Download the Oracle 11g R2 Database:

    The Link Contains the List of Oracle 11g r2 Database Releases.
  1. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Fedora Linux 16-17 Lxde Open Terminal

    In case first see: Terminal QuickStart Guide.

  2. Login as SuperUser:

    Copy
    su 

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

  3. Make Network Configuration

    Check you hostname and IP is on /etc/hosts.

    Get your hostname:

    Copy
    hostname

    Get your IP:

    You will Find your Ip under the Output “lo” Section.

    Copy
    /sbin/ifconfig

    Check if Hostname and IP are already inserted into the Enabled Hosts File.

    Copy
    cat /etc/hosts

    If It’s Not Present then Insert it!

    Copy
    nano /etc/hosts

    Insert: .

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

    Example: ‘127.0.0.1 localhost.localdomain localhost’
    Add you Host IP to the List of Hosts Granted of Connection with the X Server

    Copy
    xhost +yourIP

    Example: #xhost +127.0.0.1

  4. Install dependencies

    Copy
    sudo yum install binutils glibc compat-libstdc++-33 glibc-common 
    glibc-devel glibc-headers elfutils-libelf elfutils-libelf-devel
    /nelfutils gcc gcc-c++ ksh libaio libaio-devel libgcc libstdc++-devel
    make numactl-devel sysstat mksh unixODBC unixODBC-devel

  5. Add Groups and User

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

    Take Note of the oracle User Pass :)

  6. Create the directories where Oracle will be installed and give right ownership and permission

    Copy
    mkdir -p /u01/app/oracle/product/11.2.0/
    Copy
    chown -R oracle:oinstall /u01
    Copy
    chmod -R 775 /u01

  7. Set Kernel’s Parameters

    Copy
    nano /etc/sysctl.conf

    Then hit Ctrl+x to Save and Exit from nano EditorAdd or amend the following lines in the /etc/sysctl.conf file.

    #### Oracle 11g Kernel Parameters ####
    fs.suid_dumpable = 1
    fs.aio-max-nr = 1048576
    fs.file-max = 6815744
    kernel.shmall = 818227
    kernel.shmmax = 4189323264
    kernel.shmmni = 4096
    # semaphores: semmsl, semmns, semopm, semmni
    kernel.sem = 250 32000 100 128
    net.ipv4.ip_local_port_range = 9000 65500
    net.core.rmem_default=262144
    net.core.rmem_max=4194304
    net.core.wmem_default=262144
    net.core.wmem_max=1048576

    Comment out these lines below than give an error
    #net.bridge.bridge-nf-call-ip6tables = 0
    #net.bridge.bridge-nf-call-iptables = 0
    #net.bridge.bridge-nf-call-arptables = 0

    Copy
    nano /etc/security/limits.conf

    Add the following lines to the /etc/security/limits.conf file.

    #### oracle User Settings 4 Oracle 11g ####
    /noracle soft nproc 2047
    /noracle hard nproc 16384
    /noracle soft nofile 1024
    /noracle hard nofile 65536
    /noracle soft stack 10240

    Copy
    nano /etc/selinux/config

    Disable Secure Linux by editing the /etc/selinux/config file, making sure the SELINUX flag is set as follows.

    Copy
    SELINUX=disabled

    Run the following command to Load the New Kernel Parameters.

    Copy
    /sbin/sysctl -p

  8. Unzip the Oracle 11g Database, Set oracle as Owner and Move it into the oracle’s Home

    Copy
    cd </path/2>
    Copy
    unzip linux_11gR2_database_1of2.zip
    Copy
    unzip linux_11gR2_database_2of2.zip
    Copy
    chown -R oracle:oinstall database
    Copy
    mv database /home/oracle

  9. Add Paths to oracle’s .bashrc
    Login as Oracle

    Copy
    su oracle

    Edit .bashrc file

    Copy
    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

    Latest and Optional to Add Full Env-Integration edit also oracle’s .bashrc.

    Copy
    nano ~/.bashrc

    Inserting.

    Copy
    if [ -f ~/.bashrc ]; then
    source ~/.bashrc
    fi
  10. Install the Oracle 11g Database Software
    Copy
    cd /home/oracle/database
    Copy
    ./runInstaller

    If you Get: “Check if the DISPLAY variable is set. Failed”. Look Link Below.

    Link2+ Oracle 11g Database Troubleshooting.

    Linux Start Oracle 11g R2 Installation

    On the first screen If you Do Not Dispose of an Oracle Subscription Just Leave Blank eMail and Un-Check the Demand of Security Update Support then Click on Next
    Linux Oracle 11g R2 Installation Step 1 - Disabling Security Updates

    Then Confirm on Warning and Follow.
    Linux Oracle 11g R2 Installation - Confirm on Missing eMail Warning

    On “Select Installation Option” Select “Install database software only” and Click on Next
    Linux Oracle 11g R2 Installation Step 2 .

    On Step 3 Leave Default “Single instance database installation” and Click on Next
    Linux Oracle 11g R2 Installation Step 3 .

    On Step 4 Select your Language and Click on Next
    Linux O racle 11g R2 Installation Step 4 .

    On Step 5 Leave Default Enterprise Edition and Click on Next
    Linux Oracle 11g R2 Installation Step 5

    On “Installation Location” Set All As Here Below and Click on Next

    • Oracle Base: /u01/app/oracle

    • Software Location: /u01/app/oracle/product/11.2.0/dbhome_1

    .

    These are the Same Settings Inserted into the .bashrc File…

    Linux Oracle 11g R2 Installation Step 6

    On “Create Inventory” if you Setup the Path on .bashrc Like Here Leave Default and Click on Next
    Linux Oracle 11g R2 Installation Step 7 .

    On “Operating System Groups” if you Setup the Path on .bashrc Like Here Leave Default and Click on Next
    Linux Oracle 11g R2 Installation Step 8 .

    On “Prerequisite Checks” you will Get Easily a “Warning Message” about some Missing Requirements
    Linux Oracle 11g R2 Installation Step 9 .

    On the “Summary” Click on “Save Response File” to Take Note of Settings and then Click on Finish
    Linux Oracle 11g R2 Installation Step 10 .

    The Installation Product Procedure should Start…

  11. Solve Error in invoking target agent nmhs of makefile
    How to Solve Error in invoking target agent nmhs of makefile

    Oracle 11g Error in Invoking Target Agent nmhs of makefile

  12. Executing Scripts

    Right Before the End of Process a Pop-Up Window will Show the Path to Two Configuration Scripts you Need to Execute on Terminal!.

    Linux Oracle 11g R2 Installation Step 11

    Latest Oracle Should Confirm you of a Successful Installation End.) Linux Oracle 11g R2 Installation Step 12 .

  13. Here Create and Run a Listener for Oracle 11g
    How to Correctly Create and Run a Listeneron Oracle 11g Database
  14. Linux Penguin Oracle 11g
  15. Here Create an Oracle 11g Database
    How to Create a Database on Oracle 11g
After you Should Access the “Enterprise Manager” on Browser by the URL shown on the Latest Screen.
On a Localhost for Example you Should Access the Enterprise Manager by the Address:

Copy
https://127.0.0.1:1158/em

And you can Login with:
Username: SYS
Password: oracleDatabasePassword
From the Drop-down below Select >> Connect as SYSDBA
You Should be able to Access the Database by the Enterprise Manager!

How Managing, Start & Stop Oracle 11g R2 Database by SQLPlus Commands
Here SQLPlus Oracle 11g DB Quick Start
Link to Step-by-Step Easy Visual Guide for Quick Start Managing the Oracle 11g R2 Database by SQLPlus on Fedora Linux.

Oracle 11g Database Troubleshooting Guides

Enjoy this “Step by Step” Clear Installation and Getting Started…
Good Luck! :)