this post was submitted on 02 Jul 2023
452 points (95.7% liked)

Showerthoughts

28984 readers
155 users here now

A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. The best ones are thoughts that many people can relate to and they find something funny or interesting in regular stuff.

Rules

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] ShittyKopper@lemmy.w.on-t.work 1 points 1 year ago* (last edited 1 year ago)

There are many guides on getting started with Linux servers as a whole. I recommend installing Debian Bookworm on a virtual machine or a spare laptop at first and going through the writeups all major cloud providers have, just to get a feel for using the terminal & initial setup (SSH hardening and reverse proxy configuration and so on)

After getting an initial feel for Linux admining, start reading up on Docker, Docker Compose, and containers in general. Avoid Podman until you're experienced with Docker as it's just different enough to trip you up. You can also check out LXC/LXD although it's way less popular.

Oh, and speaking of Docker: UFW AND DOCKER WILL NOT WORK TOGETHER! DOCKER BYPASSES UFW (just making sure you don't learn this until it's too late)

Be careful of guides that are old (even a year makes a difference) or for different "distros" than the one you have. An exception for the second case is the Arch Linux wiki, which is one of the best resources just in general, aside from a few Arch specific bits like the exact package names to install. You should also use Arch's "man pages" reference, as they're built from the latest versions of packages compared to other man page renderers that are frequently outdated (like die.net)

Lemmy itself is harder to get right because the instructions so far are intended for people who kinda know what they're doing, but once you have the base Linux admin knowledge, it won't be that hard to pick up the parts necessary to get working with something like Lemmy.