this post was submitted on 15 Jul 2023
114 points (97.5% liked)

Asklemmy

43963 readers
1775 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 year ago (1 children)

I'd like to learn more about how to do this. I've got a home theater PC I've been using as a NAS via simple windows & samba file sharing, but I'd like to expand that to tools like Jellyfin and potentially something like writefreely or a podcasting platform for others to enjoy. I've looked it up cursorily but would appreciate if you could share additional resources my way in developing my own server here as well. (All good if you don't have any to share, I can just google as well I suppose)

[โ€“] [email protected] 4 points 1 year ago

Sure I can talk a little. First things first: If you're hosting on windows, you should probably use a different OS.

If you're looking for something easily manageable, there is a couple of specifically made systems made for easy administration, True as comes to mind, but that's not what I use.

If you're more proficient, or ready to learn, you should really have a Linux distro on your server. I recommend Debian 12, but there is many valid choices.

When setting this kind of system up, the essential service that you want to run all the time is SSH, as that's how you will configure and use the server. On Debian 12, you can just check a box in the installer and it will set up ssh for you.

After that, you don't need a screen or keyboard on your server anymore, just go to any of your work stations and go ssh user@(your server IP) and boom you get a shell on your server.

Okay, so now what? Think about what you want to host. Then just look up the documentation of your stuff. Learn Docker, as it will make hosting way easier. If you're a friend of the visual click click interface, you'd probably want portainer.

With docker, you can host a ton of service without actually having to do a lot of configuring with them. Want to host a database? Marinade Want to host a media server? Plex

Okay, now you probably think that sounds way too complicated and are about to get demotivated. Now you see, the most important thing is to start. If you set it up yourself, your first server will be a mess, and that's okay. You will scream at docker because it does weird things, you will scream because your Webserver finally connects with the database and you can play your music and you will break things to the point where you will just reinstall. It's a great learning experience.

Some time later, you will just go "hey that service sounds cool", copy some compose file, tweak it a bit, and boom you hosted a new service in a couple minutes.

About ressources: I mostly use just what's provided by the stuff I want to use. A lot of my information that goes directly to the act of hosting comes from Readme files in git repositories or descriptions on docker hub. Besides that, search for things you encounter.

In general, I've found the first party documentation of the things I use in tech to be the most reliable, but that seems not for everyone.

There isn't a magic central Ressource, besides your head when you remember doing something before. Selfhosting/Homelab communities on Reddit or now Lemmy can help with ideas.