this post was submitted on 26 May 2026
11 points (100.0% liked)

Linux Questions

3935 readers
1 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 2 years ago
MODERATORS
 

I want to set up a homeserver, however I currently don´t own any Hardware that I could use to install a Server on. What I do currently have is some spare time and my Laptop.

My Question is:

Can I setup the whole server enviroment in a VM on my Laptop and save it as some portable config? When I do have server hardware I just want to get it up and running quickly.

Thanks in advance

top 3 comments
sorted by: hot top controversial new old
[–] solxix@pawb.social 1 points 1 week ago

If you copy the contents of the virtual hard disk used by to VM to a real disk, then you can just boot your server from that real disk. You'll probably have to reconfigure some hardware and network stuff but it should be super simple.

[–] CameronDev@programming.dev 1 points 1 week ago

Nix might be the answer for that, or ansible. You'll still have to reinstall, but the second time will be super easy.

[–] nek0d3r@midwest.social 1 points 1 week ago

I definitely recommend nix. In fact, I prototyped my NixOS server in a VM and then committed my config to a git repository to clone on the real server later