Guides tagged “selinux”

Step-by-step MdmHost guides about selinux, sorted A-Z.

7 guides

  • Change the SSH port safely without locking yourself out

    Move SSH to another port in the right order: firewall first, SELinux and Ubuntu socket activation handled, both ports tested, then port 22 closed.

    IntermediateLinux server3 min read
  • Fix 403 Forbidden in Nginx

    Nginx returns 403 Forbidden when it will not serve a file or folder. Work through the usual causes, from a missing index file to permissions, deny rules and SELinux.

    BeginnerLinux server5 min read
  • How to fix 403 Forbidden errors in Apache

    Fix Apache 403 Forbidden errors by checking Require rules, file permissions, a missing index file,.htaccess deny rules and SELinux labels, one cause at a time.

    BeginnerLinux server5 min read
  • How to install MariaDB on AlmaLinux and Rocky Linux

    Install MariaDB on AlmaLinux or Rocky Linux 8 and 9 from AppStream or the official MariaDB repository, secure it, enable the service and handle SELinux.

    BeginnerLinux server5 min read
  • Install Apache (httpd) on AlmaLinux and Rocky Linux

    Install the Apache web server on AlmaLinux or Rocky Linux 8 and 9 with dnf, open HTTP and HTTPS in firewalld, learn the conf.d layout and set SELinux labels for custom web roots.

    BeginnerLinux server5 min read
  • Linux Hardening: Securing System Binaries with SELinux or AppArmor

    Put SELinux or AppArmor into enforcing mode and write a policy that limits what a system binary can do, even if an attacker takes it over.

    AdvancedLinux server5 min read
  • SELinux basics on AlmaLinux and Rocky Linux

    Understand SELinux modes and contexts on AlmaLinux and Rocky Linux, fix common permission-denied problems with restorecon and booleans, without turning SELinux off.

    IntermediateAlmaLinux / Rocky Linux VPS2 min read

Browse by topic

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.