Installing and Running Oracle Ksplice

Oracle Ksplice lets you apply important security updates and other critical kernel updates without a reboot. For more information, see About Oracle Ksplice and Ksplice Overview.

This topic describes how to install and configure Ksplice. Ksplice is available for Oracle Linux instances that were launched on or after February 15, 2017. Ksplice is installed on instances that were launched on or after August 25, 2017, so you just need to run it on these instances to install the available Ksplice patches. For instances that were launched before August 25, 2017, you must install Ksplice before running it.

On Oracle Autonomous Linux images, Ksplice is installed and configured by default to run automatic updates.

Installing Ksplice on instances launched before August 25, 2017

To install Ksplice, you must connect to your Linux instance by using a Secure Shell (SSH). See Connecting to an Instance for more information.

  1. Use the following SSH command to access the instance.

    ssh –l opc@<public-ip-address>

    <public-ip-address> is your instance IP address that you retrieved from the Console, see Getting the Instance Public IP Address.

  2. Run the following SSH commands to sudo to the root:

    sudo bash
  3. Download the Ksplice installation script with the following SSH command:

    wget -N https://www.ksplice.com/uptrack/install-uptrack-oc
  4. Once the script is downloaded, use the following SSH command to install Ksplice:

    sh install-uptrack-oc
Running Ksplice

To run Ksplice, you must connect to your Linux instance using a Secure Shell (SSH) connection. See Connecting to an Instance for more information.

  1. Use the following SSH command to access the instance.

    ssh –l opc <public-ip-address>

    <public-ip-address> is the instance IP address that you retrieved from the Console, see Getting the Instance Public IP Address.

  2. Run the following SSH commands to sudo to the root:

    sudo bash cd
  3. To install available Ksplice patches, run the following SSH command:

    uptrack-upgrade

Automatic Updates

To configure automatic updates, set the value of autoinstall to yes in /etc/uptrack/uptrack.conf.

Note

OS Security Updates for Oracle Linux images

Oracle Linux images are updated regularly with the necessary patches, but after you launch an instance using these images, you are responsible for applying the required OS security updates published through the Oracle public Yum server. For more information, see Installing and Using the Yum Security Plugin.