docker
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
docker [2024/10/07 19:25] – xenadmin | docker [2024/10/28 18:52] (aktuell) – xenadmin | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== Docker ====== | ||
+ | |||
Quelle: https:// | Quelle: https:// | ||
+ | |||
<code bash> | <code bash> | ||
# Add Docker' | # Add Docker' | ||
Zeile 14: | Zeile 17: | ||
tee / | tee / | ||
apt update | apt update | ||
+ | apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin | ||
+ | </ | ||
+ | |||
+ | ====== Migrate seafile ====== | ||
+ | |||
+ | Quelle: https:// | ||
+ | |||
+ | <code bash> | ||
+ | ## Connect do DB server | ||
+ | mysql -u root -p | ||
+ | </ | ||
+ | |||
+ | <code sql> | ||
+ | ## Note, change the password according to the actual password you use | ||
+ | GRANT ALL PRIVILEGES ON *.* TO ' | ||
+ | |||
+ | ## Grant seafile user can connect the database from any IP address | ||
+ | GRANT ALL PRIVILEGES ON `seafile_ccnet_db`.* to ' | ||
+ | GRANT ALL PRIVILEGES ON `seafile_seafile_db`.* to ' | ||
+ | GRANT ALL PRIVILEGES ON `seafile_seahub_db`.* to ' | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | ## Restart MySQL | ||
+ | systemctl restart mariadb | ||
+ | </ | ||
+ | |||
+ | ====== Wake on LAN ====== | ||
+ | |||
+ | <code bash> | ||
+ | apt install ethtool | ||
+ | nano / | ||
+ | </ | ||
+ | < | ||
+ | # The primary network interface | ||
+ | allow-hotplug enp1s0 | ||
+ | iface enp1s0 inet dhcp | ||
+ | pre-down / | ||
+ | # This is an autoconfigured IPv6 interface | ||
+ | iface enp1s0 inet6 auto | ||
</ | </ |
docker.1728329156.txt.gz · Zuletzt geändert: 2024/10/07 19:25 von xenadmin