I’m refurbishing an old PC to work as a home server for several stuff. I’m looking for a lightweight distribution to install in it, but with a decent package repository. A small image size will be appreciated, as I have slow bandwidth too.

  • bastion@feddit.nl
    link
    fedilink
    arrow-up
    16
    ·
    11 months ago

    A lot of people are saying Debian, because Debian.

    Debian. I’ve literally run Debian stable with uptimes of over a year.

  • Evil_Shrubbery@lemm.ee
    link
    fedilink
    arrow-up
    14
    ·
    11 months ago

    Debian or Ubuntu Server (or something specific to servers purpose, like OMV, etc).

    … but ProxMox (a hypervisor, Debian based) doesn’t have much overhead & runs on old PCs pretty well. And with that, you can pretty much try any distro (as a full virtual machines, perhaps with dockers within it, or as a lightweight containers that are really resource efficient). Or separate containers for each purpose (for beginners, there are like TurnKey solutions to stuff like NAS, it takes literally a few minutes to set up).

    Backups (snapshots) are easy too, and a later migration to a better/next server is basically two clicks away.

    • TheUnicornOfPerfidy@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      11 months ago

      So the question I then have is, how hard would it be to virtualise my current Ubuntu server within Proxmox, both not having dealt with VMs before and having spent a lot of time on the server?

      • Evil_Shrubbery@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago

        To transfer image 1:1 from disk to VM?

        Im sure there is a way (a quick search will probably give you your answer fairly quickly) … or just try Clonezilla, that way you can also revert back. As per usual with OS I would advise make a clean install on a new machine & transfer the rest manually, … however I’m lazy and wound definitely try to image copypasta the disk.

        VMs as such aren’t really any different from regular machines, it’s just that you define virtual machine parts, well, virtually (like you can add disks, RAM, cores, etc as you wish).

  • Max-P@lemmy.max-p.me
    link
    fedilink
    arrow-up
    8
    ·
    11 months ago

    Apart from Debian, I guess Alpine. It’s quite popular in containers for its small size. Even Arch will be much bigger in that case because the packages are much less granular and install development libraries and headers for about everything.

  • Fjor@lemm.ee
    link
    fedilink
    arrow-up
    8
    ·
    11 months ago
    • OpenSuse
    • Debian
    • Alpine

    Would be the three I’d choose from atleast.

  • ptman@sopuli.xyz
    link
    fedilink
    arrow-up
    6
    ·
    11 months ago

    Linux is quite lightweight. Pick a distro that doesn’t run a lot of stuff by default. OpenBSD only runs sshd exposed to the network, AFAIR. Debian probably does the same. But really, the lightness comes from what isn’t running. NixOS, fedora, rocky, alpine are all decent alternatives.

  • butter@midwest.social
    link
    fedilink
    English
    arrow-up
    5
    ·
    11 months ago

    I went Debian without a Desktop for my server. I later installed a desktop for the occasion that I need it. But mostly, I use SSH

  • merthyr1831@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    11 months ago

    Dietpi. It’s debian with a small package repo of common selfhosting software pre-configured to work out of the box. It also has a dedicated community and very helpful maintainers!

  • Eevoltic@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    5
    ·
    11 months ago

    I use Debian for one and Arch for another. Debian is probably a better option, but I’ve had no issues with my arch server. Just use what you’re most comfortable with

  • virtualbriefcase@lemm.ee
    link
    fedilink
    arrow-up
    5
    ·
    11 months ago

    Debian or Alpine would be perfect. Debian has bigger repos, better hardware compatibility, and maybe a bit more stability. Alpine is scary lightweight and a small ISO download.