So, about two months ago, I had a very eye opening experience. As the result of a single misconfigured security setting on my Android, I was locked out of my Google Account on my phone AND all of my PCs. I had no access whatsoever to Google, or any of the literally hundreds of services that I get through Google.

This is when I realized that I relied entirely on Google/Android because those two days were actually very difficult, being cut off from media, services, passwords, everything, from the past almost twenty years of my life, could be taken away from me in an instant. The decades of my life that were locked away in my Google Account included hundreds of thousands of pictures, almost a hundred thousand audio tracks, several hundred books, several hundred apps, thousands of videos, etc. ad infinitum. Unfortunately, very little of this material was backed up at that point. That is my fault. Also, the misconfigured security setting was my fault as well.

The amount of data, media, memories, services, etc. that would have been lost is actually endless and it would have affected my life in several ridiculously negative ways.

Luckily, in the end, I was able to get my access back and then basically immediately grabbed all of the several terabytes of information and media of mine that they had, and that I was almost locked out of. I have it all in my house now on a drive in my computer, with a backup made on another disconnected disk.

I then decided that no corporation was ever going to have such an insanely high level of influence on and control over my entire life and my media ever again. That experience was actually very scary.

I’ve been trying to get into SelfHosting, but am finding it quite daunting and difficult.

There is a LOT of stuff that I have to learn, and I am mostly unsure of where to even begin. I know basically nothing about networking.

I need to learn the very basic stuff and work my way up from there, but everything that I’ve seen on the Internet assumes that the reader already has a basic to intermediate understanding of networking and the subjects that surround it. I do not, but I am going to learn.

I just need someone to show me where to start.

Thanks in advance for any assistance!

  • Strider@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    2 hours ago

    If you have systems or services you’re dependant so strongly, always have an backup / emergency access. 3rd party or self hosted.

    My 5c but I think you agree.

    Point being as a decades old it professional I see design more important as the detail implementation.

      • Strider@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        39 minutes ago

        Ah crap that’s what I get for not being native English. But still, correct somehow.

    • MTZ@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      Indeed, I do agree but I’ve never done anything close to this magnitude so it is kind of intimidating for me. It is a learning process though!

      • Strider@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        38 minutes ago

        I’d recommend not to go containerized but that can start a flame war. I would think it easier. But best to stick to the recommended beginner tutorial that someone else posted and go along from there.

        Then ask questions on the way.

  • x00z@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 hours ago

    You seem to imply you also want to selfhost some email service. But that’s sadly one of the few things that will always be better at a trusted third party email provider.

    Besides that it seems the most important thing you want is pure data storage, and that kind of selfhosting is not hard. In many cases one would not even consider it as part of “selfhosting” as it can be as simple as a local NAS or external HDD.

    So my question is what do you actually want to accomplish? Because I think for a lot of your concerns you don’t even need to go and host something.

    • MTZ@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      I don’t want to replace email, per se. More so, the services that come along with it. Stuff like photo storage and sync, notes and reminder sync, calendar sync, and a lot of the hundreds of other small things that I have just been leaving up to Google that would cause a huge problem for me if I lost access.

      I have the password situation handled with KeePassXC on my PCs and KeePassDX on my phone, but that’s about as far as I have come as of yet.

  • ubergeek@lemmy.today
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 hours ago

    Instead of self hosting, why not try better offerings?

    Most anything you probably use Google for, you can do with a disroot account. Riseup is a great group, with many similar services (not all). The tildeverse also has myriad replacement services.

    Just try to support them, financially.

    • MTZ@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 hour ago

      I have no idea what Riseup, Tildeverse, or Disroot are but I will certainly look into it.

  • Chaser@lemmy.zip
    link
    fedilink
    English
    arrow-up
    6
    ·
    5 hours ago

    If you want to start cheap, I can recommend you to use an old notebook. In my opinion it’s the perfect home server for beginners.

    • It’s cheap (most people have an unused laying around anyway)
    • If it’s old enough to still have a dvd drive, you can replace it with a second sata ssd. There are cheap frames for this available.
    • it has a battery, so it can shutdown if there is a power outage
    • It’s slim. You can just throw it on your closet and forget about it

    Most services don’t need much. So it’s just fine if your “server” is like 10 years old. My first notebook server had 2 cores and 4 GB ram and it run Proxmox with like 10 lxc containers just fine.

  • SayCyberOnceMore@feddit.uk
    link
    fedilink
    English
    arrow-up
    6
    ·
    7 hours ago

    Write things down

    You will break something - and that’s good, it’s the best way to learn - but you’ll want to make a note of what you did / went wrong / how you fixed it.

    Future you will still break things and be grateful that you wrote that thing down

    You’ll buy something and find next year it was the wrong thing (too small, too large, too old, too new), so just get second hand stuff until you know what you need.

    Cabled networks are so much better than wireless, but then you’ll need switches and cables and shelves and stuff… so using today’s wifi is fine, but know where you’re heading.

    You need to store you stuff - that’ll be in a NAS

    You need something to run services on - that’ll be your server

    These might be the same physical metal lump (your 2nd laptop?), they might be separate… play around, break something and work out what feels right for you… and then put your data on there

    … and that’ll break too.

    Just be aware… if sync files between devices. That’s not a backup. (Consider you’ve deleted / corrupted something - it’s now replicated everywhere)

    Having a NAS with 10 drives in a RAID6 array, is not a backup. It’s just really robust against a drive failure, but a deleted file is still a deleted file.

    Take a full copy of your data off your system - then restore it somewhere else.

    Did it work? If so, that’s a backup.

  • sonekate@szmer.info
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 hours ago

    At first, you have to decide what do you need. You can selfhost almost everything, but in my opinion there is no need to do so.

    Second thing is hardware to host it. I saw a few comments recommending NAS. It is of course good thing, but my suggestion is just building your own NAS. You need only decent computer to do it.

    The easiest way is just installing TrueNAS on it - with that you can setup file sharing and your apps via docker.

    But what apps would you need/want? I can recommend a few from my stack:

    • vaultwarden - for storing passwords, 2FA codes
    • immich - for storing photos, videos, autoupload from phone
    • adguard - for getting rid of ads, tracking They are really easy to deploy.

    As an alternative to file shares via SMB, nextcloud is really good option. It’s google drive on steroids. Also includes photo gallery with great app on android/ios with autoupload option.

    • MTZ@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      Nice! Yes, photo storage and backup as well as note sync, reminder sync, calendar, etc. are all very important micro services to me.

    • teawrecks@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      4
      ·
      9 hours ago

      They use OpenVPN for some reason. Wireguard is superior in every way. In case you set up a VPN.

      • felbane@lemmy.world
        link
        fedilink
        English
        arrow-up
        40
        ·
        edit-2
        14 hours ago

        I am a sysadmin with over 30 years of experience managing servers and networks for businesses of all sizes as well as for myself, friends, and family.

        The FUTO guide is extremely detailed, accurate, and accessible. It does not always follow best practices, and it’s not a comprehensive guide to all of the possibilities for self-hosting. It’s not trying to be. It is a guide for someone with no technical expertise (but with basic technical ability) to degoogle/deapple themselves at a reasonable level of cost and effort.

        You do not have to do everything in the list, you can pick and choose the parts you’re interested in. That said, I would recommend reading through the whole article as you have time, because it does a very good job of explaining the concepts involved in building a self-hosted setup, and understanding how everything works is the biggest step toward being able to effectively troubleshoot problems when they inevitably crop up.

        If you have specific questions about things that aren’t answered in the guide or via a quick web search, post them here.

        • Concave1142@lemmy.world
          link
          fedilink
          English
          arrow-up
          7
          ·
          12 hours ago

          Love the explanation. I’ve had a homelab for 20 years now and have never heard of FUTO. You’re explainer has made me bookmark the site now for future skimming.

        • MTZ@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          12
          ·
          14 hours ago

          Thanks for the detailed explanation! I will definitely begin studying the document tomorrow!

        • Lka1988@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          5
          ·
          12 hours ago

          This, so much. I remember when Louis told everyone about it, people (mostly Reddit) were so nitpicky over every minor detail.

  • Caveman@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    6 hours ago

    I’d recommend starting by hosting a nextcloud instance.

    1. Get a desktop computer, pretty much anything will do but having room to add more HDD is important.
    2. Install Linux distro like Ubuntu or something
    3. Get a static IP so your IP doesn’t change
    4. Setup a router port forwarding rule so that an outside address points to your nextcloud instance.

    Then do some optional steps:

    • Automatically turn on PC when power comes back on (BIOS setting)
    • Startup script that runs nextcloud on startup
    • Install docker to manage services like nextcloud
    • Add some remote desktop thingy to manage your server from your laptop (ssh is also good but a steeper learning curve)
    • Get a NAS for storing data with redundancy.
    • Have some other form of backup like your current Google account, cloud provider or one of your mates with a similar setup.

    That’s pretty much what you need to start hosting your own files, then later on you can setup a email server, media server like Jellyfin, homepage and everything.

    Just go one step at a time and when you hit an issue you can and should ask Google or ChatGPT. Remember, everything exposed to the Internet is vulnerable so take security seriously. Always have everything protected by a decently long password, pairing requirement with your server confirming adding a device or an API key.

  • thelittleblackbird@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 hours ago

    Start with a nas, the rest will naturally come when you try to access your data for outside, or organize your data, or save more data types to your nas.

    Your nas should be the central device and you build the rest around it.

    Now, The question is, which nas? I would recommend synology, they are not too performance, a bit expensive and the company is lately doing suspicious moves, but the sw and the hw are rock solid and they are quite good for beginners from almost all angles. Extra point for how many howtos and tutorials are present in internet.

    Once you are comfortable with them, you will realize the rest

  • 4k93n2@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 hours ago

    if it seems daunting, which it is!, maybe it would be a good piont to ask yourself if you really need to run a server and these self hosted web apps in the first place. i did for about 10 years but i realised at some point i didnt need half of it.

    if youre planning on having multiple users or want to share one of the services (like real time editing of files or passwords etc) then thats where self hosted stuff makes sense to me, but if not then syncthing can do a lot without needing any complicated setup

    keepass is a good example. or note taking apps like jopin or obsidian where the data is store in plain text and where you can choose where the data is stored works great with syncthing

    for about a year before i did any self hosted stuff i was running only syncthing on my laptop and phone without any server so its do-able and you can get started right now and worry about getting a server later.

    tailscale is a huge help as well and is very easy to setup. say you repurpose an old laptop as a server for now and install whatever services on it, jellyfin for example, you will only be able to access that when you are on your home network but not when you are away, and thats where tailscale comes in. as long as its installed on each device you should be able to connect to your apps/services from anywhere.

    basically you can start small and then over the coming months and years as you learn more you will get more confident about moving onto more complicated setups

    • MTZ@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      57 minutes ago

      I have set up KeePassXC and KeepassDX, but that’s about as far as I have gotten thus far. I’m currently trying to figure out Obsidian for notes and a general knowledge base.

  • InEnduringGrowStrong@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    23
    ·
    14 hours ago

    A single misconfigured thing can suck real bad as you’ve seen.
    Selfhosting involves lots of things that can be misconfigured or go bad.

    That’s not to scare you out of it out anything, merely to congratulate you in seeking knowledge first.

    Disclaimer: I’m biased towards networks because I’m a network engineer, opinions may differ.

    I would say… having at least a vague grasp of layers 1-4 of the traditional network model is a decent start.
    You don’t need to understand everything, but knowing a minimum will help a lot imho.

    It’s hard to point you in the right direction without knowing what you already know or not.

    • neidu3@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      10
      ·
      edit-2
      14 hours ago

      Plus, if you end up accidentally locking yourself out of your own system: boot access means root access (Secure your IPMI/iDRAC, folks!)

    • MTZ@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      13 hours ago

      Yeah. I guess that is true. The part about not being able to point me in the right direction. I have a shaky grasp of several network protocols and things of that nature. Nothing deeper than surface level at this point.

  • RandomStickman@fedia.io
    link
    fedilink
    arrow-up
    6
    ·
    11 hours ago

    I wanna say thank you for making this post OP. I’ve got a spare laptop that I want to try to turn into my own cloud server but I find the endeavour similarly hard as well. I’ll be looking at the tips in the comments. Good luck OP!