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?

  • neidu3@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    63
    ·
    edit-2
    4 days ago

    Anything that does the job is good enough. At its core a server is just a regular PC with a dedicated purpose and software. Sure, there are specialized hardware better suitable and purpose built, but it’s not a requirement.

    I for one prefer 19" rackmount stuff with disk bays in the front, but that’s more of a convenience than anything.

    UPS is nice, but it’ll work without it.

    I’ve had to deal with the Brazilian computer market and how it’s ridiculously overpriced due to import fees, so in your situation I’d just get any hand-me-down computer. Servers generally don’t require much unless you’re doing something special or intensive.

    Get your hands on whatever you can find for free or dirt cheap (laptop or desktop doesn’tmatter), install linux, and you have a basic setup that you can work with. If your use case requires more, then that’s something you can accommodate in the next iteration of your server.

    • anotherandrew@lemmy.mixdown.ca
      link
      fedilink
      English
      arrow-up
      5
      ·
      3 days ago

      This.

      Almost all of my gear is bought used: switches, server, even memory. My main server is an old Dell C6100 blade server I got for $250. My disk array is a 12-bay SAN that I found for $50 and took a chance on being able to get it working. It’s power hungry but it’s got redundant everything and I have spare parts on the shelf next to it.

      I’ve been branching into ARM servers a little and right now I’ve got an RK3588 board with 32G of RAM. That’s new (and expensive for me) but I got a fibre channel array for $20 that I’m going to try to make work with it. $8 FC HBA and a $12 cable along with a $30 m2-to-PCIe adapter intended for eGPUs. I’m not going for speed here, but used data centre equipment is nice and some of it is dirt cheap because it’s too slow for “real” work.

  • MNByChoice@midwest.social
    link
    fedilink
    English
    arrow-up
    52
    ·
    4 days ago

    The joke is electricity and Linux.

    The real answer is the free hardware.

    My main reliable is from 2008? It cannot do modern virtualization due to not having the CPU instruction sets.

    • Shdwdrgn@mander.xyz
      link
      fedilink
      English
      arrow-up
      7
      ·
      4 days ago

      You might check if a simple CPU upgrade would get you there. I previously ran some 2005 Poweredge servers that came with a Pentium D processor, and it cost me something like $8 from ebay to upgrade to a Xeon and start running KVM.

  • Jason2357@lemmy.ca
    link
    fedilink
    English
    arrow-up
    10
    ·
    3 days ago

    Find out if there are any corporate off-lease machines being sold in your area. USFF machines are frequently used as mini desktops or point of sale computers then sold off for peanuts when warranties are done. Especially look at i3-8xxx generation, as they don’t support windows 11 fully.

    • mic_check_one_two@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      3 days ago

      Any corporate fleet machines, really. Corporate C-suite executives always demand the best laptops on the market… They also demand the newest laptops on the market. Because they can’t be seen with a worse laptop than the graphic artists or the programmers. This means there’s always fresh stock of last year’s corporate laptop hitting the used market. And they’re almost always gently used, because they just sat docked on some executive’s desk for a year, and were only used to answer emails.

      Those $2000 laptops often get dropped on eBay for like $250, because the random Accounting person who has to auction them off doesn’t really care how much they sell for; They’re just checking a “was sold to recoup costs” checkbox.

    • yo_scottie_oh@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days ago

      How does one find such retired laptops? As an individual hobbyist in the US, would I just monitor eBay, Craigslist, or Facebook?

      • Jason2357@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 hours ago

        Yes. EBay and Amazon have a certified refurbished thing with warranties for a little more money, or monitor local classified sites if you can inspect them. I’ve bought a couple off Kijiji here in Canada, which is a bit like Craigslist and Facebook marketplace. The sellers didn’t advertise that they were a business selling off-lease stuff, but you can tell by the number of laptops they post.

    • rmuk@feddit.uk
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days ago

      One hundred percent go for USFF. Even the cheapest, most basic processor will smash server roles because it’s not having to power desktop applications, graphics, window managers, etc.

  • BombOmOm@lemmy.world
    link
    fedilink
    English
    arrow-up
    36
    arrow-down
    1
    ·
    4 days 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.

    • Human01001100@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      2 days ago

      That’s the thing, when I buy new devices, my old ones usually go to my parents or for donation. So I have no old tech laying around, sadly. I’ll have to buy, that’s the reason for the post.

  • _cryptagion [he/him]@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days 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.

  • utjebe@reddthat.com
    link
    fedilink
    English
    arrow-up
    6
    ·
    3 days ago

    Take what you have, start small and learn from it.

    Old laptops are great, because they have low power consumption and even pretty used up battery will give you power redundancy.

    Even a 10yo laptop is something with 4-5th gen Core cpu and that has plenty of power to get you started.

    • BrianTheeBiscuiteer@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      4 days ago

      These are a good alternative to RPis. Just be aware some of these are sort of haphazardly assembled so they might have cooling issues or bad power supplies.

      • Lemmchen@feddit.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 days ago

        Can’t say my Chuwi Larkbox X has any issues (other than missing a few QoL settings in the UEFI).

  • ashenone@lemmy.ml
    link
    fedilink
    English
    arrow-up
    20
    ·
    4 days ago

    When I started my media server in 2020 I used e-waste from my building. Had an i7 3770, 16gb ddr3 ram and an rx460 graphics card. I ran jellyfin, ultrasonic and audiobookshelf for 10-15 people with no problem on this hardware. Anything made within the last decade should provide a good starting point for you.

    • bblkargonaut@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      4 days ago

      This was almost my gaming PC specs in 2020. Rx580 and 16gb more ram. It’s now my server running jellyfin and immich for my family.

      • ashenone@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 days ago

        Rx580 was such a workhorse card. Used mine until a year ago and then it went to a friend who’s still using it today.

        • bblkargonaut@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 days ago

          My Rx580 has basically been on continuously since I bought it in like 2017/18. I used it to mine when I wasn’t gaming until it became unprofitable, then to process sequencing data for my dissertation project while not gaming, and now it’s in my server.

  • Landless2029@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 days 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.

  • Shdwdrgn@mander.xyz
    link
    fedilink
    English
    arrow-up
    19
    ·
    4 days ago

    Keep an eye out for people trashing perfectly good desktop machines because Windows 10 is being retired.

    If you want a server that “does it all” then you would need to get the most decked-out top of the line server available… Obviously that is unrealistic, so as others have mentioned, knowing WHAT you want to run is required to even begin to make a guess at what you will need.

    Meanwhile here’s what I suggest – Grab any desktop machine you can find to get yourself started. Load up an OS, and start adding services. Maybe you want to run a personal web server, a file server, or something more extensive like Nextcloud? Get those things installed, and see how it runs. At some point you will start seeing performance issues, and this tells you when it’s time to upgrade to something with more capability. You may simply need more memory or a better CPU, in which case you can get the parts, or you may need to really step up to something with dual-CPU or internal RAID. You might also consider splitting services between multiple desktop machines, for instance having one dedicated NAS and another running Nextcloud. Your personal setup will dictate what works best for you, but the best way to learn these things is to just dive in with whatever hardware you can get ahold of (especially when it’s free), and use that as your baseline for any upgrades.

    • jagermo@feddit.org
      link
      fedilink
      English
      arrow-up
      6
      ·
      4 days ago

      This. Be on the lookout for company grade PCs, like from Dell, Lenovo or Fujitsu, they come in small form factors, offer decent upgradability and are low/on power consumption and noise (most of the time)

  • FrederikNJS@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    3 days ago

    As long as it’s capable of booting into Linux, then you can start building a homelab…

    Initially I had a 2-bay Synology NAS, and a Raspberry Pi 3B… It was very modest, but enough to stream media to my TV and run a bunch of different stuff in docker containers.

    In my house, computer hardware is handed down. I buy something to upgrade my desktop, and whatever falls off that machine is handed down to my wife or my daughter’s machines, then finally it’s handed down to the server.

    At some point my old Core i7-920 ended up in the server. This was plenty to upgrade the server to running Kubernetes with even more stuff, and even software transcoding some media for streaming. Running BTRFS gave me the flexibility to add various used disks over time.

    At some point the CPU went bad, so I bought an upgrade for my desktop, and handed my old CPU donown the can, which released an Intel Core i5-2400F for the server. At this point storage and memory started to become the main limiting factor, so I added a PCI SAS card in IT mode to add more disks.

    As this point my wife needed a faster CPU, so I bought a newer used CPU for her, and her old Intel Core i7-3770 was handed down to the server. That gave quite a boost in raw CPU power.

    I ended up with a spare Intel Core i5-7600 because the first motherboard I bought for my wife was dead, so I looked up and found that for very cheap I could buy a motherboard to match, so I upgraded the server which opened up proper hardware transcoding.

    I have since added 2 Intel NUCs to have a highly available control plane for my cluster.

    This is where my server is at right now, and it’s way beyond sufficient for the media streaming, photo library, various game servers, a lot of self-hosted smart home stuff, and all sorts of other random bits and pieces I want to run.

    My suggestion would be to start out by finding the cheapest possible option, and then learn what your needs are.

    What do you want your server to do? What software do you want to run? What hardware do you want to connect to it? All of this will evolve as you start using your server more and more, and you will learn what you need to buy to achieve what you want to.

    • Human01001100@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      How complex is migrating the whole thing for a the new setup when upgrading? The best I can get with my current budget probably resembles the “quality” of your second server(first upgrade).

      While on your firstly upgraded server, were there limitations to any of your self-hosting desires? Things that were only possible on your following upgrade? That’s my main concern. I’m probably over thinking things, it will be my first home server, I’ll probably stick the simple stuff at first.

      Right now I want to host movies, photos, automatic backups, files in general. Also use it for the smart home that I’m slowly putting together, basic stuff… for starters.

      • FrederikNJS@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        3 days ago

        The only true “roadblock” I have experienced was when running on the raspberry pi, where the CPU was too slow to do any transcoding at all, and the memory was too small and unupgradable to be able to run much at the same time.

        As soon as I had migrated to a proper desktop (the i7-920) I could run basically everything I would regularly want. And from then on it was a piece of cake upgrading. Shut the machine down, unplug, swap the parts, plug in, turn on. Linux has happily booted up with no trouble with the new hardware.

        Since my first server was a classic bios, and the later machines was UEFI, then that step required a reinstall… But after the reinstall, I actually just copied all the contents of the root partition over, and it just worked.

        The main limiting factors for me has been the amount of memory, the amount of SATA connectors for disks, and whether the hardware supported hardware transcoding.

        For memory, ensure the motherboard has 4 sockets for memory, that makes it easy to start out with a bit of memory and upgrade later. For example you could start out with 2x 4GB sticks for a total of 8GB, and then later when you feel like you need more, you buy 2x 8GB sticks. Now you have a total of 24 GB.

        For SATA ports, ensure the motherboard has enough ports for your needs, and I would also strongly recommend looking for a motherboard with at least 2 PCIe 16x slots, as that will allow you too add many more SATA or SAS ports via a SAS card.

        Hardware encoding is far from a must. It’s only really necessary if you have a lot of media in unsupported formats by the client devices. 95% of my library is h.264 in 1080p, which is supported on pretty much everything, so it will play directly and not require any transcoding. Most 1080p media is encoded in h.264, so it’s usually a non-issue. 4k media however often come in HEVC (h.265), which many devices do not support. These files will require transcoding to be playable on devices that do not support it, but a CPU can still transcode it using “software transcoding”, it’s just much slower and less responsive. So I would consider it a nice convenience, but definitely not a must, and it depends entirely on the encoding of the media library.

        EDIT: Oh, I just remembered… Beware of non-standard hardware. For example motherboards from Dell and IBM/Lenovo. These often come with non-standard fan mounts and headers, which means you can’t replace the fans. They also often have non-standard power supplies, in non-standard form factors, which means that if the power supply dies, it’s nearly impossibly to replace, and when you upgrade your motherboard you are likely forced to replace the power supply as well, and since the size of the power supply isn’t standard, the new power supply will not fix in the case… Many of their motherboards also have non-standard mounts for the motherboards, which means that you are forced to replace the case when upgrading the motherboard… You can often find companies selling their old workstations for dirt-cheap, which can be a great way to get started, but often these workstations are so non-standard that you practically can’t upgrade them… Often the only standard components in these are harddrives, SSDs, optical disc drives, memory, and any installed PCIe cards.

        • Human01001100@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 days ago

          Thanks for the response, it pretty much answers all questions I had in mind (I think…😅).

  • Nibodhika@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    4 days ago

    Depends on what you want the server to do. A Minecraft server and a Pihole server have vastly different requirements. As a general rule, any old laptop or desktop will do, think on requirements for your grandma and that should cover most (except gaming servers) needs.

  • acockworkorange@mander.xyz
    link
    fedilink
    English
    arrow-up
    16
    ·
    4 days ago

    You have to have an idea of what you’ll run on it first.

    Old corporate desktops will do for a NAS and basic light services. Look for one that has three drive bays plus an NVMe slot.

  • MTK@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    4 days 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.

OSZAR »