Update README with Apache and SELinux setup; rename project
This commit is contained in:
parent
69c52fdf8c
commit
bf530217f3
18
README.md
18
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.
|
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.
|
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.
|
Here is my example setup.
|
||||||
My server's name is `anubis`.
|
My server's name is `anubis`.
|
||||||
Replace as desired.
|
Replace as desired.
|
||||||
|
|
||||||
|
#### Create self-signed TLS certificate
|
||||||
|
|
||||||
```
|
```
|
||||||
mkdir /etc/httpd/tls
|
mkdir /etc/httpd/tls
|
||||||
cd /etc/httpd/tls
|
cd /etc/httpd/tls
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user