From 09ac369c47e76e2b51f1fcb459f9ab511588f7c9 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Sat, 1 Aug 2020 00:12:05 +0000 Subject: [PATCH] Move cockpit/networkmanager/firewalld from notes to docs --- docs/README.md | 1 + docs/cockpit.md | 18 ++++++++++++++++++ notes.txt | 13 ------------- 3 files changed, 19 insertions(+), 13 deletions(-) create mode 100644 docs/cockpit.md diff --git a/docs/README.md b/docs/README.md index 814eb1b..ffbb4d5 100644 --- a/docs/README.md +++ b/docs/README.md @@ -14,3 +14,4 @@ This folder contains a bunch of general information on how to get the base of a * [Email Notifications (REQUIRED)](email_notifications.md) * [cron / Scheduler (REQUIRED)](cron.md) * [Backups via restic](restic.md) +* [Additional Networking Setup (REQUIRED)](cockpit.md) diff --git a/docs/cockpit.md b/docs/cockpit.md new file mode 100644 index 0000000..e7ae7ad --- /dev/null +++ b/docs/cockpit.md @@ -0,0 +1,18 @@ +# Web Admin Setup + +The below commands will setup ```cockpit``` so you can manage your PiFrame from a web browser. This is wholly optional but can be useful when ssh/serial terminal access aren't available. + +If you don't want the admin UI you still should install ```NetworkManager``` and ```firewalld``` as the rest of the documentation assumes these are installed. + +``` sh + +# Remote management on http://ip:9090 +pacman -S cockpit cockpit-pcp packagekit udisks2 networkmanager firewalld +systemctl enable --now firewalld +firewall-cmd --zone=public --permanent --add-port=9090/tcp +firewall-cmd --zone=public --permanent --add-service=ssh +firewall-cmd --reload +systemctl enable --now NetworkManager +systemctl enable --now cockpit.socket + +``` diff --git a/notes.txt b/notes.txt index 69e1969..2eecf62 100644 --- a/notes.txt +++ b/notes.txt @@ -1,16 +1,3 @@ -######################################## -# web based admin panel / dashboard / app -######################################## - -# Remote management on http://ip:9090 -pacman -S cockpit cockpit-pcp packagekit udisks2 networkmanager firewalld -systemctl enable --now firewalld -firewall-cmd --zone=public --permanent --add-port=9090/tcp -firewall-cmd --zone=public --permanent --add-service=ssh -firewall-cmd --reload -systemctl enable --now NetworkManager -systemctl enable --now cockpit.socket - ######################################## # web server w/ useful links ########################################