this post was submitted on 28 Apr 2025
73 points (86.9% liked)

Selfhosted

46407 readers
877 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 2 years ago
MODERATORS
 

I am trying to use my old laptops for self-hosting. One has a 6th gen Intel Core i3 (4GB ram), the other has an 11th gen Intel Core i5 (8GB ram). I have previously tried both ubuntu server and desktop but couldn't get it to work well. For the former I found it difficult to remote ssh and the latter I had difficulty installing Docker containers. (I'm not very good with the command line)

I would like to find an OS that is easier to setup with less of a neccesity for the command line (I would still like to learn how to use it though, I don't want to get rid of it entirely!). I've heard of CasaOS, is that a good option? It seems quite easy to use. What about other alternatives?

top 50 comments
sorted by: hot top controversial new old
[–] hperrin@lemmy.ca 93 points 1 day ago* (last edited 1 day ago) (27 children)

If you’re afraid of the terminal, you won’t get far in self hosting. You should learn to use the terminal. It’s not as scary as people make it sound.

You mentioned having issues with SSH into your old server. You can install a desktop environment if it makes things easier for you, but you should still learn how to be proficient in the terminal. Proxmox might help. It lets you create and manage VMs through a web interface. It can be annoying if you’re not super familiar with networking though.

[–] Mavytan@feddit.nl 6 points 13 hours ago (5 children)

Could you recommend a source for learning how to use the command line? In the past I struggled with understanding the basic commands and the various flags. I've found it difficult to find good documentation, but I would like to learn

[–] dgdft@lemmy.world 3 points 7 hours ago (2 children)

I highly recommend O'Reilly's Learning the Bash Shell in paperback form: https://www.oreilly.com/library/view/learning-the-bash/0596009658/.

The other responses you've received so far don't offer much insight into the historical background and underlying mechanics of the shell, which are crucial to understanding the "Why?"s of command-line quirkiness.

[–] Mavytan@feddit.nl 3 points 7 hours ago

Thanks for your reply. I agree the 'why' is important, for me that usually makes things more intuitive

load more comments (1 replies)
[–] hperrin@lemmy.ca 3 points 13 hours ago* (last edited 13 hours ago) (1 children)

It’s been a long time since I learned, so I don’t remember exactly what I used, but at a cursory glance, this one looks good:

https://www.terminaltutor.com/

Also, learning to read man pages will help a lot. Here’s an article on that:

https://itsfoss.com/linux-man-page-guide/

I do remember using “terminal cheat sheets” like this:

https://phoenixnap.com/kb/wp-content/uploads/2023/11/linux-commands-cheat-sheet-pdf.pdf

load more comments (1 replies)
load more comments (3 replies)
load more comments (26 replies)
[–] groet@feddit.org 42 points 1 day ago (1 children)

Generally, Linux Servers are best administered from a command line. At least in the beginning to set everything up. In turn they are faster on lower hardware as they dont even have a graphical desktop at all so need less resources. You could of course install a windows server OS. They can be fully administered through Remote Desktop and a GUI.

There are multiple projects to make self hosting more accessible (like casaOS). They automate many steps of the setup and then offer you a webUI for further steps. Maybe have a look here https://github.com/awesome-selfhosted/awesome-selfhosted?tab=readme-ov-file#self-hosting-solutions

[–] scheep@lemmy.world 16 points 1 day ago (1 children)

Woah, there's a lot. Nice that there's plenty of options!

[–] hellequin67@lemm.ee 7 points 1 day ago* (last edited 1 day ago)

I run my home media server ( and intel NUC i5, so nothing super powerful) running Ubuntu with CasaOS.

There's tons of you tube videos to help with CasaOS for self hosting and not just the media side.

I think I only used the terminal to install CasaOS the rest is done from the web gui

[–] Andromxda@lemmy.dbzer0.com 26 points 1 day ago (2 children)
[–] dmention7@lemm.ee 8 points 1 day ago

Beginner here (to Linux and networking anyways), running Unraid for about 18 months now. Fully agree, it's been great for actually getting up and doing useful things quickly and relatively pain free.

Eventually I would like to try working backwards and getting things running on a more "traditional" server environment, but Unraid has been a great learning tool for me personally.

It's like... Maybe some folks learned to overhaul an engine before they got their driver's license, but lots of people just need to a car to get to work and back today, and they can learn to change their oil and do a brake job when the time comes.

load more comments (1 replies)
[–] pHr34kY@lemmy.world 17 points 1 day ago (1 children)

Almost all of selfhosting is editing config files, setting permissions and starting/stopping services.

Setting it up so you can administer a server by desktop is probably as hard as learning how to edit config files from a terminal. Maybe harder.

[–] TMP_NKcYUEoM7kXg4qYe@lemmy.world 3 points 16 hours ago (1 children)

Yep my thoughts. New selfhosters think the hard part of selfhosting is command line but that's "kinda" like thinking that the hard part of math is writing numbers on paper. Terminal is just the medium, not the complex part. Navigating filesystem and editing files is easier on the desktop but changing permissions and managing services would be be extremely difficult for a newbie without using the terminal because (almost) every online tutorial uses terminal. OP would have to learn how to translate the terminal command to its desktop counterpart at which point they might as well use the terminal.

OP also has an XY problem. They asked for a system which does not require terminal usage but they should have actually asked for an easy to set up system. People are recommending things like Yunohost though, so it's fine in the end.

load more comments (1 replies)
[–] Guenther_Amanita@slrpnk.net 13 points 1 day ago* (last edited 1 day ago) (1 children)

I can recommend you Debian, since it's the "default" for many servers and has a lot of documentation and an extremely big userbase.

For web interfaces, I can recommend you, as you already mentioned, CasaOS and Cockpit.

I used CasaOS in the beginning and liked it, but nowadays, I mostly use Cockpit, where I have the feeling that it integrates the host system more, and allows me to do most of my maintenance (updating, etc.) quite easily.

CasaOS is more aesthetic imo, and allows you to install docker containers graphically, which is better for beginners.
I personally do my docker stuff mostly via CLI (docker compose file) nowadays, because I find it more straightforward, but the configuration CasaOS offers is easier to understand and has nice defaults

[–] scheep@lemmy.world 3 points 1 day ago (2 children)

Thanks, that was really helpful :D

I'll try CasaOS then, and later maybe I could move to Debian once I get better at the command line!

[–] BruisedMoose@piefed.social 4 points 1 day ago

For what it's worth, CasaOS isn't actually an operating system. It absolutely works as an easy way to install and manage your self-hosted apps if you aren't comfortable with the command line, but you still need to have a working Linux installation.

Yunohost is kind of similar as far as making things easier, but it operates as a standalone OS, so might be more what you're looking for.

[–] Guenther_Amanita@slrpnk.net 3 points 1 day ago (1 children)

CasaOS isn't an OS, it's just the web interface you install afterwards you have Debian or whatever running

load more comments (1 replies)
[–] scheep@lemmy.world 10 points 1 day ago (1 children)

I ended up installing Debian since Yunohost can't install and my old laptop doesn't meet the hardware requirements of TrueNAS Scale

[–] hendrik@palaver.p3x.de 6 points 1 day ago* (last edited 1 day ago) (1 children)

By the way, you can still run the Yunohost installer ontop of your Debian install... If you want to... It's Debian-based anyway so it doesn't really matter if you use its own install media or use the script on an existing Debian install. Though I feel like adding: If you're looking for Docker... Yunohost might not be your best choice. It's made to take control itself and it doesn't use containers. Of course you can circumvent that and add Docker containers nonetheless... But that isn't really the point and you'd end up dealing with the underlying Debian and just making it more complicated.

It is a very good solution if you don't want to deal with the CLI. But it stops being useful once you want too much customization, or unpackaged apps. At least that's my experience. But that's kind of always the case. Simpler and more things automatically and pre-configured, means less customizability (or more effort to actually customize it).

load more comments (1 replies)
[–] q7mJI7tk1@lemmy.world 10 points 1 day ago* (last edited 1 day ago)

For what it's worth given the age of this thread and disagreement going on in it, I would recommend Unraid.

Easy for a beginner, with enough to take you up to intermediate level: a web GUI for pretty much all the required terminal commands. It's been around for years, is not going away, but instead getting updated. Works on any old eBay hardware and most of all, the community there are very supportive of beginners. There's also lots of YouTube tutorials.

It ticks all the boxes for easy self hosting. It's just not for Linux protocol purists.

[–] anamethatisnt@sopuli.xyz 9 points 1 day ago (1 children)

I would recommend trying out Cockpit (Github) and Portainer (Github).
Cockpit gives you a WebUI for Linux and Portainer gives you a WebUI for Docker.
Personally I usually run Debian Stable for servers, but choice of distro matters little if you run stuff as Docker containers.

[–] scheep@lemmy.world 4 points 1 day ago (7 children)

thanks! Maybe I could check out cockpit and portainer too...

load more comments (7 replies)
[–] Churbleyimyam@lemm.ee 8 points 1 day ago* (last edited 1 day ago) (2 children)

YUNOhost is designed for this. You can do almost everything graphically via the webadmin. Mine has been running for a couple of years and I'm very happy with it. I have email, XMPP (both of which were installed out of the box), a website, file sharing and a few other things. There are a tonne of apps available, including Fediverse instances, Nextcloud. It's a very cool thing to have available for making self-hosting more accessible.

load more comments (2 replies)
[–] asudox@lemmy.asudox.dev 7 points 1 day ago* (last edited 1 day ago) (1 children)

You can install some Linux distro and then install a docker management web UI like coolify. Requires little terminal knowledge. Though you should learn the terminal.

Try the Fedora Server distro, afaik it should come with Cockpit installed: https://fedoraproject.org/server/

load more comments (1 replies)

Keep in mind the reason why people generally dont run desktop environments on a server is because unessential software uses more resources and increases the chance of a system crash. I would highly reccomend learning how to use a terminal and installing fish (shell) is a great place to start.

[–] EncryptKeeper@lemmy.world 6 points 20 hours ago* (last edited 19 hours ago) (1 children)

I believe all of these are actually just running Debian as the actual OS underneath, but they give you a webui that makes deploying apps easier.

Of these three, I like the look of Cosmos the most. Seems to be security focused and comes with a reverse proxy and a built in SSO solutions. That’s something that’s usually a pain in the ass to set up yourself.

There’s technically that stupid ass LTT OS but I’m purposely leaving that one out.

load more comments (1 replies)
[–] Appoxo@lemmy.dbzer0.com 6 points 11 hours ago (1 children)

I am very much a Windows user and my journey went like this:
Raspberry Pi with OMV -> SSH on OMV -> Mostly Terminal on OMV -> Docker + Portainer to deploy containers -> Transition to docker-compose -> Setup my own VM with Debian completely in the CLI (excluding the first setup of the VM)

I use Linux (primarily Debian because of Raspberry. I don't lile what I hear about Ubuntu) usually for VMs/servers and Windows as the client OS

load more comments (1 replies)
[–] toynbee@lemmy.world 5 points 3 hours ago

I misread that as "self-loathing" and the answer was obvious.

[–] VeganCheesecake@lemmy.blahaj.zone 5 points 14 hours ago (1 children)

I guess you could install cockpit (via Terminal, sorry, but it's pretty straightforward and there are good guides). After that, you could use the cockpit web interface to deploy docker/podman containers. It's a bit clunky sometimes, but it does the job purely in UI.

You can also manage updates, backups, etc via cockpit if you install the required modules.

As base, I'd use any stable Linux distro that's reccomended for server use.

load more comments (1 replies)

I was in the same spot about 3 years ago and I started with Unraid. Got me into docker and dipping my toes into command line stuff.

Honestly though you're going to quickly outgrow your old laptops...

[–] thefartographer@lemm.ee 4 points 1 day ago

Just from the handful of OSs I've tried, I'd suggest Ubuntu desktop again.

As for docker, I'd say to get docker and docker compose setup. Once you're running in docker compose, adding machines is often as simple as editing some markup in a text editor.

But my final suggestion is to crawl before you walk before you run. Start slow in the terminal. Instead of using your file explorer, navigate directories using the terminal and then open the directory you need into the file explorer using the terminal.

Want a new file? Use touch. Want a new directory? Use mkdir. Eventually, it'll become annoying to open a file from your explorer when you could just open it from the terminal. Then, you'll get annoyed with text editors and want to reduce your context switches by using vim.

Also, --help is your best friend when trying to figure out commands. You got this! Feel free to send me a message if you wanna chat and have any questions when you're ready to start dipping your toes. I'm far from an expert, but I've made some progress of my own and eventually we might learn a thing or two together.

[–] WQMan@lemm.ee 4 points 1 day ago* (last edited 1 day ago) (1 children)

I personally use Debian. For your case, you can install lightweight desktop environments such as XFCE.

Honestly from my point of view after reading your post, you don't have a terminal or operating system issue, it feels like you are new to self-hosting and don't know how to start configuring from scratch.

Ideally you want to look for documentations or keep asking for online help. For example, with installing docker, you would want to refer to this: https://docs.docker.com/engine/install/. Welcome to system admin life, where you spend more time reading/understanding than configuring.

Personally, you can even use AI Chatbot to help you with stuff, just be specific on the system you are on, the goal you are trying to achieve and the problem you are tring to solve.


Which brings me to answer your next point about CasaOS: It exists so that you can skip most of the 'system admin life' step. It skips almost all the setup you would have needed to do on a fresh machine, and just leaves configurations. The downside is usually it eats up more resources than a self-configured install since it comes with redundant features you are unlikely to use.

TLDR; Pre-configured OS such as CasaOS is a solid choice if you just want to set it up and be done with it. If you are here to really learn about system admin stuff, then pick any of the Linux Operating system (Debian-derivatives recommended) with a lightweight DE.

Happy self hosting :v

[–] scheep@lemmy.world 4 points 19 hours ago

Okay, so CasaOS is easier to set up (but uses more resources and I won't learn sysadmin stuff) whereas using something like Debian is a bit harder to set up (but uses less resources and learn more!).

Think I might try CasaOS on my 11th gen laptop and plain Debian on my 6th gen laptop and see which I prefer

[–] mhz@lemm.ee 4 points 1 day ago (1 children)

Maybe you might find home in one of those NAS ootimized distros like Openmediavault, truenas, unraid. If not CasaOS or old good Debian with portainer.

load more comments (1 replies)
[–] AustralianSimon@lemmy.world 4 points 12 hours ago

Mint or Ubuntu is like Windows but better.

[–] sem@lemmy.blahaj.zone 3 points 1 day ago

If you are mostly hosting files, open media vault has minimal command line, and it's mostly administered through a web admin. It's still fairly complex however, and I definitely recommend reading the manual thoroughly and sticking with easy tasks at first. https://www.openmediavault.org/

[–] Hawk@lemmynsfw.com 3 points 13 hours ago (4 children)

I'm not trying to be unhelpful. My advice would be to steer into the terminal. Bite the bullet. I use arch and alpine for my servers but Fedora would be fine (but SELinux can be a pain with bund mounts)

Probably just go with Fedora with btrfs for snaps. It has lots of support and is a common choice for servers

load more comments (4 replies)
load more comments
view more: next ›