2.9 KiB
2.9 KiB
2024-01-23
Testing Arch Linux with Cockpit + ZFS
Testing an option for Reason.
Remember to install and enable core services:
- sshd
- dhcpcd
Install yay
pacman -S --needed git base-devel git clone https://aur.archlinux.org/yay.git cd yay makepkg -si
Install cockpit-zfs
- Also requires samba
Cockpit ZFS web fonts are missing
https://github.com/45Drives/cockpit-zfs-manager/issues/15
sudo pacman -Sy wget
sudo mkdir -p /usr/share/cockpit/base1/fonts/ sudo wget -O /usr/share/cockpit/base1/fonts/fontawesome.woff https://github.com/h5p/font-awesome/raw/master/fontawesome-webfont.woff sudo wget -O /usr/share/cockpit/base1/fonts/glyphicons.woff https://github.com/twbs/bootstrap-sass/raw/master/assets/fonts/bootstrap/glyphicons-halflings-regular.woff sudo wget -O /usr/share/cockpit/base1/fonts/patternfly.woff https://github.com/patternfly/patternfly-sass/raw/master/assets/fonts/patternfly/PatternFlyIcons-webfont.woff sudo wget -P /usr/share/cockpit/static/fonts https://github.com/braintree/braintree_slim_example/raw/main/static/fonts/open-sans/OpenSans-Semibold-webfont.woff sudo mkdir -p /usr/share/cockpit/zfs/assets/fonts/RedHatDisplay/ sudo cp -v /usr/share/cockpit/static/fonts/*Display*.woff2 /usr/share/cockpit/zfs/assets/fonts/RedHatDisplay/ for f in /usr/share/cockpit/zfs/assets/fonts/RedHatDisplay/*; do sudo mv -v -- "$f" "${f%.woff2}.woff"; done sudo mkdir -p /usr/share/cockpit/zfs/assets/fonts/RedHatText/ sudo cp -v /usr/share/cockpit/static/fonts/*Text*.woff2 /usr/share/cockpit/zfs/assets/fonts/RedHatText/ for f in /usr/share/cockpit/zfs/assets/fonts/RedHatText/*; do sudo mv -v -- "$f" "${f%.woff2}.woff"; done sudo systemctl restart cockpit
Import ZFS pool
zpool import -R /mnt reason
"Storage Pool could not be imported"
"The pool was previously in use by another system".
Import needs to be forced.
zpool import -R /mnt -f reason
Setting up Home Assistant
Setting up Home Assistant on an appliance device using a Libre Computer "Le Potato".
Supervisor has an issue with Docker 25
https://github.com/home-assistant/supervisor/issues/4827
sudo apt install \ docker-compose-plugin=2.21.0-1~debian.12~bookworm \ docker-ce-cli=5:24.0.7-1~debian.12~bookworm \ docker-buildx-plugin=0.11.2-1~debian.12~bookworm \ docker-ce=5:24.0.7-1~debian.12~bookworm \ docker-ce-rootless-extras=5:24.0.7-1~debian.12~bookworm
Configuration lives in /usr/share/hassio
; configuration.yaml
needed the
nginx proxy added as a trusted reverse proxy.