Install grsecurity from 3rd party repo
From FiberWiki
Repo
We will need to paste this information under the /etc/yum.repos.d folder. We will name it grsecurity.repo so that it will be easily located later on.
cd /etc/yum.repos.d nano grsecurity.repo
Paste the following information:
# Yum Repository file for grsecurity by Corey Henderson # This particular file is for enterprise linux (RHEL, CentOS, etc) # # To use this repository, put this file in: /etc/yum.repos.d/ # # For more RPM repositories from this packager, go to: # http://rpm.cormander.com/repo/ [grsecurity-stable-kernel] name=Stable grsecurity kernel baseurl=http://rpm.cormander.com/repo/grsec/kernel-stable/$basearch/ gpgcheck=1 gpgkey=http://rpm.cormander.com/repo/RPM-GPG-KEY-cormander enabled=1 [grsecurity-stable-utils] name=Stable grsecurity utilities baseurl=http://rpm.cormander.com/repo/grsec/utils/el$releasever/$basearch/ gpgcheck=1 gpgkey=http://rpm.cormander.com/repo/RPM-GPG-KEY-cormander enabled=1 [grsecurity-latest-kernel] name=Latest grsecurity kernel baseurl=http://rpm.cormander.com/repo/grsec/kernel-latest/$basearch/ gpgcheck=1 gpgkey=http://rpm.cormander.com/repo/RPM-GPG-KEY-cormander enabled=0
Now we need to exit the editor:
Ctrl+x y [enter]
Yum
Now we can use yum to install a pre-compiled grsecurity kernel!
yum install kernel-grsec
After yum has finished you may now reboot and switch to grsecurity kernel!
