1.2 KiB
Why .. Alma Linux?
AlmaLinux is a continuation of open source work for enterprise grade Red Hat Enterprise Linux (RHEL). Its a spiritual successor to CentOS and bug-for-bug compatible with RHEL same as Rocky Linux but without the toxic community.
Enabling SELinux
If its disabled on boot, enable it back with
-
Change the value of
SELINUXtoSELINUX=enforcingin/etc/selinux/config -
Enable it on boot (if it was disabled before)
sudo grubby --update-kernel ALL --remove-args selinux
-
Reboot
-
You might need to update the folders where permissions are wrong. Use the command:
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.
Even though its a move from our usual package manager (apt) its the same shit. It uses dnf and yum and everything works the same.
It has a better optimized network stack comapred to Debians of the world as its geared strictly towards servers and not desktop systems.
Another selling point is SELinux which makes it mucho more secure but needs to be configured carefully.