How to Install Oracle Linux 5.6 (Step by Step Guide)

Oracle Linux, formerly known as Oracle Enterprise Linux, is a Red Hat Enterprise Linux-compatible distribution, repackaged and distributed by Oracle, available under the GNU General Public License (GPL) since late 2006. Oracle Linux can be freely downloaded from Oracle’s E-delivery service (

I’ll show how to install Oracle Linux 5.6. First you need to download the DVD (or CDs) from edelivery website and burn them. Then insert your Oracle Linux media in your CD/DVD drive and reboot your system (be sure to set your computer to boot from the CD/DVD drive).

Oracle Linux installer should boot as shown in the figure below:

Hit enter key to start the installation.

On the welcome screen the installation process will prompt you to check and test your installer. You can select OK to test your media, or select skip to continue installing.

On the Graphical Interface, click on the next button.

Select your language and click next.

Select your keyboard layout and click next.

You see the hard disk partitioning section. I’ll select the “remove all partitions on selected drive and create default layout” and “the preview and modify the partition layout” then click next.

As you see, the installer created a LVM (Logical Volume Manager) group and created 2 volumes for root and swap. Click next to continue.

We do not change the GRUB loader settings, click next.

In the network devices screen, set the hostname and static IP address (because we will use this system with Oracle RDBMS) and click next.

Select the your region and location on the next screen. You can use the map to select your location.

Enter the Root (the administrator account) password, click next.

In the software selection screen, select “customize now” and click next.

In software package groups, find “Base system” and mark “System Tools”, then click “optional packages”.

Select the oracle-validated package so our system will have the required users, groups and software packages to install Oracle RDBMS. Thanks Oracle! Click “close” and click next.

Click next to begin the installation.

Wait for the system to finish the installation.

After finishing the installation, remove the DVD (the installation media) and click reboot.

You see the welcome screen. After 3-4 steps, installation will be done. Click forward.

Accept the license agreement (why don’t you install it if you’ll not accept the license agreement?), click forward.

Disable firewall (you can enable it later if you wish), click next.

Disable SELinux (you can enable it later if you wish, but I do not recommend you to enable it while working with Oracle software), click next.

If you don’t care about 128 KB memory (on my test system I have only 2 GB), enable kdump. I’ll not use it for this installation. Click forward.

Check if date and time information is correct, click forward.

You can create a new user for daily usage, but we don’t need it because oracle-validated package already created the user oracle for us.

Click forward until you see the finish button. Click “finish”, your system will be rebooted.

Oracle Linux is ready to go!

Please share

AWS Big Data Specialist. Oracle Certified Professional (OCP) for EBS R12, Oracle 10g and 11g. Co-author of "Expert Oracle Enterprise Manager 12c" book published by Apress. Awarded as Oracle ACE (in 2011) and Oracle ACE Director (in 2016) for the continuous contributions to the Oracle users community. Founding member, and vice president of Turkish Oracle User Group (TROUG). Presented at various international conferences including Oracle Open World.


  1. venkata kosuri

    Hi Gokhan,

    I have seen your guide with nice information, I thought i want to share my scenaria and I need help in getting Oracle Linux installed on my  laptop Inspiron 1545 Dual Core formatted to start installation for Oracle Linux not as VM.  I downloaded the 6.3 Oracle Linux from  e Down Load on another laptop having Windows 7 work station . Burn the ISO files to DVD using Nero Software. After I started installation it is going good till the screen password for the root when I started to install the software installtion with basic video driver. I asked to format the drive to use all space as I want to have the laptop to run on linux only. After the disk formated I am getting the following error

    “Unable to read package metadata. This may be due to a missing repodata directory. Please ensure that your install tree has been correctly generated.

    Cannot retrieve repository metada (repomd.xml)for repository:anaconda-OracleLinux Server -201206261930.x86_64. Please verify its path and try again.”

    Please let me know your thoughts.




    • Gokhan Atil

      Venkata, please verify the integrity of your DVD before you start the installation. It may be corrupted when downloading.

  2. mohammad

    Hi Gokhan,
    Thanks alot for share your information.
    i have a problem, i have 3 operating system
    such as fedora, windows 7 and windows 8.1.
    i afraid for my vital information.
    in oracle linux installation and install grub, what can i do that this linux distribution replace with fedora with no affect for my previous gruab boot loader.
    im so sorry because i dont speak much english.
    im waiting for your answer.
    all the best.

  3. rena

    Hello! Hi we are evaluating oracle ebs, since we got one requirement from our client. we had installed the oracle ebs in oracle linux. Now we need to write queries and access the oracle ebs database. since we are very new to the oracle ebs system. please help us were to write SQL query and access the data from oracle ebs database. Thanks.

  4. Indradhanu

    Hi Gokhan,

    I have two issue.

    Can I install Weblogic Server 11g here?
    If Yes do i need to install JDK or JDK will be installed during installation of oracle linux 5.6.

    Thank you.

    • Gokhan Atil

      Hi Indradhanu,

      You can use My Oracle Support certification page to check which weblogic versions are certified for Oracle Linux 5 series. You need to install proper JDK before you install weblogic (please refer the installation documents).

  5. WOLDU

    Hi sir,

    I am interesting in your all documents

    and your support regarding oracle.

    I wanna to bother you to help me about how to transfer data from

    windows 7 to my oracle_Linux vmware machine( bidirectional).

    I am using installing the vmware machine in my win7 and the oracle_Linux too.

    please send me a step by step to do that through my email address.

    thanks in advance.

Leave Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.