Move cockpit/networkmanager/firewalld from notes to docs

This commit is contained in:
KemoNine 2020-08-01 00:12:05 +00:00
parent ec8fb1b767
commit 09ac369c47
3 changed files with 19 additions and 13 deletions

View file

@ -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) * [Email Notifications (REQUIRED)](email_notifications.md)
* [cron / Scheduler (REQUIRED)](cron.md) * [cron / Scheduler (REQUIRED)](cron.md)
* [Backups via restic](restic.md) * [Backups via restic](restic.md)
* [Additional Networking Setup (REQUIRED)](cockpit.md)

18
docs/cockpit.md Normal file
View file

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

View file

@ -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 # web server w/ useful links
######################################## ########################################