Server build 2020

Reducing storage usage for Docker in LXC
2021-10-01 3 minutes #linux #containers #server-2020 #self-hosting

Docker containers (like onions) have layers. In your Dockerfile, each new RUN, COPY or ADD line creates a new layer (so do the others, but not ones which affect the filesystem). Each layer contains only the files which changed from the previous layer, which allows layers to be shared between containers, reducing download size and disk usage.…

Docker in LXC
2021-09-30 5 minutes #linux #containers #server-2020 #self-hosting

Docker is a great containerization technology for running applications. It keeps multiple applications completely isolated from each other, only allowing connections exactly when you tell them to. But what if you’re on a hypervisor? You want your host OS to be as lean as possible (else it defeats the point), but you don’t want the overhead and additional complexities which come from full on VMs?…

Fixing a permissions error on Proxmox backup
2021-09-18 4 minutes #server-2020 #linux

I have a bunch of VMs and LXCs on my proxmox server. Whilst I like to keep as little data in each of them as possible, and instead mount in my storage (in the form of a ZFS and snapraid pool), I still use proxmox’s built-in backup feature to back up to a separate drive, because backups can’t hurt.…

Backup Strategy 2021
2021-06-06 10 minutes #self-hosting #server-2020

Backups are critical to any systems longevity and reliability. If you’re not backing up your data, stop reading this now, go do it, then come back… Assuming none of you suddenly panicked and left, let’s keep going. You can keep telling yourself otherwise, but eventually, every system will experience some kind of failure.…

Server build 2020 - Proxmox setup
2021-05-03 15 minutes #server-2020 #self-hosting #linux

Back in December, I fully rebuilt my home server from the ground up based on Proxmox. Being a hypervisor OS, it makes sense to run everything in VMs or LXC containers, not on the host. Therefore, there’s a huge amount of scope for opinions, lessons and customizations.…

Nvidia GPU passthrough in LXC
2020-12-23 8 minutes #self-hosting #linux #server-2020 #containers

GPU Passthrough has become a great way to run a Linux host, but still run games under Windows. By having 2 GPUs, 1 for the Linux host and the other for a Windows VM, you give Windows its own full GPU for games, but without having to run Windows as your primary OS.…

Mount NFS inside LXC containers
2020-12-14 4 minutes #server-2020 #self-hosting #linux #containers

NFS is a great protocol for sharing files quickly and simply over the network. Whilst it’s not designed for end user use, it’s great for mounting directories from remote machines, and having them be performant. NFS' lack of authentication is in a way a feature, honest.…

Server build 2020 - Parts
2020-12-01 7 minutes #server-2020 #self-hosting #linux

Black Friday, the only day which seems to last over a month, is a great time to buy tech. Whilst most people will be buying early christmas presents, new gadgets for themselves, or just impulse buying stuff they don’t need (something I totally never do…), I ordered the parts for my new server.…