Hey yall, I want to get into self-hosting. I want to start from hosting on a raspberry pi, and I am just wondering if yall have any recommendations (I’ve never hosted anything before, but have experience in linux and programming). Sorry if it’s bit of a stupid question.

  • cyanide@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 years ago

    Pihole is easy and light enough. I used to host Transmission (transmission-daemon) on a 3B+ and it worked alright for seeding around 300-500 torrents. FreshRSS also worked alongside.

    • Sens@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      Pihole my is choice too. It’s pretty good, but for some reason video ads still get through even off YouTube? Is it possible to block them?

        • Spy@kbin.social
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          2 years ago

          You are not wrong, but uBlock needs to be installed on each device and only works on the browser, while pihole blocks adds across the whole network for all devices.

          I have pihole but still use ublock on my personal computer

          • cyanide@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            I did recommend Pihole in my original reply. But there’s no way to block Youtube ads using it, as was being asked in the reply to my original reply.

      • XTL@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 years ago

        YouTube ads don’t come from a separate server. They come in the same way as the video. They pretty much need to be filtered out at the player end (e.g. browser plugins).

      • Mogster@kbin.social
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        You can’t do that with Pihole as the ads come from the same domains, and basically need a browser extension or an app with a built in equivalent.

        If you’re in the UK though, it does block the ads on All4 which was a nice surprise. It even works for the TV app.

  • Krafting@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 years ago

    Pihole is the best starting point in my opinion, helped a lot of my friend to get started !

    • DunkinCoder@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      2 years ago

      Goes against the spirit of self-hosting but for some stuff(Email, DNS, Passwords), I just SaaS it out. As much as I love my lab, nothing self-hosted in my prod environment is critical.

      • Spy@kbin.social
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        Exactly, I can barely maintain a media server I really don’t want to be responsible for my passwords and photos. There are secure alternatives that are private and open enough for my needs…

        • DunkinCoder@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          2 years ago

          I haven’t found anything software-wise (self-hosted or SaaS) that I’m satisfied with for photos. Thankfully, those are easy enough to backup and aren’t used day-to-day. What have you tried, and do you like/dislike of each?

          • Spy@kbin.social
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            At first I tried some self hosted solutions but I didn’t like anything, eventually I landed on ente.io/ which I really like.

            It has a lot of ways to import your photos, really nice mobile and pc (windows, Linux, and Mac) apps that can automatically upload your pictures in the background, the devs are really responsive (there was a bug with one of the importers so I opened a ticket and I got a lot of help in order to debug the issue and solve it).

            The only thing that I don’t love is that while the clients are all open source, the back end isn’t because they claim they are too small of a team to keep it both open source and secure.

    • joshuaacasey@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      2 years ago

      as tempting as pihole is. The last time I tried to do that. the pi went offline causing no internet when i was asleep (i’m a night owl) so my dad got mad at me for changing the dns settings on the router. So now I just have the router set to quad9 (used to have it set to cloudflare’s 1.1.1.2, but recently changed it)

    • sylverstream@lemmy.nz
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 years ago

      I just started with HA as well and it’s a massive rabbit hole haha. So far set up thermostats for rooms, motion sensors with smart lights and integration with Frigate for my security cams. Also set up a tablet with HA which displays all our photos from the NAS as screensaver.

    • joshuaacasey@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      2 years ago

      I might have to look into this. It says it supports the app that our ‘smart’ garage door opener uses which for some reason I am unable to login to ever since I switched my phone to GrapheneOS (literally the only app I have had trouble with…other than the pizza hut app. Btw, highly recommend GrapheneOS if you own a Pixel phone, or are in the market for a pixel phone)

      Edit: If I say, for example, decided to mess around with this (I need an excuse to mess around with docker containers anyway) how easy is it to change the port. Because I’m already using port 8123 for the map for my minecraft server

      • cyanide@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        Depending on what method you use, you would either have to change the configuration for port mapping in a file or when you run the container. It’s simple enough, and you should be able to figure it out quite easily. If not, help for Docker related stuff is never far away.

  • cupricreki@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 years ago

    For the cost of a rpi, just get actually capable hardware. Once you actually get anything running you’ll wish you had real hardware.

    • achensherd@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      I’ve been leaning this way lately. From a cost/capability standpoint, RPis were easy to justify when they were ~$30, but not as much at their current inflated prices unless you have specific power consumption and form factor requirements. Used/refurbished Dell thin clients and MFF PCs can be had for $40-100, ranging from fanless systems with low-power Atoms and Celerons to full-fledged desktops with Core i-series CPUs, all with memory and storage included more often than not. I personally just picked up a Dell OptiPlex MFF with an i5-9500T, 8GB RAM, and 256GB SSD for $100.

    • pi11@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      2 years ago

      What kind of hardware, with a similar price point to the rpi, do you think of?

      • stankmut@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 years ago

        This reminds me of the old “build a gaming pc for less than a console” thing was popular for a while.

        So let’s assume a $90 raspberry pi (someone really splurged here)

        • $90: case
        • $0: cpu, get used from a friend
        • $0: motherboard, get used from a friend
        • $0: ram, get used from a friend
        • $0: power supply, steal from work

        You can drop the case and just use a cardboard box, which would allow you to afford storage. I’m just going to assume you boot from a usb and keep everything in memory.

        • pi11@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 years ago

          What do you think about refurbished micro-pc’s? Like this Lenovo ThinkCentre M910q Tiny (i5-6500t; 8GB RAM) for 130 euro’s?

          • stankmut@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 years ago

            I have a refurbished dell that I got for ~$150-$200, the cpu is an i5-8500t. I think those are great deals, would absolutely recommend them for a home server. As your needs grow, you can even replace the RAM inside later.

            • green_dragon@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 years ago

              Agreed. I picked up the M910q for $100 including shipping from a corporate sell out on Ebay. It does everything I need; and has the ability to do so much more.

  • zooterthepenguin@kbin.social
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    If you have a 3d printer also check out Klipper, Octopi etc. I run mine off a pi zero 2 and it is a leap in performance over the stock board on the Ender 5.

  • nicman24@kbin.social
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    honestly it is good to start with and for controlling machines like an array of 3d printers but a dumpster dive laptop will be faster. RPI4 is quite old now.

    with that done:

    • jellyfin
    • smb server
    • syncthing
    • tftp with wake on lan / clonezilla to backup your other machines
      • spite@kbin.social
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        It doesn’t. Not well. And for larger files, even on cable connection without transcoding performance is god awful, sometimes it doesn’t play, or stutters or you get awful audio desyncs. Don’t do jellyfin on rpi

  • wheelcountry@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    Pihole is a good start, though I personally use my Pi 3B+ for printer server over WiFi since I have a dumb Epson printer.

  • thehatfox@kbin.social
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    PiVPN is a simple home VPN solution that’s worth exploring.

    Is you are interested in smart home/home automation Home Assistant is an open source home automation platform and makes a great Pi project.

    • spite@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      I’ve recently set up pivpn with duckdns. Are there any security related steps I should take or is the out of the box config good enough?

  • umbrella_dev@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    2 years ago

    One suggestion might be to load a Debian build on it and use it for docker containers. With docker containers you can do so many different things. I have a PI 4 and it does all of the following:
    PiHole - For blocking ads. (Everyone should have one of these)
    OpenMediaVault - For NAS
    Portainers - For loading docker containers
    Radarr - Downloading Movies
    Sonarr - Downloading TV Shows
    Tautulli - Monitors my plex server
    Overseer - Allows members of my plex share to request content.
    NZBGET and Real-Debrid Torrent Downloader Clients - For downloading content from usenet or real-debrid.

    I have one Pi4 running all of these as docker containers. Have fun!

  • Daniele@feddit.it
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    I have two Raspberry Pi (4 / 2) and I use them to selfhost:

    • AdguardHome (two instances)
    • HomeAssistant
    • NextCloud
    • Forgejo
    • VaultWarden
    • NTP server

    Those are all as Docker services so I can easily switch to new devices in case I need to. All of them work like a charm.

  • LynneOfFlowers@midwest.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    My list for my raspberry pi 4 (4 GB):

    • Nextcloud (synced cloud storage, like Dropbox; it can do more with plugins but this is all I use it for)
    • FreshRSS (RSS reader)
    • Wallabag (read it later, like Pocket or Instapaper)
    • Gitea (git project hosting like Github; admittedly I don’t really use this one much)
  • elghoto@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    I have 2 rpis and I have had running many things. Pihole, Wireguard, deluge, etc… One problem that I had is that it corrupted all my SD cards after some time. So I have them now collecting dust, and move all my services to real machines. It could be that I’m unlucky and got shitty SD cards, but I wouldn’t want to install something on it that I rely to be there in case you need to reimage the whole thing.

    • achensherd@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      AFAIK SD cards often die in RPis due to excessive writing (e.g. from logging), insufficient power supplies, and/or powering off improperly.

  • Martinligabue@kbin.social
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    2 years ago

    Some things that haven’t been proposed here might be to use it as a nas. If you want to access your films and shows from outside it’s easier to set up Plex instead of jellyfin for now. You can use it also as a steam machine streaming from the pc to the tv, or as Kodi/Libreelec mediacenter to make your tv smart