this post was submitted on 21 Feb 2024
44 points (94.0% liked)

Selfhosted

39987 readers
646 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
44
Starting from zero (lemmy.world)
submitted 8 months ago* (last edited 8 months ago) by gedaliyah@lemmy.world to c/selfhosted@lemmy.world
 

I'm interested in exploring the world of self hosting, but most of the information that I find is incredibly detailed and specific, such as what type of CPU performs better, etc. What I'm really looking for is an extremely basic square 1 guide. I know basically nothing about networking, I don't really know any coding, but it seems like there are a lot of tools out there that might make this possible even for a dummy like me.

Right now, my cloud computing is pretty much typical, I think. I use onedrive to sync my documents and old files. I need to be able to quickly access files on different devices, such as a powerpoint created on one device and presented on another. On my phone I use Android and my backups of downloads and photos and other data (messages, etc) are all on Google Drive /Google 1.

I'm willing to spend the time learning to an extent, but I'm not looking to become a network expert. I'm also willing to spend a little bit of money on hardware or a subscription service if necessary. Ideally I'd like to be out of this subscription service game, but the main goal is to be in charge of my own files. I have an old laptop running Linux to play around with and a fast and stable home internet connection.

Eventually, I would like to not only be syncing my files, photos, and documents in real time, but also I'd like to maybe try using it as an entertainment server to watch/listen to downloaded media on my home network.

Is there such a thing as a guide for a total beginner starting from zero? Is this worth attempting, or will I quickly find myself frustrated and in way over my head? Or, do I need to wait a little longer until more idiot-proof tools become available?

you are viewing a single comment's thread
view the rest of the comments
[–] Max_P@lemmy.max-p.me 11 points 8 months ago* (last edited 8 months ago) (2 children)

I have an old laptop running Linux to play around with and a fast and stable home internet connection.

That's pretty much all you need!

When I started self hosting things, I literally ran the thing off my one and only laptop. Young me was getting into web development and I was fed up with the available free hosting options, so I was like, I've already got Apache running for development, I'll just open the port and point a domain at it. My friends would check if I'm online by checking if my website loads. Sometimes I had to turn it off because I wanted to use my computer and they kept hogging my connection.

Your old laptop will run NextCloud and Samba/NFS just fine even if it's a Core 2 Duo. Sure there's Plex/Jellyfin and they require a lot more power for live transcoding and stuff, but to start off, you can just play your stuff over a simple network share.

Then when you're happy or want to expand you'll have a better idea of what kind of hardware you want. I've ran my NAS of a Raspberry Pi 2B for several years, but ultimately always wanted at least one real server.


As for setup guides, I have none. But don't let yourself get too overwhelmed: there's so much stuff you can do with a server and just as many ways to set it up. One thing at a time: get the server set up, make sure you have SSH access to it. Then pick a thing you want to run on it, and try to figure out how to run it. Don't get too ambitious, you don't have to do VMs, or containers, or anything at all. Get something done, play with it, experiment with it, see what you like.

Docker containers are pretty good, they do make setting up some services pretty easy. Sometimes they also add additional complexity. It's okay to install things directly on the host.

There's no hard rules and everyone have their preferences. When the time has come you will know and you will be seeking solutions of the likes of Proxmox or maybe some cloud servers.

It doesn't have to be perfect from the first try. You will fuck it up a couple times, and that's okay, that's called experience.

[–] Fisch@lemmy.ml 3 points 8 months ago (1 children)

You can also just disable transcoding in Jellyfin, that's how I'm running it on Pi 4

[–] possiblylinux127@lemmy.zip 4 points 8 months ago (1 children)

Why are you running on a PI? Wouldn't any other hardware at the same price point be better? You can pick up a used minipc for about $100

[–] Fisch@lemmy.ml 1 points 8 months ago* (last edited 8 months ago) (1 children)

I don't know, maybe. I bought the Pi like 3 years ago for 50-70€ or something.

[–] possiblylinux127@lemmy.zip 1 points 8 months ago

That's far. If you start having performance issues go with a Intel CPU with hardware acceleration. It can be something like a N95

[–] SniffDoctor@lemmy.ml 1 points 8 months ago (3 children)

If this sort of thing is light enough to run on a Raspberry Pi or old laptop, is there anything wrong with just running it in the background on a modern(ish) computer? My desktop is a 5900x with 64GB of RAM. I already run Jellyfin, Sunshine, and a few other things in the background but kind of want to add a web server and mess around with some other stuff.

My main concern would be security I suppose if I'm hosting a web server on the same computer I store all my family backups and stuff. Would using virtual machines solve that?

[–] rambos@lemm.ee 1 points 8 months ago (1 children)

is there anything wrong with just running it in the background on a modern(ish) computer? My desktop is a 5900x with 64GB of RAM

Nothing wrong, but there are some benefits of running dedicated hardware and stable server distro. Rpi or laptop will probably use way less electricity, but if your PC is running anyway than you actually save money by not using any extra hardware

[–] Max_P@lemmy.max-p.me 1 points 8 months ago

My main concern would be security I suppose if I'm hosting a web server on the same computer I store all my family backups and stuff. Would using virtual machines solve that?

Mostly yeah. Even VMs aren't perfect, but so widely used in the clouds of AWS and Google and whatnot that it's good enough.

[–] possiblylinux127@lemmy.zip 1 points 8 months ago

I would run it in a VM