I am completely new to the realm of self hosting. I don’t know a single thing about how I can self host stuff. Regardless, I have the curiousity to learn it by myself but I don’t know where to start. I cannot find any sort of wiki or FAQ articles, nor do I have the ability to ask the forum for every single problem or doubt I encounter during the setup. Can someone direct me to a beginner friendly site that teaches all there is about self hosting and all the questions and misconceptions that come with it?

Additionally, is a self hosted server only accessible inside my home? What about accessing the services outside, like Bitwarden or Nextcloud apps that require syncing and availability of data wherever I am? If it is useless outside, there would be no point for me personally to self host in the first place since I am perfectly fine with using cloud services for now and the convenience that comes with it. Plus, no one else in my family cares about self hosting and I don’t wish to spend the effort to convince them to in vain, so setting up a server for convenience of everyone at home is also out of the question.

  • rambos@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I still feel like a noob, but I spent a lot of time to get to this point where I am now. I can install fresh OS and run Nextcloud in less than 1 hour probably. When I started it took few months, I was burning all my free time but I loved it. It takes only few steps, but its probably a pain if everything is new. My steps would be:

    1. Install Debian OS
    2. Install docker and docker-compose
    3. Install portainer (also docker container, has simple web GUI to manage all other containers)
    4. Load docker-compose (with nextcloud and db config) in portainer stacks and start nextcloud container

    Googling steps above for your OS or hardware should point you in the right direction, but there are many other ways of course. You can use any OS, but Linux is the way to go, especially if you are looking for help on lemmy.

    Im accessing server using wireguard, it behaves like Im home and it needs to be set on each client (scanning QR code or loading config). Wireguard requires opening port 51820 on your router, but that should be safe enough. Alternative is tailscale that doesnt require opening port at all. Other options are probably too complex (read unsafe) for begginers afaik.

    If you are going to selfhost cloud service then also look into backup solutions. Losing data is not fun at all.

    My post might not answer your questions, just wanted to share my thoughts. If you decide to dive into selfhosting, Id say arm yourself with time and patience and get some cheap or free hardware to start with (old laptop with dead screen and battery should be more than enough) and enjoy your linux advantures.

    Good luck

    • jonathanvmv8f@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Wait, is an old laptop also good enough for setting up a home server? I thought you would require a completely separated and dedicated PC box like the ones you can see in studios or offices. That’s new to me!

      • Tippon@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        You can use any computer as a server, you just have to realise that low powered computers will be able to do less than something more powerful.

        As you get into it more, you might find that you need better hardware, or more network ports etc., but most of us would probably be ok with a decent PC.

      • macallik@kbin.social
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Definitely look into laptop servers. They have the benefit of having a built-in screen, keyboard and battery in case power goes down. IMO, as a fellow newbie, it’s an easy way to dip your toes into hosting using existing/cheap resources

      • rambos@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Even small SBC like raspberry pi can be a home server. SBC, laptop, SFF PC, office/gaming PC, server rack, …they are all options with different pros and cons. What hardare you need depends on your use case. Free or cheap hardware is best to start with IMO. You might find you dont even need an upgrade, and if you do, you will probably know what you need

      • chiisana@lemmy.chiisana.net
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        At the same time, despite what others have said, ho slow. Don’t fall for the all too easy trap of wanting to get the latest and biggest. I ended up with a 2U quad sock server with 256GB RAM… why? Uncalled for and totally not necessary! Start slow and when you find the services you’re hosting no longer performing the speed you’d like, then gradually scale up.

      • Appoxo@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Anything with a CPU, RAM, a SSD/HDD and a network port can host something.
        Even an old smartphone could do it.
        Could it do it well? No. Can you do it? Certainly

        It’s like with tools: You can use a drill to make holes or use it as a hammer. Is it a good hammer?