From 773c7a45fd8a51ca49e0d7db1769c4dcd350ae28 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Sat, 1 Aug 2020 00:14:36 +0000 Subject: [PATCH] Move landing page info from notes to docs --- docs/README.md | 1 + docs/landing_page.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ notes.txt | 29 ----------------------------- 3 files changed, 45 insertions(+), 29 deletions(-) create mode 100644 docs/landing_page.md diff --git a/docs/README.md b/docs/README.md index ffbb4d5..bd130be 100644 --- a/docs/README.md +++ b/docs/README.md @@ -15,3 +15,4 @@ This folder contains a bunch of general information on how to get the base of a * [cron / Scheduler (REQUIRED)](cron.md) * [Backups via restic](restic.md) * [Additional Networking Setup (REQUIRED)](cockpit.md) +* [Web Dashboard / Landing Page](landing_page.md) diff --git a/docs/landing_page.md b/docs/landing_page.md new file mode 100644 index 0000000..c53b44a --- /dev/null +++ b/docs/landing_page.md @@ -0,0 +1,44 @@ +# Landing Page + +The below commands will setup a basic web server and a landing page for your PiFrame. This is meant to help you remember where 'all the things' are located and provide quick access as desired. + +## Important Notes + +* You'll need to adjust the below HTML to use the proper ip address of your PiFrame +* This setup uses ```lighttpd``` as it's very performant and resource lean. More so than ```nginx``` +* All but the ```cockpit``` link below are for services that appear later in our documentation, all of them optional + +## Setup + +``` sh + +######################################## +# web server w/ useful links +######################################## + +pacman -S lighttpd +mkdir /etc/lighttpd/conf.d +echo "include \"/etc/lighttpd/conf.d/*.conf\"" >> /etc/lighttpd/lighttpd.conf +mkdir /srv/http +cat > /srv/http/index.html < + + +PiFrame + + + +

CockPit Web Management

+

Monit Monitoring

+

Munin Monitoring

+

Syncthing Admin Interface

+

Picture File Browser

+ + +EOF +firewall-cmd --zone=public --permanent --add-service=http +firewall-cmd --zone=public --permanent --add-service=https +firewall-cmd --reload +systemctl enable --now lighttpd + +``` diff --git a/notes.txt b/notes.txt index 2eecf62..7d60eed 100644 --- a/notes.txt +++ b/notes.txt @@ -1,32 +1,3 @@ -######################################## -# web server w/ useful links -######################################## - -pacman -S lighttpd -mkdir /etc/lighttpd/conf.d -echo "include \"/etc/lighttpd/conf.d/*.conf\"" >> /etc/lighttpd/lighttpd.conf -mkdir /srv/http -cat > /srv/http/index.html < - - -PiFrame - - - -

CockPit Web Management

-

Monit Monitoring

-

Munin Monitoring

-

Syncthing Admin Interface

-

Picture File Browser

- - -EOF -firewall-cmd --zone=public --permanent --add-service=http -firewall-cmd --zone=public --permanent --add-service=https -firewall-cmd --reload -systemctl enable --now lighttpd - ######################################## # system monitoring ########################################