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 OS Management Hub
You can use OS Management Hub to manage and monitor updates for the OS environments Oracle Linux instances. OS Management Hub lets you group instances for updates, providing automated patch and fleet management capabilities. See Oracle Linux Package Management for more information.
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:
-
Subscribe the instance to the
_latest
yum repository for the Oracle Linux release. -
Update any software that was installed outside of the Oracle Linux yum package manager.
For example, tools such as
flatpak
andsnap
, for installing desktop applications. Tools such aspip
,gem
andnpm
, for installing libraries and modules for Python, Ruby, and Node. All have their own software update mechanisms. -
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.
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.