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