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