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.
To install Ksplice, you must connect to your Linux instance by using a Secure Shell (SSH). See Connecting to an Instance for more information.
-
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.
-
Run the following SSH commands to sudo to the root:
sudo bash
-
Download the Ksplice installation script with the following SSH command:
wget -N https://www.ksplice.com/uptrack/install-uptrack-oc
-
Once the script is downloaded, use the following SSH command to install Ksplice:
sh install-uptrack-oc
To run Ksplice, you must connect to your Linux instance using a Secure Shell (SSH) connection. See Connecting to an Instance for more information.
-
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.
-
Run the following SSH commands to sudo to the root:
sudo bash cd
-
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
.
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.