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
    34
    ·
    1 year ago

    A lot of people are saying Debian, because Debian.

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

  • Genrawir@lemmy.world
    link
    fedilink
    arrow-up
    24
    ·
    1 year ago

    Debian netinst. The network installable iso is much smaller than the full image as you only download stuff you actually want to install. Ubuntu used to have a mini.iso but sadly they got rid of it AFAIK.

  • butter@midwest.social
    link
    fedilink
    English
    arrow-up
    21
    ·
    1 year 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

  • Fjor
    link
    fedilink
    arrow-up
    19
    ·
    1 year ago
    • OpenSuse
    • Debian
    • Alpine

    Would be the three I’d choose from atleast.

  • Max-P@lemmy.max-p.me
    link
    fedilink
    arrow-up
    18
    ·
    1 year 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.

  • Evil_Shrubbery
    link
    fedilink
    arrow-up
    14
    ·
    1 year 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
      ·
      1 year 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
        link
        fedilink
        arrow-up
        1
        ·
        1 year 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).

  • ptman@sopuli.xyz
    link
    fedilink
    arrow-up
    11
    ·
    1 year 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.