KH

Migrating software to the VM, part 1

About a 5 minute read

Written by Kyle Hawk on Oct 12, 2026

#life#homelab

Alright. Time for software. What can go wrong, right?

As I mentioned previously, I was going to start with Ollama. It’s something that doesn’t have a big impact on my day to day, and also a way for me to make sure the GPU is functional within programs.

Oddly enough.. it was super easy to get going. A cURL command ran an install shell script and bing, bang, boom it was there and running like it should be.

BASH

sudo apt install -y curl
curl -fsSL https://ollama.com/install.sh | sh
sudo systemctl enable --now ollama

The part that always confuses me is downloading models and/or what models my GPU can actually handle. There’s so much language around the models, you can forgive me for always having to Google things.

For my first test, I went with qwen.25-coder:14b. I had used qwen a bit in the past and it seemed good for coding, so I figured I’d stick with it as a good first test. Luckily, Ollama makes it super easy to get qwen models. A pull and run command later.. it worked. Wow, this is going way too smoothly.

Not only did it work, but it was fast. On my personal computer, I have a 9070XT and it was a pain in the ass to get the models to use it. This time around, with the 2080ti, things were just working. I did a double check with ollama ps to make sure it was using the GPU and, sure enough, 100% GPU and the usage topped out at about 93%. So it handled it, and handled it well. NICE!

I made sure Ollama would auto start, and that was pretty much it. The only additional step I needed to do was to be able to access it on my home network, I had to edit the ollama service to have OLLAMA_HOST listen to the VM’s LAN.

BASH

sudo systemctl edit ollama

BASH

[Service]
Environment="OLLAMA_HOST=0.0.0.0:11434"

BASH

sudo systemctl daemon-reload
sudo systemctl restart ollama

At this point, I got way too distracted messing with models, including migrating over models I had on my computer that I forget where I got them from on Hugging Face.

Getting Docker going

I knew I was going to need Docker at some point, since I have several services that run in a Docker container. Sometimes, it’s just easier. Of course, other times, it makes it a giant pain the ass.

Anyway. I really liked Open WebUI when I first tested it, so figured I’d add that as well. The commands for installing Docker on Debian were superrrr simple. Like, damn. I didn’t realize how easy that was.

BASH

sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io \
  docker-buildx-plugin docker-compose-plugin
sudo systemctl enable --now docker

After that, I created a directory for Open WebUI, tossed in a compose file, and started it up. Again, I was expecting to hit some sort of snag - but it created and was running with no issues.

I did also do this command so I wouldn’t have to use sudo every time I used the docker command:

BASH

sudo usermod -aG docker "$USER"

The big one.. Plex

I was feeling pretty good about all of this - so I decided it was time for the big one.. Plex. This was pretty much the driving factor for having the dedicate home lab. We use it all the time at my house, and my family use it remotely as well. I’m not going to lie, this migration stressed me out. I didn’t want to somehow wipe my 12TB hard drive worth of media, or mess something up and be without Plex for a while (my kiddos really enjoy watching their shows).

I spent quite a bit of time iterating on a plan with Copilot. The first hurdle was, of course, going to be moving the physical HDD from my computer to the home lab PC. Along with Plex, I have a host of other software that help me acquire new media. I decided to focus solely on Plex at the start - I could move the rest after. The goal was to be able to at least access Plex on my network, then figure out remote access, then move on to the other software.

It was a lot, so I’m dedicated the entire next part to it.