Tag: linux
Ubuntu 22.04/libvirt/bridge network
Answered here…https://serverfault.com/questions/1113764/libvirt-with-qemu-guest-bridged-networking-does-not-work
Running Ubuntu/Mint with pci passthrough
For the nvidia card to output something from the virtual machine I had to, of course install the proper drivers but before that I had to enable secure boot, or at least...
Ubuntu (and more?)
Missing close, maximize, minimize buttons? On right side: On left side:
CUDA – Compute Unified Device Architecture
Installation https://linuxconfig.org/how-to-install-cuda-on-ubuntu-20-04-focal-fossa-linux Not entirely for 22.04LTS but with some minor modifications… However, there seems to be some issues with this way of installing nvidia/cuda. I ended up with apt stating that the...
Unifi – dhcp snooping
Rather annoying setting; some but not all my vm:s stopped receiving dhcp offers, apparently at random. My spontaneous guess is that this is somewhat buggy. Network -> Settings -> Networks
DNF Utils, virt-manager
For Red Hat Enterprise Linux dnf install dnf-utils needs-restarting -r echo $? 0 = no reboot1 = reboot virt-manager -c 'qemu+ssh://myuser@10.11.12.13:12345/system?keyfile=id_rsa'
Boot raspberrypi 4 from usb/network
sudo apt updatesudo apt full-upgradesudo rpi-update sudo rpi-eeprom-update -d -a sudo reboot sudo raspi-config
Set memory limits in docker
Edit /etc/default/grub, add/edit: GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"
Turning off automatic upgrades
I’m using other tools for checking and upgrading so… $ sudoedit /etc/apt/apt.conf.d/20auto-upgrades From... APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Unattended-Upgrade "1"; ...to... APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Unattended-Upgrade "0"; ...or... APT::Periodic::Update-Package-Lists "0"; APT::Periodic::Download-Upgradeable-Packages "0"; APT::Periodic::AutocleanInterval "0"; APT::Periodic::Unattended-Upgrade "0";