This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
linux_hardened [2018/02/08 12:59] val [Hardened Gentoo] |
linux_hardened [2020/06/23 10:24] val [Hardened Gentoo] |
||
---|---|---|---|
Line 8: | Line 8: | ||
* [[https://wiki.gentoo.org/wiki/Hardened/Introduction_to_Hardened_Gentoo|Introduction to Hardened Gentoo]] | * [[https://wiki.gentoo.org/wiki/Hardened/Introduction_to_Hardened_Gentoo|Introduction to Hardened Gentoo]] | ||
- | * [[https://wiki.gentoo.org/wiki/Hardened_Gentoo/ru|Hardened Gentoo]] | + | * [[https://wiki.gentoo.org/wiki/Hardened_Gentoo/ru|Hardened Gentoo]] (ru) |
<code> | <code> | ||
- | HW: 2048GB 2CPU, HDD 16Gb | + | gentoo ~ # eselect profile list |
+ | ... | ||
+ | [27] default/linux/amd64/17.1/no-multilib/hardened (stable | ||
+ | ... | ||
+ | gentoo ~ # eselect profile set 27 | ||
- | gentoo ~ # rm /usr/src | + | gentoo ~ # source /etc/profile |
gentoo ~ # time emerge --oneshot gcc | gentoo ~ # time emerge --oneshot gcc | ||
Line 33: | Line 37: | ||
* [[Управление ядром и модулями в Linux#Сборка ядра в Gentoo]] | * [[Управление ядром и модулями в Linux#Сборка ядра в Gentoo]] | ||
- | ===== Hardened Debian/Ubuntu ===== | + | ===== Hardened Debian ===== |
- | * [[http://compilefailure.blogspot.ru/2011/02/grsecurity-patched-ubuntu-server-lts.html|grsecurity patched kernel for Ubuntu server (LTS)]] | ||
* [[https://wiki.debian.org/Hardening|Hardening Debian]] | * [[https://wiki.debian.org/Hardening|Hardening Debian]] | ||
- | <code> | ||
- | # cd /usr/src | ||
- | |||
- | # wget http://grsecurity.net/stable/grsecurity-X.X.X-X.X.X-201XXXXXXXX.patch | ||
- | |||
- | # cd linux-* | ||
- | |||
- | # patch -p1 < ../grsecurity-X.X.X-X.X.X-201XXXXXXXX.patch | ||
- | |||
- | # apt-get install gcc-4.6-plugin-dev | ||
- | </code> |