Added to SELinux section

This commit is contained in:
mic0 2025-11-26 14:01:26 +01:00
parent a615f2d7cc
commit ae032f683e
No known key found for this signature in database
GPG Key ID: 8E103C91321755A8

View File

@ -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 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 ```sh
sudo grubby --update-kernel ALL --remove-args selinux 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 ? ### 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. 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.