Updating an Instance

Use Oracle Ksplice, OS Management Hub, or Oracle Autonomous Linux to help automate system updates, but also follow recommended guidance to keep the system up-to-date.

Using Oracle Ksplice

You can use Oracle Ksplice to patch a system without requiring a reboot. However, these updates only occur in-memory. You must also update packages on-disk to their latest versions, so that when the system reboots, it starts from the most current release. Follow the recommendations in Maintaining the System.

Using Autonomous Linux

Autonomous Linux can automatically handle system package updates on a regular schedule. Autonomous Linux provides automatic daily updates in addition to the zero-downtime Ksplice updates for kernel, OpenSSL, and glibc libraries. These updates are referred to as autonomous updates. When you create an Autonomous Linux instance, the service automatically creates a controlled scheduled job for autonomous updates. You can update the start time for the daily autonomous updates using the Console, CLI, or API.

Maintaining the System

Keep the OS and user space packages up-to-date to obtain the latest bug fixes and security patches.

We recommend that you:

  1. Subscribe the instance to the _latest yum repository for the Oracle Linux release.

  2. Update any software that was installed outside of the Oracle Linux yum package manager.

    For example, tools such as flatpak and snap, for installing desktop applications. Tools such as pip, gem and npm, for installing libraries and modules for Python, Ruby, and Node. All have their own software update mechanisms.

  3. Always update instances to the most recent release of the OS.

    Oracle Linux uses a rolling update level approach to keep software current. Each update level (often labeled as "Update") is a rolling snapshot of the latest packages for that Oracle Linux release and isn't considered an independent version of Oracle Linux.

  4. Manually update packages or install and configure the appropriate tool for automatic updates.

    Use the dnf-automatic utility described in Managing Software in Oracle Linux.