Najpierw wg. https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20Bullseye%20Root%20on%20ZFS.html
Dodać backports: https://www.how2shout.com/linux/how-to-install-and-use-backports-in-debian-11-bullseye/
# vim /etc/apt/sources.lst
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free
# apt install -t bullseye-backports zfs-dkms zfs-initramfs zfs-zed zfsutils-linux
# reboot
# zpool upgrade rpool # !!!bpool nie ruszac!!!
https://unix.stackexchange.com/questions/529471/debian-10-adjust-sleep-settings-via-command-line
# vim /etc/gdm3/greeter.dconf-defaults
# Automatic suspend
# =================
[org/gnome/settings-daemon/plugins/power]
sleep-inactive-ac-timeout=0
sleep-inactive-ac-type='blank'
# restart gdm3
# vim /etc/systemd/logind.conf
[Login]
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore
# systemctl restart systemd-logind.service
# apt install snap
# snap install lxd
# lxd init
# wszystko OK, domyślna konfiguracja
Wg. https://discuss.linuxcontainers.org/t/lxd-container-hostnames-on-the-host/11789
# systemctl enable systemd-resolved.service
# systemctl status systemd-resolved.service
● systemd-resolved.service - Network Name Resolution
Loaded: loaded (/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2023-02-21 09:23:25 CET; 24min ago
Docs: man:systemd-resolved.service(8)
man:org.freedesktop.resolve1(5)
https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
Main PID: 42293 (systemd-resolve)
Status: "Processing requests..."
Tasks: 1 (limit: 38372)
Memory: 4.5M
CPU: 109ms
CGroup: /system.slice/systemd-resolved.service
└─42293 /lib/systemd/systemd-resolved
# lxc network set lxdbr0 dns.mode managed
# lxc network set lxdbr0 dns.domain lxd
# lxc network show lxdbr0
config:
dns.domain: lxd
dns.mode: managed
ipv4.address: 10.217.234.1/24
ipv4.nat: "true"
ipv6.address: fd42:14db:c08:e626::1/64
ipv6.nat: "true"
description: ""
name: lxdbr0
type: bridge
used_by:
- /1.0/profiles/default
managed: true
status: Created
locations:
- none
Wg. https://docs.docker.com/engine/install/debian/
iptables -I DOCKER-USER -i lxdbr0 ! -o lxdbr0 -j ACCEPT
iptables -I DOCKER-USER -o lxdbr0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
Nie bardzo wiem gdzie to dopisać, aby było na stale.
Nie testowalem:
https://github.com/boTux-fr/systemd-service-iptables
Według: https://wiki.debian.org/AtiHowTo
# lspci -nn | grep VGA
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde XT [Radeon HD 7770/8760 / R7 250X] [1002:683d]
# apt intstall firmware-amd-graphics
# vim /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.cik_support=1 amdgpu.cik_support=0"
# reboot