====== Docker ======
Quelle: https://docs.docker.com/engine/install/debian/#install-using-the-repository
# Add Docker's official GPG key:
apt update
apt install ca-certificates curl
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc
# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
apt update
apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
====== Migrate seafile ======
Quelle: https://manual.seafile.com/docker/non_docker_to_docker/
## Connect do DB server
mysql -u root -p
## Note, change the password according to the actual password you use
GRANT ALL PRIVILEGES ON *.* TO 'seafile'@'%' IDENTIFIED BY 'your-password' WITH GRANT OPTION;
## Grant seafile user can connect the database from any IP address
GRANT ALL PRIVILEGES ON `seafile_ccnet_db`.* to 'seafile'@'%';
GRANT ALL PRIVILEGES ON `seafile_seafile_db`.* to 'seafile'@'%';
GRANT ALL PRIVILEGES ON `seafile_seahub_db`.* to 'seafile'@'%';
## Restart MySQL
systemctl restart mariadb
====== Wake on LAN ======
apt install ethtool
nano /etc/network/interfaces
# The primary network interface
allow-hotplug enp1s0
iface enp1s0 inet dhcp
pre-down /sbin/ethtool -s $IFACE wol g
# This is an autoconfigured IPv6 interface
iface enp1s0 inet6 auto