Make sure the configured kernel source is available on your Linux system. This section describes how to prepare the kernel source for the following Linux systems:
  • A Linux system you custom build
To determine which distribution you are using, check the Summary screen in the ServerProtect Web console or by typing the following command:
uname -a
Make sure you have installed the following RPM package:
  • kernel-devel
  • kernel
Note
Note
To check if you have already installed one of these packages, see #1 in Troubleshooting for more information.
Type the following command to install the RPM package. The package you choose to install depends on your running kernel version.
rpm -ivh <rpm package name>
Example:
If your running kernel version is “4.18.0-80.el8” and the kernel architecture is “x86_64”, type the following:
rpm -ivh kernel-devel-4.18.0-80.el8.x86_64.rpm
In addition to using the command line, you can use one of the following methods to install the packages:
  • Linux desktop environment (for example in GNOME, click ApplicationSystem SettingsAdd/Remove Program).
  • the up2date program
For the customized kernel you built yourself
Make sure the kernel source is configured and prepared correctly with your running kernel version.
Generally, you can do this by copying the configuration files from the /boot directory to the kernel source directory (eg. /usr/src/linux-<Kernel Version>) and type the make oldconfig and make modules_prepare commands:
cp /boot/config-<Kernel Version> /usr/src/linux-<Kernel Version>/.config
cd /usr/src/linux-<Kernel Version>
make oldconfig
make modules_prepare