Delete program, file and lines related to modules
By default when you install Red Hat Linux for the first time (like we do), the kernel is built as a modularized kernel. This means that each device or function we need exists as modules and is controlled by the Kernel Daemon program named kmod, which automatically loads some modules and functions support into memory as it is needed, and unloads it when it’s no longer being used. (Далее…)
Installing the new kernel
1. Copy the file 7usr/src/linux/arch/i386/boot/bzlmage” from the kernel source tree to the “/boot” directory, and give it an appropriate new name.
[root@deep linux]# cp /usr/src/linux/arch/i386/boot/bzlmage /boot/vmlinuz-kernel.version.number (Далее…)
Kernel configurationa
Code maturity level options
Prompt for development and/or incomplete code/drivers (CONFIG_EXPERIMENTAL) [N/y/?]
Processor type and features (Далее…)
Securing the kernel
The secure Linux kernel patches from the Openwall Project are a great way to prevent attacks like Stack Buffer Overflows, and others. The Openwall patch is a collection of security-related features for the Linux kernel, all configurable via the new “‘Security options” configuration section that will be added to your new Linux kernel. This patch may change from version to version, and some may contain various other security fixes. (Далее…)
Configuring and Building a secure, optimized Kernels
Linux Kernel
Overview
Well, our Linux server seems to be getting in shape now! But wait, what is the most important part of our server? Yes, it’s the kernel. The Linux kernel is the core of our operating system, and without it there is no Linux at all. So we must take care of our kernel and configure it to fit our needs and compile just features we really need. (Далее…)