Docker Compose and other config files for my homelab
https://github.com/topi314/docker/tree/docker
https://github.com/topi314/docker/tree/wg
https://github.com/topi314/docker/tree/pi-zero
$ iptables -F $ iptables -t nat -F
$ iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8006
$ iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8007
$ apt install iptables-persistent -y
$ sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/1円/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
$ sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/1円/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pmgproxy.service
$ sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/1円/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart proxmox-backup-proxy.service
$ apt install build-essential $ apt install pve-headers-$(uname –r) $ tar -xvf r8168-8.051.02.tar.bz2 $ cd r8168-8.051.02 $ chmod +x autorun.sh $ ./autorun.sh
r8168 isn't yet compatible with debian 12 it seems like,
to fix the error: too many arguments to function netif_napi_add just replace the lines in r8168-8.051.02/src/r8168.h
-#define RTL_NAPI_CONFIG(ndev, priv, function, weight) netif_napi_add(ndev, &priv->napi, function, weight) +#if LINUX_VERSION_CODE < KERNEL_VERSION(6,1,0) +#define RTL_NAPI_CONFIG(ndev, priv, function, weight) netif_napi_add(ndev, &priv->napi, function, weight) +#else +#define RTL_NAPI_CONFIG(ndev, priv, function, weight) netif_napi_add_weight(ndev, &priv->napi, function, weight) +#endif
reboot & should fucking work god
$ echo -e "\ntopi ALL=(ALL) NOPASSWD: ALL\n" | sudo tee -a /etc/sudoers
Delete all snapshots
$ zfs destroy -rvn <DATASET>@%
remove -n to run it
https://docs.docker.com/engine/install/linux-postinstall/
$ sudo chown -R 472:472 data/grafana/
$ sudo chown -R 322:322 plugins
https://www.reddit.com/r/homelab/comments/b5xpua
https://www.nvidia.com/Download/index.aspx
$ wget https://us.download.nvidia.com/XFree86/Linux-x86_64/535.54.03/NVIDIA-Linux-x86_64-535.54.03.run
$ apt install linux-headers-`uname -r` build-essential
$ sh NVIDIA-Linux-x86_64-535.54.03.runthen follow: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker
\192円.168.178.75\topi
\192円.168.178.75\media
\192円.168.178.75\share
\192円.168.178.75\bunker
\192円.168.178.75\downloads
https://pve.proxmox.com/wiki/Resize_disks#1._Resizing_guest_disk
https://www.procustodibus.com/blog/2021/03/wireguard-allowedips-calculator/