Oracle Linux, virtualization , Enterprise and Cloud Management Cloud technology musings

  • July 4, 2013

easily install Oracle RDBMS 12cR1 on Oracle Linux 6

This week we released the latest version of our database, Oracle database 12c Release 1. To make it very easy for people to start using it or trying it out, we already created the oracle-rdbms preinstall rpm and uploaded it to both ULN and public-yum.

So in order to start the database install without trouble, these few simple steps will get you going :

If you want to create a virtual machine

  • Download Oracle VM VirtualBox from virtualbox.org

  • or
  • Download Oracle VM Server from edelivery
  • Download Oracle Linux from edelivery
  • You can do a minimal installation of OL6, or any other installation that you prefer (Desktop, Workstation, etc). The install by default, if you don't register with ULN, will point to our free public-yum repository with all the latest RPMs (errata, bugfixes,...). It might make sense to run yum update although you don't really have to.

    Then just install the oracle-rdbms-server-preinstall RPM and your OS is completely configured to start the Oracle database installer. Simply type yum install oracle-rdbms-server-12cR1-preinstall and it will download all required dependencies, create the oracle user id, modify sysctl.conf and modify limits.conf.

    Next, download the 12c R1 software, start the installer and you're good to go.

    We make it easy, or at least try to :). enjoy.

    Join the discussion

    Comments ( 5 )
    • Ben Prusinski Thursday, August 1, 2013


      This is a good post. I just installed 12c for the first time on Oracle Linux 6 and noticed that Oracle Linux 6 source contains the preinstall RPMs for oracle 11gR2 but not yet for 12c. The install still went fine using the 11gR2 preinstall RPM for Oracle Linux with 12c. Any idea when Oracle Linux will have the validated preinstall RPM for 12c?



    • wim coekaerts Friday, August 2, 2013

      We don't update the installation media unless there's a new major update. like 6.5 or so. and 6.4 was released before 12c was out.

      if you connect to public-yum then you will find it there.

    • guest Tuesday, February 14, 2017

      This preinstall for the database is the logical progression to automate but why have the UI and GID changed to the 5432... range?

      Is there a simple way to edit the rpm?

    • Wim Monday, February 20, 2017

      The default really is just 'some' id. The original id used was too low in a range that people typically would have already used or so. The best way to deal with this is to pre-create the userid and groupid, the pre-install RPM will just use that one instead then.

    • DBA Monday, February 19, 2018
      Hi, guys!
      Here there is a script that checks all prerequisites packages for an Oracle database and generates yum command for missing ones.
      It supports different versions of RedHat releases and Oracle database versions

      The script: http://dbpilot.net/wp-content/uploads/2018/02/dbs_prepkgs.zip [ if link is broken then the script can be downloaded directly from the post]
      Issue dos2unix command on the script before you use the script.

      The dbs_prepkgs.sh is analog of oracle-rdbms-server-11gR2-preinstall.x86_64 and oracle-rdbms-server-12cR1-preinstall.x86_64 packages.
    Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.