Hi,

I want to self-host my own web server for nextcloud, jellyfin, gittea, and a bunch of other things to move away from big tech. I’m planning on having a VM for each of those apps, and running each of them in docker. I could then use Apache or Nginx to access it from outside my network. I’ve looked into virtual machines and found that QEMU would be the best option, especially for using the CLI. How would your recommend setting it up?

I ask this because I don’t want my server being used in some kind of botnet or some shit like that. I don’t think that will happen, but I’d prefer to just employ good practices to begin with just in case. Is it even worthwhile having a virtual machine for each of those services anyway?

Keep in mind that my PC I’m using is scrapped from spare parts with an R5 3600 and 16GB of memory. If I need to upgrade it I’m happy to get a bit more, but it shouldn’t be an issue.

This is also my first post on programming.dev. I’m not sure if it is a good place to post this on but hopefully there are some people

Thanks!___

  • Voroxpete@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    1 year ago

    If you’re using docker (which you should) there’s really very little value (and quite a bit of cost, resource wise) to putting everything in separate VMs.

    Edit to add: for KVM/QEMU, you’re probably best off just using Proxmox as your host OS. If you’d prefer not to do that then the easiest way to manage QEMU is with virt-manager, either connecting over SSH, or piped from the host using X forwarding.

    I’m a big fan of KVM/QEMU, I use it at work and at home, but it does have its quirks, so prepare for a bit of a learning curve.