I want to set up a home server and take advantage of everything it can offer, specialty privacy.

Raspberry PI, no matter the version, are all quite expensive here in Brazil, so that’s off the table. I’ll go for a regular desktop. But the the requirements for a server that “does it all” remains a mystery to me.

What specs do you guys recommend?

  • Zwrt@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    1 month ago

    I highly recommend you try proxmox to get the most potential out of you system. Basically can run many services and vm with little overhead, dynamically sharing the specs.

    Now about those specs… what everybody else said really but heres some pointers:

    You don’t need a big dedicated gpu unless your doing something that explicitly demands it. They are tricky to setup with virtual machines also.

    If you plan on running a minecraft server i recommend at least 8gb ram. Most will probably run fine on 4. You can probably run quite a few things on 8gb but ram is cheap and its nice to have some extra room.

    For cpu, the more things you do the More sense it makes to have more cores. If you plan on buying then amd ryzen x y z is you best option where.

    X is the number you want higher Y is a number you should not care about as much Z is potentialy the letter “G” for graphics, they are often more expensive. Get them anyway because now you dont need a dedicated gpu (and even if you already own a gpu. Trust me you will thank me if that one ever has issues)

    If you really want me to draw you something decent up that will give you plenty of freedom to experiment.

    Ryzen 7 … G, 32gb ram. Small ssd for os. xTB of performence HDD ideally configured as some raid in proxmox.

    It still cannot be said often enough that a (well cared for) second hand unlabeled laptop running ubuntu is all what most people need when they start pondering about home servers.

  • MTK@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 month ago

    Go wuth what you have. Old laptop? Works! Old desktop? Also works! Old android phone? Might work! (VM/terminal)

    If you have a device that can run Linux, start with that. Once you get some usage you can understand if you need an upgrade, and what kind. Maybe you will findout that this old laptop that you had works perfectly and you can sace money on buying a server.

    • Lemmchen@feddit.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      Scalpers for highly sought-after hardware or just general lack of supply in specific regions.

      • 11111one11111@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        1 month ago

        Sorry for my ignorance, so brasil has nothing like an Amazon where OP could buy a new pi from and have it delivered? If thats the case i feel like I could buy OP a pi and ship it to them in brasil for less cost than it would be to buy anyother option of hardware for a home server. Assuming USPS still offers flat rate boxes for international shipments.

  • rtxn@lemmy.world
    cake
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 month ago

    The minimum spec is whatever e-waste you can find that still powers on.

    My home server has an i3-4160, 10 gigabytes of mis-matched RAM, a ten-year-old 240 GB SSD with 36000 hours on it, and three 1 TB hard drives in a RAID5 array each with ~25000 power-on hours. It runs Proxmox on the metal with a virtualized OPNsense, Nextcloud, and Jellyfin server (plus smaller services). Jank levels are high, but not fatal, and it was mostly free.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      2
      ·
      edit-2
      1 month ago

      Living dangerously

      If you are buying I wouldn’t get something older as the newer stuff is the same price often times because it is less well known.

      • anotherandrew@lemmy.mixdown.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        Gotta see some evidence on that claim. Older stuff is more power hungry no doubt about it, but especially old data centre equipment is waaay more reliable and built with some very nice creature comforts.

        • Possibly linux@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 month ago

          Check the data sheets for the components. It should have a Average time to failure which will tell you about how long it will last.

          It might be fine but I personally wouldn’t rely on ancient drives

          • anotherandrew@lemmy.mixdown.ca
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 month ago

            oh I wasn’t talking about storage media. I’m talking about rack servers, switches, storage arrays (with new drives), etc., etc… The older hardware can wear out/break (I used to do MTTF/MIL-HDBK-217 calculations for avionics) but generally speaking it’s got a lot of life left in it by the time it hits the surplus market. It’s also usually designed with redundancies/failover mechanisms which means you don’t have to bodge together inferior solutions.

  • _cryptagion [he/him]@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    I run about thirty services off of an old Dell workstation that I “acquired” from my last corporate job. That includes a full Servarr stack. I’m pretty sure whatever you have will probably do the trick.

  • Landless2029@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 month ago

    This specifically depends on what you want to run.

    I’d say grab any unused PC in your home or off the street and it’ll work. Raspberry Pi are good for low wattage so it’s not expensive to run 24/7/365.

    The electricity savings would pay for itself over time vs a 10 year old random desktop.

  • RushLana@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 month ago

    If you aren’t planning on running a media server go for a old desktop or laptop (with Ethernet port). Your bottleneck will be your network speed 9 time out of 10. Also use a firewall and a anti scrapper (ex: Anubis) to avoid wasting resources.

  • Rimu@piefed.social
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 month ago

    The things I paid attention to was

    USB3 - you need this otherwise connecting external drives will be a joke Motherboard needs to accept up to 32 GB of RAM. Mine currently has only 8 but knowing I can upgrade is nice.
    Quiet - must be silent when idle.
    CPUs of less than 8th? gen will suck at video transcoding due to lacking certain capabilities. Important if running jellyfin, etc.

    The beauty of self hosting is it’s all about your individual circumstances so you priorities and acceptable tradeoffs will differ.

    • natch@lemmy.today
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      I have very similar requirements, but I’m currently using a Pi with some external drives since that’s how I started out. Would you mind sharing what you ended up buying? My place is pretty small, so the ‘quiet’ requirement is one I care about a lot. Personally I’d love to get something passively cooled, but I haven’t seen much!

    • Suzune@ani.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      My preferences are quite different.

      You’ll need a lot of RAM for all the containers, 64 GB is nice. A CPU that saves power when idle is fine. You’ll need at least 16 TB storage (32 TB RAID1). SATA HDD is fine, when you have ZFS and cache using SSDs. Never use USB for drives.

      It does not need to be quiet. Just put it in the basement and close the door.

    • Fluffy Kitty Cat@slrpnk.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      My jelly fin server is running off of an entry level desktop in 2009, a single core celeron processor. I have to downscale video files to standard definition in order for it to keep up.

  • mesa@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    A repurposed old PC with something like yunohost, generic Debian, or some lightweight Linux will probably get you what you need.

    It heavily depends on what programs you want to run.

  • CompactFlax@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 month ago

    This depends entirely on what you want to run. A pihole needs vastly different resources than for example offering jellyfin to 20 simultaneous users. Both can be hosted at home.

  • BombOmOm@lemmy.world
    link
    fedilink
    English
    arrow-up
    36
    arrow-down
    1
    ·
    1 month ago

    What are you intending to run on this server?

    • If it is just PiHole, you can basically get the weakest computer you can find.

    • If you want lots of storage space, you will need to make sure you have a case and motherboard that will accommodate the drives.

    • If you are running encryption on those drives as well, you will need a CPU more powerful than what comes in a Pi, but nothing crazy.

    • If you are running lots and lots of VMs, you will want lots of RAM. A linux VM will use maybe a few GB each depending on what software each is running internally, a windows vm will use a bit more.

    • If you are doing AI workloads, you will need a graphics card.

  • Kokesh@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 month ago

    I’m running an old Igel M340C thin client to run a lot of stuff, from Jellyfin to AdguardHome. Perfectly enough.

  • merthyr1831@lemmy.ml
    link
    fedilink
    English
    arrow-up
    10
    ·
    1 month ago

    A computer. Seriously that’s it. Of course depends on your use case (media servers usually need more than a web host for example)

    • pHr34kY@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 month ago

      My current server is just my previous desktop PC hardware. $0 when you repurpose while upgrading your desktop.