Page 1 of 1

Installation on Centos 6 - 64 Bit

PostPosted: Sun Aug 18, 2013 6:45 pm
by sialbrijendra
Hello,

Can anyone provide grsec kernel installation on centos 6 - 64 bit edition. I have searched lot and havent found anything fruitful with systematic step. It anyone have time please write an article to it

Re: Installation on Centos 6 - 64 Bit

PostPosted: Wed Aug 21, 2013 10:15 pm
by sialbrijendra
I have used these steps on my centos 6.4 64bit but after completion server not rebooting. Changed the grub file also but nothing is working.

1) yum -y groupinstall "Development Tools" # This will ensure that you have all the required tools for the build.

2) yum -y install ncurses-devel # This is required to enable a make *config command to execute correctly.

3) yum -y install hmaccalc zlib-devel binutils-devel elfutils-libelf-devel # These are required when building a CentOS-6 kernel.

4) wget https://www.kernel.org/pub/linux/kernel ... 61.tar.bz2

5) wget http://grsecurity.net/stable/grsecurity ... 1247.patch

6) wget http://grsecurity.net/stable/grsecurity ... .patch.sig

7) wget http://grsecurity.net/stable/gradm-2.9. ... 629.tar.gz

8) wget http://grsecurity.net/stable/gradm-2.9. ... tar.gz.sig

9) gpg --import spender-gpg-key.asc

10) gpg --verify grsecurity-2.9.1-2.6.32.61-201308171247.patch.sig

11) gpg --verify gradm-2.9.1-201308091629.tar.gz.sig

12) tar -jxf ./linux-2.6.32.61.tar.bz2

13) cd linux-2.6.32.61

14) patch –p1 < ../grsecurity-2.9.1-2.6.32.61-201308171247.patch

15) make clean && make mrproper

16) make menuconfig

17) make dep bzImage modules modules_install install

May i know what i am doing wrong?