Guenther_Amanita

joined 1 year ago
[–] [email protected] 1 points 8 months ago

Debian is community run, which often means all changes and features get implemented because the community wants that, not some corporation. One notable example of that is Snap.

Also, I found (minimal install) Debian a bit more minimalist than Ubuntu server, which is great imo. I just want the bare minimum for my services to work, and pretty much the only thing I expect from my server to have is SSH and Docker.

[–] [email protected] 69 points 8 months ago* (last edited 8 months ago) (12 children)

Debian. I don't see much benefit of Ubuntu LTS compared to plain old Debian. It's exactly what you wanted.

Alternatively, AlmaLinux is a good choice if you like Red Hat stuff (RHEL clone), but the difference between Ubuntu LTS and Debian would be almost not noticeable for you I think.

[–] [email protected] 3 points 8 months ago* (last edited 8 months ago) (2 children)

My recommendation would be to use Logseq.

It's similar to Obsidian ("Second Brain"/ PKM), but with the journal function as backbone.

It relies heavily on crosslinking, is markdown-based, very efficient and a joy to use once you "got" it, and supports a hell lot of features, including TODO, plugins, a knowledge network ("graph view") and much more.

I use it for everything (external brain) and pretty much never loved a piece of software this much!
It sounds like it is THE tool you're searching for!

[–] [email protected] -2 points 8 months ago (3 children)

I made a similar post a few weeks ago.
I will try uBlue core and give you all a small update about it.

I feel similar about Debian. It's a good distro for sure and I don't have any issues with it for server use, but somehow, I still don't like it somehow. RPM-/ OSTree based distros are more my taste, and I don't even know why.

[–] [email protected] -4 points 8 months ago (1 children)

Because containers (Distrobox, Flatpak, etc.) are bae.
You can read my post I made a while ago for more information: https://feddit.de/post/8234416

Once you "get" image based distros, you probably never want to go back. Traditional distros just feel... off now for me.
Containerisation is the biggest strength in Linux, we use it all the time on servers, so why not on the desktop?
Atomic OSs just make more sense for me, not only because of security/ bug/ whatever reasons, no, also because they feel simpler and are pretty convenient and robust.

 

That's a question I always asked myself.
Currently, I'm running Debian on both my servers, but I consider switching to Fedora Atomic Core (CoreOS), since I already use Fedora Atomic on my desktop and feel very comfortable with it.

There's always the mentality of using a "stable" host OS bein better due to following reasons:

  • Things not changing means less maintenance, and nothing will break compatibility all of the sudden.
  • Less chance to break.
  • Services are up to date anyway, since they are usually containerized (e.g. Docker).
  • And, for Debian especially, there's one of the biggest availability of services and documentation, since it's THE server OS.

My question is, how much of these pro-arguments will I loose when I switch to something less stable (more regular updates), in my case, Fedora Atomic?


My pro-arguments in general for it would be:

  • The host OS image is very minimal, and I think most core packages should be running very reliably. And, in the worst case, if something breaks, I can always roll back. Even the, in comparison to the server image, "bloated" desktop OS (Silverblue) had been running extremely reliably and pretty much bug free in the past.
  • I can always use Podman/ Toolbx for example for running services that were made for Debian, and for everything else there's Docker and more. So, the software availability shouldn't be an issue.
  • I feel relatively comfortable using containers, and think especially the security benefits sound promising.

Cons:

  • I don't have much experience. Everything I do related to my servers, e.g. getting a new service running, troubleshooting, etc., is hard for me.
  • Because of that, I often don't have "workarounds" (e.g. using Toolbx instead of installing something on the host directly) in my mind, due to the lack of experience.
  • Distros other than Debian and some others aren't the standard, and therefore, documentation and availability isn't as good.
  • Containerization adds another layer of abstraction. For example, if my webcam doesn't work, is it because of a missing driver, Docker, the service, the cable not being plugged in, or something entirely different? Troubleshooting would get harder that way.

On my "proper" server I mainly use Nextcloud, installed as Docker image.
My Raspberry Pi on the other hand is only used as print server, running Octoprint for my 3D-printer. I have installed Octoprint there in the form of Octopi, which is a Raspian fork distro where Octoprint is pre-installed, which is the recommended way.

With my "proper" server, I'm not really unhappy with Debian. It works and the server is running 24/7. I don't plan to change it for the time being.

Regarding the Raspi especially, it looks quite a bit different. I think I will just try it and see if I like it.

Why?

  • It is running only rarely. Most of the time, the device is powered off. I only power it on a few times per month when I want to print something. This is actually pretty good, since the OS needs to reboot to apply updates, and it updates itself automatically, so I don't have to SSH into it from time to time, reducing maintenence.
  • And, last but not least, I've lost my password. I can't log in anymore and am not able to update anymore, so I have to reinstall anyway.

What is your opinion about that?

29
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]
 

Probably a dumb question, but I have to report pretty much the same post (some website-link + some mentioned usernames, but always sent from different instances) multiple times a day.

The weird thing is, that this happens only here in this community, and not in any else I have subscribed to.

Is this some targeted attack, because due to the self hosting, we're a more valuable victims, or is it just due to time shift because the mods are in a different time zone and asleep when we report the posts?

I think the latter one isn't the case, since there are many active moderators here :)

Is there something we can do about it?

[–] [email protected] 3 points 9 months ago* (last edited 9 months ago)

There's a big shift happening right now, you're right on that.
Traditionally, ARM is not as capable in solving complex issues, but more efficient.

That's why it has always been used on smartphones for example. You want a lot of battery and don't need to do highly complex stuff on that, that's what you have your PC for.

The big focus in the last years has always been to top the competitor in terms of performance, and only right now, people begin to question if the computing power they have right now isn't enough and if they rather wouldn't like to have a device that's more efficient.
The tradeoff is, you're more limited to this specific architecture. Apple solved this by making a compatibility layer for x86 apps, but that of course comes with a performance hit.

I'm no expert in that topic tho, so take all I said with a lil grain of salt.

Right now, I think you're better off with x86, because your server will definitely run on some sort of Linux, and we don't have any compatibility layer or something like that yet.

[–] [email protected] 36 points 9 months ago* (last edited 9 months ago) (5 children)

Where I live, electricity is also very expensive. I monitor every watt.

I asked the same question half a year ago, here's what I've learnt: RPis tend to be less reliable and aren't that energy efficient. They're great for small appliances, but for servers (e.g. NAS) not as much.

Get an used Thinclient/ mini PC. They cost something between 50-150€ and give you a huge performance boost, more ports, a x86 architecture, are better repairable (still often bad) and more.

Mine uses about 10-15 W on normal use, and 20 rarely when my cloud is under heavy use.

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago) (1 children)

Dude... It's the hundredth time you've posted this copypasta.
Image-based OSs aren't locked down and also don't depend on proprietary services.

You can just read my post I made about immutable systems, maybe we can discuss it there.

But, I wouldn't choose a image based OS right now too for servers. At least yet.
I'm just afraid about compatibility, because many installers and services might rely on access to the root file system for now. Debian is right now the best choice as server OS, but that might change in the future.

[–] [email protected] 2 points 10 months ago (1 children)

Alright, interesting... As I said, I'm no expert or anything and this was just my noob optinion.

Thank you for the correction and further resources!

[–] [email protected] 2 points 10 months ago* (last edited 10 months ago) (3 children)

I don't know what's your intention.
I'm no expert or highly qualified in any way, so please correct me, but I don't know if that's the right way.

LLMs usually need lots of computing power, optimally in form of a GPU.
I use GPT4All, and when I send a prompt, I notice the temps/ fan speed and usage of my GPU turning up instantly to almost 100%. If it's a longer one, my PC sounds like a helicopter 😁

In terms of hosting a server, you want something barely good enough for your service, e.g. running your cloud. This results in way less power draw, which is what you want, since it runs 24/7. Something powerful enough to run LLMs comfortably would likely draw lots of power, even an Apple Silicon.

I think, you're better off just using GPT4All on your gaming PC if you need it.

I hope I'm wrong, and that M1s draw barely any power, especially in idle.
And even if I am, they (almost) can only run MacOS, which wouldn't be a good server OS.

[–] [email protected] 1 points 11 months ago (1 children)

It sounds like your configuration is not sufficiently backed up.

It is backed up. 1x per auto-backup (Borg, included in the AIO) and 2x on different external drives.
The setup isn't complicated too, basically barebones Debian with docker.

It's just that setting everything up (once) again is annoying and highly inconvenient.

But, thank you for your tips on the LUKS-stuff, I will consider it! 🙂

[–] [email protected] 2 points 11 months ago (1 children)

I quite like your idea of just moving my data (not the other stuff) to another drive.

How can I decrypt my drive without a GUI, monitor or keyboard?

 

I feel super dumb right now.

I always thought, that all user data (/home/) are decently safe against physical access, as long as my user and root password is strong enough. If I just plug in the hard drive, nobody except the Super User has access to the data on it.

Well, the guys on the other community (Link) have shown me how wrong I've been.

All of my devices are securely encrypted. Well, all of them, except the most important one: my server, where all pictures, documents and other private stuff is stored.

Now, I'm afraid as hell that this will go wrong in the future. Imagine a vengeful ex girlfriend, a police raid, whatever.
It's just dumb from my side to secure everything except the one thing that would need it the most.

I've already done my homework, and encryption doesn't seem like a highly important topic in the selfhosting community, or on many servers else.
At least that's what I've got the feeling.

The most common argument I hear is "nobody will get physical access anyway, so I don't care".


Threat model and security measures

My threat model: not high. I don't do any illegal stuff and don't have any enemies. Still, I want everything at least somewhat secure.
If it only serves the purpose to annoy the intruder it's already enough.

The only thing that has online access is my Nextcloud (AIO from Docker), and that is already well secured against hacking attacks (password, 2FA, brute force protection, etc.).

It's also the only thing that is worth securing in my eyes.


Options for encryption

LUKS2 full disk

I would need to factory reset the whole server for that, which would be ... highly inconvenient for me. It took me quite a long time to get everything working, and I don't wanna loose my configuration.

Also, how should I access the device when I don't see anything? Is there a workaround or something when I want to reboot without a monitor and keyboard?

Only encrypt the home folder

Same problem as with FDE

Nextcloud server side encryption

That one isn't recommended from what I've read. It causes compatibility issues and an extreme hit on performance according to forums. Is this still correct?

Cryptomator (?)

Encrypting and decrypting with every up- and download sounds quite annoying. Wouldn't be my prefered method tbh.


What is your opinion on that topic? What would you recommend me?

Please remember, that I'm not that experienced as much, so please be patient with me 😬

view more: next ›