Use docker commands to move uptime-kuma to a new host
- Read more about Backup and restore uptime-kuma in docker
- Log in or register to post comments
Use docker commands to move uptime-kuma to a new host
Using weewx:weewx as user:group
Saving old defaults to /etc/default/weewx-20240211140505
Creating /etc/default/weewx
Creating maintainer config file as /etc/weewx/weewx.conf-5.0.1-5.0.2
Using configuration file /etc/weewx/weewx.conf-5.0.1-5.0.2
Finished upgrading configuration file /etc/weewx/weewx.conf-5.0.1-5.0.2
Saving configuration file /etc/weewx/weewx.conf-5.0.1-5.0.2
Installing systemd units
Installing udev rules
Shrink a disk image to fit on a smaller device.
30.344630 (W)
-97.612646 (N)
Install tools; open firewall:
After installing Fedora, here are some things to add.
Edit /etc/dnf/dnf.conf and add the following lines:
max_parallel_downloads=10
fastestmirror=true
deltarpm=true
Then run the dnf upgrade:
sudo dnf -y upgrade --refresh
Reboot after refreshing.
sudo fwupdmgr get-devices
sudo fwupdmgr refresh --force
sudo fwupdmgr get-updates
sudo fwupdmgr update
From a fresh Rocky Linux install, need to add some repos.
# dnf install epel-release -y
https://docs.rockylinux.org/books/lxd_server/01-install/
Install the repo instructions for getting zfs
dnf install https://zfsonlinux.org/epel/zfs-release-2-2$(rpm --eval "%{dist}").noarch.rpm
Installing zfs pulls in all the kernel modding requirements like kernel-devel and gcc
dnf install zfs
Load the zfs module
/sbin/modprobe zfs
Install tools; open firewall:
$ sudo dnf -y install podman policycoreutils-devel
$ sudo firewall-cmd --add-port=3001/tcp
Install gnome kiosk (gdm, zenity, and firefox should already be installed).
sudo dnf install -y gnome-kiosk-script-session
Create the user and give them a password.
sudo useradd -c "TV user" -m tvuser
sudo passwd tvuser
Modify the GDM configuration to automatically login the user on startup. Edit /etc/gdm/custom.conf
to add these:
[daemon]
AutomaticLoginEnable=True
AutomaticLogin=tvuser
NodeRED flow to set RGB color based on who is home