From ae032f683e4ee936f00ebb384d60c1cbe52245bc Mon Sep 17 00:00:00 2001 From: mico Date: Wed, 26 Nov 2025 14:01:26 +0100 Subject: [PATCH] Added to SELinux section --- 08_alma-linux.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/08_alma-linux.md b/08_alma-linux.md index b840ee9..2f1a017 100644 --- a/08_alma-linux.md +++ b/08_alma-linux.md @@ -7,10 +7,22 @@ Its a spiritual successor to CentOS and bug-for-bug compatible with RHEL same as If its disabled on boot, enable it back with +1. Change the value of `SELINUX` to `SELINUX=enforcing` in `/etc/selinux/config` + +2. Enable it on boot (if it was disabled before) + ```sh sudo grubby --update-kernel ALL --remove-args selinux ``` +3. Reboot + +4. You might need to update the folders where permissions are wrong. Use the command: + +```sh +restorecon -Rv /usr/local/bin/your_repo +``` + ### What about Debian / Ubuntu ? Tbh, at the time of setting up new servers the `Debian` install was not working on my host, thats why i picked `AlmaLinux` for all installations to keep them uniform.