34 lines
1.2 KiB
Markdown
34 lines
1.2 KiB
Markdown
# 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
|
|
|
|
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.
|
|
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.
|