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 your 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

Regularly update the operating system and user space packages to obtain the latest bug fixes and security patches.

Oracle recommends that you:

  1. Subscribe the instance to the _latest yum repository for your 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; and pip, gem and npm, for installing Python, Ruby and Node libraries and modules, all have their own software update mechanisms.

  3. Always update instances to the most recent release of the operating system.

    Oracle Linux uses a rolling update level approach for keeping software up to date. For example, Oracle Linux 8.4 or Oracle Linux 8 Update 4, are rolling snapshots of the latest supported packages for the Oracle Linux release and are not considered independent versions of Oracle Linux.

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