27 February 2013


This post will be very basic, the goal is to end with the iso of Oracle Linux on your local machine.

The version we will use here, will be Oracle Linux 6.3 x86_64, at some point will update the post to cover OL 6.4

This post will be divided in the following parts

  • 1 Some general information
  • 2 Downloading OL6 ISO from the mirrors
  • 3 Downloading OL6 ISO from e-delivery.oracle.com
  • 4 Patches or yum repository

Part 1

Some general information

A good source of information is the Oracle Linux Wiki

You will find useful information written from people close to Support, Marketing, etc.

Oracle is a big company, so expect them to be sometimes slow, or some times you won't understand them at all.

Is not just a Linux Company, is a end-to-end, or disk-to-app company. They do a lot of things, and keep buying companies to expand they offer. Real business.

Oracle, keep changing all the time, and the way they go to the market, keep changing also.

This can be very frustrating for the new starterts, and a total challenge for the experts, but is part of the magic to work with Oracle.

There is not secret formula, there is no single source of truth with Oracle, what may work for someone, may not work at all for someone else.

And more important, what used to work, now doesn't work at all.

Work with oracle require, test, test, test, test, test, test, test.

The best advise that I can share is, be nice, gentle and keep what you do under control.

If you are a bit messy in the test environment, then your dev environment will be a bit dirty, and when the time to push something into production came, you will be forced to acknowledge to put something in production that is not 100% nice.

This may sound silly, and you may be thinking 'whatever, I am the linux ninja in my company' but in the Oracle world, the idea is keep the business running, keep the system up and running, and get uptime.

So I will share, a clean way, and will try to share my expertise here, and If you can use anything of this, I will be happy.

In the about page, you will find my name, couple of links and my email. All feedback is welcome.

Part 2

Downloading OL6 ISO from the mirrors

From the Oracle Wiki, we can find there is a list of mirrors from where download Oracle Linux.

This is very nice, as you may have a mirror close to you, and it will be faster and simpler than using the Oracle Way.

As I am writing this, the mirror available are:

Country     Mirror 
AU          AARnet  


DE          NetCologne
            Institut de recherche et coordination acoustique/musique
            University of Warsaw - ICM
US          Wimmekes.net

With great surprise I found this information when I had to download couple of isos.. I am located in NZ, and the internet here.. you get the idea.. so the mirror in Australia did the trick.

As an additional tip, the mirror on Wimmekes.net is one of the Senior VP of Oracle Linux, so chances that something show up there before the public-yum.oracle.com are very high time by time.. When that happen, he will update his blog

Part 3

Downloading OL6 ISO from e-delivery.oracle.com

Oracle is a big company, because of this, you need to be prepared to login to some portals, click on some agreements (export, security, etc).

If you want to avoid that, use wget/curl/script go with the mirrors, and all happy.

The official source for distribution of Oracle Linux, OracleVM, and OracleVM Templates is on edelivery.oracle.com/linux

For other products you may find the source could be otn.oracle.com, or in form of patches in support, or the general edelivery.oracle.com

At some point you should register an account to become your oracle single sign on (sso) account, this account will be the same, for otn.oracle.com edelivery.oracle.com or the forums, so when you get some time, create one.

When you got to edelivery.oracle.com/linux you will see this:

If you click on Sign in / Register button, you will redirected to the actual login / register page

Here, highlighted in the red square is the part of the register. Follow the instructions, and you will be done with your account.

At some point it will ask if you will like to get some emails with information. I find to be very nice the emails that oracle sent, so don't be shy and mark all the areas you are interested in. You will have the chance to opt out of those mails later if you don't like them.

With the account created, you can login.

After the export regulation agrement, you will be on the main menu of edelivery.oracle.com/linux

If your window is not the same, please check on top you are on Cloud Linux

If not, probably you are in edelivery.oracle.com instead of edelivery.oracle.com/linux

Then select the version and the architecture, here 6.3 x86_64 bits and click on GO

Now you can click on the Oracle Linux Release 6 Update 3 Media Pack for x86_64 (64 bit) or select the radio button, scroll down and click on Continue.

Now you should see 6 options for Oracle Linux 6.3 x86_64

On top Left of the option, there is a README button, in case of doubt, or just because you want to check, click on that, and have a look at the readme. From here you have the option to download the isos.

  • Oracle Linux Release 6 Update 3 for x86_64 (64 Bit) V33411-01 3.5G

    The DVD to install the Oracle Linux 6.3

  • Oracle Linux Release 6 Update 3 Boot iso image for x86_64 (64 bit) V33412-01 198M

    The boot.iso image to use this same iso to boot from hard disk or network (ftp, http or nfs)

  • Oracle Linux Release 6 Update 3 source DVD 1 V33413-01 3.1G

  • Oracle Linux Release 6 Update 3 source DVD 2 V33414-01 1.7G

    The sources, source rpm of the content of the media

  • Oracle Linux Release 6 Update 3 UEK Boot ISO image for x86_64 (64 bit) V34537-01 196M

    A second boot.iso, this one is to be able to use btrfs as a filesystem option during the install.

In the README are the instructions on how to use the UEK Boot ISO image for x86_64, those instruction are are very clear on how to prepare a network point.

In a separate post, I will cover how to do this, and how to create a new Oracle Linux 6.3 ISO.

The main difference is, you can actually choose btrfs from the installer.

I will cover this option, and some examples on btrfs in a separate post, however, if you google about btrfs you will see all the nice features this have.

Part 4

Patches or yum repository

Oracle Linux is one of those RedHat derivates.

I won't go deep on here, and won't compare with CentOS or other RedHat derivates.

Back to Oracle Linux.

Oracle Linux is based on RPM, that is RedHat Package Management. The tool to use RPM is the command rpm.

RPM works very great that is used by other Linux distros (like Suse) and even some other Unix (AIX use some packages on RPM format).

In the old days, the rpm had a downside, that was the dependency nightmare.

You wanted to install patch A, and you found patch A, require patch B, and patch B required patch C and D, and so on..

You may ended downloading 15 patches on different versions to then find the new versions conflict with the existing ones due versions, so you had to say I will update the installed one (and end updating say 50 rpms) or re-download rpms again to match the ones installed.

Real 'fun'

Then, the guys at Yellow Dog came with the YUM, Yellow Dog Update Manager, YUM, that basically used an external database to track versions and dependencies and with a repository, it will download and take of the nightmare.

For the version 4 of the distro, YUM was external. Once the system was installed you can use it.. very nice.

For version 5 of the distro, the YUM came included at the moment of the install, so once the OS was installed, you pointed the new fresh machine to a yum repo, and you can update immediately.

For the version 6, now this is cool, you can point to a yum repository during the install (interactive by a menu, or automated by a kickstart file) and instead of using the packages of the DVD or the network share, it will install the updates one.

It may sound similar, but let's check on times.

On version 5, say install 20 minutes, boot, full update 20 minutes, boot. Total 40 minutes and 1 reboot.

On version 6, say install 20 mins.. boot.. done.. Updated. Total 20 mins no reboot.

For oracle linux, the public source of repo is public-yum.oracle.com in the web page are the instructions, and work very very nice.

On a new installed machine, with direct access to internet:

Oracle Linux 6

# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-ol6.repo

With no direct access to internet, say with a proxy:

Oracle Linux 6

# cd /etc/yum.repos.d
# http_proxy=http://proxy:3128 wget http://public-yum.oracle.com/public-yum-ol6.repo

Just replace proxy:3128 with the correct url of the proxy.

In a later post I will post information how to use an script I wrote to create a local yum repo from public-yum.

With this you have now all the information to download your Oracle Linux iso, and keep the system updated.

What's next

You can check the new post how to create a virtual machine with virtualbox


  • ol 5
  • linux 7