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?

  • cally [he/they]@pawb.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    22 minutes ago

    I live in Brazil too and bought a R$120 old HP computer running Windows XP on MercadoLivre. Works decently enough for a Minecraft server after an upgrade (4 to 8GB of RAM). Old computers are great for price and they’re good if you can upgrade them.

    For general purposes, get something better than what I bought since it is not the fastest (even though it runs the Minecraft server software alright, it still lags). Maybe upgrading with an SSD would help performance.

  • FrederikNJS@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 hours 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.

  • utjebe@reddthat.com
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 hours 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.

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

  • Jason2357@lemmy.ca
    link
    fedilink
    English
    arrow-up
    8
    ·
    9 hours 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.

    • yo_scottie_oh@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

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

    • mic_check_one_two@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      8 hours 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.

  • ABetterTomorrow@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 hours ago

    The one you already have and/or if a raspberry pi 2 (all) can do it…. So can you. It’s not a game, you don’t need a RTX 9090Ti Super Omega Beta Pizza to run it.

  • Zwrt@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    11 hours 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.

  • ThunderLegend@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    12 hours ago

    As everyone have said, it depends on what you want to have in your server. I started with an old lenovo I bought in mercado livre for 200 BRL. It was a DDR2 PC with 4Gb ram. I bought an ssd and installed Debian. Used for years. After that I tried to build a DDR3 PC. Made it with 800 BRL and it’s decent to run my docker containers like an arr stack, nextcloud, VPN, reverse proxy and vaultwarden.

  • Nibodhika@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    16 hours 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.

  • MNByChoice@midwest.social
    link
    fedilink
    English
    arrow-up
    48
    ·
    1 day 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
      6
      ·
      20 hours 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.

  • merthyr1831@lemmy.ml
    link
    fedilink
    English
    arrow-up
    9
    ·
    20 hours 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
      2
      ·
      15 hours ago

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

  • neidu3@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    56
    ·
    edit-2
    1 day 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
      4
      ·
      6 hours 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.