On Mon, Aug 31, 2020 at 11:35 AM Jake Shipton listmail@crazylinuxnerd.net wrote:
2020-08-31 (月) の 13:31 +0000 に Turritopsis Dohrnii Teo En Ming さんは書きました:
SECTION 4 Disable SELinux (Security Enhanced Linux)
You MUST disable SELinux, otherwise Apache web server will not work.
If you DO NOT want to disable SELinux, you must be an expert in SELinux to configure SELinux.
Don't do this. You don't need to be an expert to configure SELinux, if you install setroubleshootd then 9 times out of 10 it will tell you how to fix something SELinux is blocking, and when that doesn't work, there's always DuckDuckGo if you're not sure.
SELinux may be daunting to a newcomer, but just like Apparmor on Debian, it's well worth reading about and learning the security advantages it provides.
I always advise both security methods are left enabled where a distribution supports them. (not at the same time.....)
To make the point further, SELinux has been in the disro since 4, in 2005. If you haven't learned it yet you are far, far, behind the times.