Update README with Apache and SELinux setup; rename project

This commit is contained in:
Josh Holtrop 2026-03-29 21:46:59 -04:00
parent 69c52fdf8c
commit bf530217f3

View File

@ -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