From bf530217f3fd1c9f7eaf4bc40202ba5873450e17 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sun, 29 Mar 2026 21:46:59 -0400 Subject: [PATCH] Update README with Apache and SELinux setup; rename project --- README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ea3a1d1..f46b17a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# MALP - Monitor Active Linux Pulses +# MALP - Monitor A Linux Platform A lightweight Ruby CGI status page for home server monitoring. @@ -6,12 +6,26 @@ A lightweight Ruby CGI status page for home server monitoring. Copy this repository directory to `/var/www`, so `/var/www/malp/cgi-bin` exists. -### Example Apache Setup +``` +mkdir /var/www/malp/data +chown apache:apache /var/www/malp/data +``` + +### If using SELinux (e.g. AlmaLinux) + +``` +chcon -R -t httpd_sys_script_exec_t /var/www/malp/cgi-bin +chcon -R -t httpd_sys_rw_content_t /var/www/malp/data +``` + +### Example Apache HTTPD Setup Here is my example setup. My server's name is `anubis`. Replace as desired. +#### Create self-signed TLS certificate + ``` mkdir /etc/httpd/tls cd /etc/httpd/tls