Gentoo Archives: gentoo-user

From: 80x24 <80x24@××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] The Project Begins!
Date: Sun, 27 Mar 2016 01:53:43
Message-Id: 56F73CAD.3060708@momoka.net
In Reply to: [gentoo-user] The Project Begins! by Hunter Jozwiak
1 Hunter Jozwiak wrote:
2 > Hello,
3 >
4 > I am going to now host my web site on a Gentoo server. Firstly, is there
5 > a recommended profile for this, or will the default amd64 profile
6 > suffice? Or would it be better to use a hardened profile for this task?
7 > Secondly, does Linode offer the requisite information for things you
8 > MUST have while building a kernel? And finally, I am going to have
9 > multiple servers. Is there a package that I can use to distribute my
10 > built kernels?
11 >
12 > Thanks, you guys are awesome, and keep up the good work,
13 >
14 > Hunter
15 >
16 As far as you know how to hardened security of your servers. Normal
17 profile will be good (Though I still recommend hardened if you're
18 familiar with GRsecurity and other ``hardeded'' stuff).
19
20 If you go with the hardened version, you will also need to build custom
21 kernel and set kernel to pygrub in Linode profile settings (which
22 selects proper generic kernel by default). And yes you will need a
23 bootloader.
24
25 You can find out the kernel config options requirements at Linode website[1]
26
27 I don't know any method to build a binary kernel package. Maybe others
28 can help. I use to distribute it just by copying vmlinuz and initramfs
29 (I built them without any CPU-specific optimization or ``host-only'' mode).
30
31 [1]:
32 https://www.linode.com/docs/tools-reference/custom-kernels-distros/run-a-custom-compiled-kernel-with-pvgrub

Replies

Subject Author
Re: [gentoo-user] The Project Begins! Sam Jorna <wraeth@g.o>