docker
Inhaltsverzeichnis
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
docker.txt · Zuletzt geändert: 2024/10/28 18:52 von xenadmin