Skip to content

Instantly share code, notes, and snippets.

https://herold.space/proxmox-lxc-intel-quick-sync-for-plex/
nano /etc/pve/lxc/<container id>.conf
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.cgroup2.devices.allow: c 29:0 rwm
lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir
lxc.mount.entry: /dev/fb0 dev/fb0 none bind,optional,create=file
@alextakitani
alextakitani / gist:b430958327bc44954f2a1b486141d64d
Last active December 26, 2023 14:40
Upgrade postgresql 14 to 16
# remember to remove old dbs, old extensions and stuff like that, it all adds up to the time it's going to take
# this works fine for 15 also
sudo apt-get install postgresql-16 postgresql-server-dev-16
# mine neededs hypopg
cd /tmp
curl -L https://github.com/HypoPG/hypopg/archive/1.1.4.tar.gz | tar xz
cd hypopg-1.1.4
@alextakitani
alextakitani / post_install.sh
Last active March 15, 2024 15:59
Montagem de ambiente dev linux #linux
#atualizado para Tuxedo OS 2 ( Ubuntu 22.04 )
# como usar:
# Clique ali em cima no botão raw
# salve o arquivo no seu disco.
# abra o terminal na pasta onde vc baixou o arquivo.
# de permissão de execução chmod +x post_install.sh
# rode:
# ./post_install.sh
# coloque sua senha