Installing with a Custom Linux Kernel Parent topic

The Linux agent installer requires all dependent packages to be present in the system before continuing the installation of the SecureCloud Runtime Agent.
If the Linux agent installer cannot download all the dependent packages from the repository, you are then required to provide them by either downloading the package manually from Internet or a trusted repository.
To customize your kernels, the kernel source must be provided and the path should be set using one of the following commands:
  • $ln -s /usr/src/linux /lib/modules/<kernel-version>/build #SUSE
  • $ln -s /usr/src/kernels/<kernel-version> /lib/modules/<kernel-version>/build #CentOS/RHEL
  • $ln -s /usr/src/linux-source-<kernel-version> /lib/modules/<kernel-version>/build #Ubuntu
The dependent packages for a Linux-based agent installation are:
Common dependency
  • gcc
  • python (2.4.3 or newer)
  • curl
  • make
  • gawk
CentOS / Red Hat Enterprise Linux (RHEL) 5.x
  • Amazon EC2- or Xen-based: kernel-headers, kernel-xen-devel
  • Others: kernel-headers, kernel-xen-devel
CentOS/RHEL 6.x
kernel-headers, kernel-xen-devel
Ubuntu
linux-headers
SUSE 11
Kernel source.
SUSE 11 requires that you specify the information below. This information is based on the 2.6.32.46 version of the Linux kernel.
$yast --install kernel-source $cp /boot/symvers-2.6.32.46-0.3-ec2.gz /usr/src/linux/Module.symvers.gz $gunzip /usr/src/linux/Module.symvers.gz$cd /usr/src/linux $make cloneconfig $make modules_prepare $ln -s /usr/src/linux /lib/modules/2.6.32.46-0.3-ec2/build rpm -ivh scagent-2.0.0.xxx.rpm
If you are using a custom Linux kernel, the complete kernel source is required because the Trend Micro Encryption Module driver cannot function without the proper kernel source.
Note
Note
To compile the kernel, refer to your Linux user guide.
Also, ensure there is a soft link—/lib/modules/<kernel version>/build—which links to the kernel source path.
To check the kernel version, use the command uname -r.