I am interested in tech and would say I have more knowledge about networking than the average person, but there’s still a lot that’s way above my head. I’ve played around with Pis a little and have set up things like home assistant and foundry VTT before.

I got my hands on an old machine from work and want to upgrade it with some of my spare hardware, and ideally have it set up as my single home server. I would like to host plex, a few foundry servers, home assistant, and use it as a NAS. Basically combine everything I have right now into one more powerful machine.

Thing is… It feels really overwhelming to try and start. I’m not sure really sure how to go about the whole endeavor. What OS do I use? Do I use VMs, docker containers, is there pro or cons one way or the other? How can I make sure they’re all accessible from the web securely?

Is there anything you guys can tell me to get me started? Some resources to walk me along setting a multipurpose home server?

  • spaghetti_carbanana@krabb.org
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Oh and by the way, it’s easy to feel overwhelmed starting out in this. My advice is to set yourself small, achievable goals to help break it up. Start by doing your hardware upgrade, then work out what your host OS will be and install it. Then work out how you want to use it, what you want to containerise, what you want to run in VMs.

    be prepared to knock it all over and start again. Everyone rebuilds their environment, usually after learning how they could do it better. And most of all, have fun!

    • iAmTheTot@kbin.socialOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      be prepared to knock it all over and start again.

      Definitely used to this already just messing around with my few Pis lol.

  • richneptune@lemmy.fmhy.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I can’t point to any decent resources, but in your shoes I’d probably download a Debian based distro that’s similar to what you used on your pi’s (Ubuntu server or Debian itself), learn how to use docker (see the other post where a user is asking about containerisation today for community responses) and set up a reverse proxy like Caddy to safely host your content on your lan and once you’ve got it working on there then think about internet access and whether you want to go down the VPS/Cloudfront route for public access to your goodies.

    Given how Plex is trying to diversify away from self hosted content, give Jellyfin a spin - it’s surprisingly good and supported by anything with a browser, iOS, android, firestick, kodi or whatever!

  • spaghetti_carbanana@krabb.org
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Proxmox might be what you’re looking for, it’s very popular among homelab users and allows you to run VMs and Containers natively so you have the best of both worlds.

    As to which you should use (Docker or VMs), neither is a silver bullet. I’m going to oversimplify it a bit, but in a nutshell:

    Containers lend very well to microservices like web apps and processes you want to run isolated but don’t need a whole VM for. I can go into this in more depth if it helps you.

    VMs are better suited when you have a disproportionately more resource hungry service (like database servers). They also allow easier deployment of things alongside the application, for example if you have monitoring agents. The downside is VMs add a maintenance overhead for the underlying OS (this is true of containers too but less so as you’ll often run many containers on one host).

    In my environment I use VMware ESX for the hypervisors, manage it with vCenter and run mostly Linux machines with a mix of traditionally installed services and Docker standalone. There are some highly resource intensive services that even get their own physical host, like my NVR (for CCTV cameras) and backup server.

    Hope I’ve answered more questions than I’ve created!

  • poVoq@slrpnk.net
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    You could use a complete solution like TrueNAS or https://www.openmediavault.org/ but IMHO if learning is equally a goal you could also start with a standard Debian or Fedora Server Edition. Personally I use the latter and it is very nice to use with the Cockpit web-console and the good integration with Podman for running Docker containers.

  • Tiritibambix@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I feel you. I was where you are 2 years ago and it was really hard to start off.

    I’d suggest starting installing Debian as an OS. Then, go for Docker.

    If you feel lost, you can take a look at some videos from DBTech on YouTube. Look at his playlists to sort what you need.

    Remember to document everything you do, because you’ll forget what you did to make things work your way.

    Have fun !