How to Add AppArmor to Kernel
- 1). Click the "xterm" icon on the Linux operating system taskbar to open command line window.
- 2). Type in "cd ~/apparmor/apparmor-dev/" at the "#" command line prompt.
- 3). Press the "Enter" key to set up the AppArmor directory.
- 4). Type in "rpm -i /usr/src/redhat/RPMS/x86_64/kernel-2.6.33-1.x86_64.rpm" at the prompt.
- 5). Press the "Enter" key to compile the AppArmor modules.
- 6). Type in "mkinitrd -f /boot/initrd-2.6.33.img 2.6.33" at the prompt.
- 7). Press the "Enter" key to boot the kernel.
- 8). Type in "kernel /vmlinuz-2.6.33 ro root=Lblmod=/ noapic" at the prompt.
- 9). Press the "Enter" key to add the AppArmor modules to the Linux kernel.