h3. Installing Custom Kernels{anchor:ck_htm}
The Custom Kernel Installer allows you to retrieve the Kernel module required for the CDP Agent to work properly on Linux with custom kernel. Normally, the Custom Kernel Installer is executed automatically during the CDP Agent installation. However, you can also run the Custom Kernel Installer manually if your Linux configuration has changed (See the examples below). The {color:#fd4703}{*}#r1soft-setup{*}{color} tool will automatically build a module suitable for your Kernel version.
Follow the instructions below to run the Custom Kernel Installer.
1. Use the {color:#fd4703}{*}#r1soft-setup{*}{color} command to execute the Custom Kernel Installer. The {color:#fd4703}{*}#r1soft-setup{*}{color} tool connects to the server, sends the information about the Kernel, and then downloads the binary module from the server.
{info:title=Tip}To get a module for default Kernel, use the following command:
{code}# r1soft-setup --get-module{code} {info}
Use {color:#fd4703}*\--kernel-dir*{color} and {color:#fd4703}*\--dest*{color} options to get the module for non-default Kernel and place it to non-default location:
{code}# r1soft-setup --get-module --kernel-dir /lib/modules/2.6.18-194.el5/build --dest ~/new{code}
*Return:*
{code}Checking for binary module
Waiting -
Complete.
Saving kernel module to '/root/new/hcpdriver-cki-2.6.18-238.9.1.el5.ko'
Kernel module is now installed.
Use '/etc/init.d/cdp-agent restart' to load the new driver{code}
!50.png!
Default path to the setup program:
{code}/usr/bin/r1soft-setup{code}
2. The next screen will display some debugging messages from the Custom Kernel Installer, followed by a message informing you that the Backup driver has been retrieved.
{info:title=Note} The Custom Kernel Installer should be able to connect to the Internet via HTTP. Make sure that the server has Internet connection and that the firewall does not block outgoing HTTP connections.
{info}
See also [r1soft-setup].
{excerpt:hidden=true}Instructions on how to install Custom Kernels.{excerpt}
The Custom Kernel Installer allows you to retrieve the Kernel module required for the CDP Agent to work properly on Linux with custom kernel. Normally, the Custom Kernel Installer is executed automatically during the CDP Agent installation. However, you can also run the Custom Kernel Installer manually if your Linux configuration has changed (See the examples below). The {color:#fd4703}{*}#r1soft-setup{*}{color} tool will automatically build a module suitable for your Kernel version.
Follow the instructions below to run the Custom Kernel Installer.
1. Use the {color:#fd4703}{*}#r1soft-setup{*}{color} command to execute the Custom Kernel Installer. The {color:#fd4703}{*}#r1soft-setup{*}{color} tool connects to the server, sends the information about the Kernel, and then downloads the binary module from the server.
{info:title=Tip}To get a module for default Kernel, use the following command:
{code}# r1soft-setup --get-module{code} {info}
Use {color:#fd4703}*\--kernel-dir*{color} and {color:#fd4703}*\--dest*{color} options to get the module for non-default Kernel and place it to non-default location:
{code}# r1soft-setup --get-module --kernel-dir /lib/modules/2.6.18-194.el5/build --dest ~/new{code}
*Return:*
{code}Checking for binary module
Waiting -
Complete.
Saving kernel module to '/root/new/hcpdriver-cki-2.6.18-238.9.1.el5.ko'
Kernel module is now installed.
Use '/etc/init.d/cdp-agent restart' to load the new driver{code}
!50.png!
Default path to the setup program:
{code}/usr/bin/r1soft-setup{code}
2. The next screen will display some debugging messages from the Custom Kernel Installer, followed by a message informing you that the Backup driver has been retrieved.
{info:title=Note} The Custom Kernel Installer should be able to connect to the Internet via HTTP. Make sure that the server has Internet connection and that the firewall does not block outgoing HTTP connections.
{info}
See also [r1soft-setup].
{excerpt:hidden=true}Instructions on how to install Custom Kernels.{excerpt}