Installing Oracle Linux with Oracle Linux Yum Server Support

Use this procedure to install Oracle Linux and configure your Linux installation for security errata or bug fix updates using the Oracle Linux yum server.

  1. Obtain Oracle Linux DVDs from Oracle Store, or download Oracle Linux from the Oracle Software Delivery Cloud:

    Oracle Store:

    https://shop.oracle.com

    Oracle Software Delivery Cloud website:

    https://edelivery.oracle.com/linux

  2. Install Oracle Linux from the ISO or DVD image.

  3. Log in as root.

  4. Download the yum repository file for your Linux distribution from the following URL using the instructions you can find on the Oracle Linux yum server website:

    http://yum.oracle.com/

    For example:

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

    Ensure that the public_olrelease_latest file (for example, public_ol7_latest for Oracle Linux 7) is enabled, because this is the repository that contains the Oracle Preinstallation RPM.

  5. (Optional) Edit the repo file to enable other repositories. For example, enable the repository public_ol7_latest by setting enabled=1 in the file with a text editor.

  6. Run the command yum repolist to verify the registered channels.

  7. Start a terminal session and enter the following command as root, depending on your platform. For example:

    Oracle Linux 7:

    # yum install oracle-database-preinstall-19c

    Note:

    Use the -y option if you want yum to skip the package confirmation prompt.

    You should see output indicating that you have subscribed to the Oracle Linux channel, and that packages are being installed.

    Oracle Linux automatically creates a standard (not role-allocated) Oracle installation owner and groups and sets up other kernel configuration settings as required for Oracle installations. If you plan to use job-role separation, then create the extended set of database users and groups depending on your requirements.

    After installation, run the command yum update as needed to obtain the most current security errata and bug fixes for your Oracle Linux installation.