Spyke

Replies

Comment on

How to setup my own home server and make it available to anyone?

I just bought a decommissioned computer from a public institution for 40€ (they are usually relatively cheap and still top modern, since companies replace their computers after 2 to 4 years, for tax reasons).
For this I just bought 2 HDD hard drives (I can only put 2 in; they are relatively cheap in comparison for a lot of storage space) and a nvme2 ssd was already included, there is the OS on it.

To make the server publicly accessible with a private internet connection (not a business connection), I bought a domain (I bought it at namecheap) and then I set up DynDNS at my domain provider and my router. This was relatively easy (with namecheap and a FritzBox).

I added a DNS entry that forward all subdomains to my DynDNS. The software, I want to have installed, I then simply install in a docke/ podman container and make a reverse proxy to the docker container via Nginx. This allows me to let multiple applications use the http(s) port from the outside via subdomains, so the URL doesn't need a port.

I can post the specs later, with an edit.

Edit: I don't know how much the electricity costs, because I currently don't pay for the electricity. But I have a 200W Power Supply and the machine is idling around a lot, as the service just not often used, but sporadic.

Comment on

Which OS do you use for your homeserver?

I am running Ubuntu server and I am... satisfied with it. It does what it should, no problems, nothing to worry about, stable AF (as any mature distro?). But lately I am thinking about switching to fedora server (I need to reset my system one way or another, because my space on the hard drive for the system ran out of space (it was a small drive)). I am using fedora on my work machine and I really like it, so I thought I could give fedora on my server a try.

Comment on

what will be my next server operating system (Fedora Server, Fedora CoreOS, NixOS), your experience and opinion

Reply in thread

I’m probably the odd one out, but my home server is running Arch Linux. And it’s been really smooth. I do weekly maintenance in the form of updates and cleanup and it’s been reliable since I set it up a couple of years ago.

I am basically doing the same right now, all by hand. It's just that I am not doing the system and container updates regularly. I also often forget which services I have running and some of the Services I am not even using anymore. I just wanted to give them a try and now they are sitting there, wasting (barely any, but it's nagging me) resources.

nix

Comment on

what will be my next server operating system (Fedora Server, Fedora CoreOS, NixOS), your experience and opinion

Reply in thread

Firstly, I don’t think Docker is intended to be used as a security layer. I could be wrong, but I think it’s relatively easy to escape the sandbox. Although that might be different nowadays.

You are probably right. It's just something I tell myself to sleep well at night.

Anyway, I recently switched from Debian to NixOS for my server and it’s so much nicer. Being able to use a single language for configuring everything all in one place is so nice. If I want to try something new, I can just throw maybe 30 lines in a config and it’s there. If I don’t like it, then I can remove that config and it’s gone. Most services you’d want to run on a server are available in the package manager, and many have rather sensible defaults.

So you are installing your services/programs on your system and not inside a container, which you declare in your config?

Comment on

[@protonprivacy](https://lemmy.world/c/protonprivacy) I am using Fedora (Gnome) and I would like to launch ProtonMail Bridge in background. But I don't know how and cannot find a setting for that. Has

For anyone who wonders how I solved my issue:

I created the file ~/.config/systemd/user/protonmail-bridge.service and wrote the following into it:

[Unit]
Description=ProtonMail Bridge Flatpak Service

[Service]
ExecStart=/usr/bin/flatpak run ch.protonmail.protonmail-bridge --no-window
Restart=always
RestartSec=10

[Install]
WantedBy=default.target

If you are not using the Flatpack version of ProtonMail Bridge, then modify the ExecStart value to your installation.

After that I ran systemctl --user start protonmail-bridge.service to start the service and systemctl --user enable protonmail-bridge.service to make it auto-start upon login-in into my account.

Comment on

Old Mainboard as NAS

Reply in thread

Is there a reason you're suspecting it wouldn't work?

No, not really. I was just wondering if that works too. I have an old PC with stand in my room and I must urgently upgrade the memory. For this I wanted to use hard drives, because they are cheaper.
I've been playing with the idea of getting something like a NAS for a while. And because I always find DIY cool I was wondering if others have already tried it with a framework.

I didn't consider that you can use the USB ports to connect hard drives. In my naivety I only thought about SATA ports.

Comment on

NFC for static storage?

Reply in thread

I already feared that, but thanks for the answer!

however, you're going to be standing there for quite a long time transferring even 10Mbits of data. That's about 25 seconds of holding the devices close together. (You can scale that for Gbits...)

Yea, 25 seconds is way to long.

You'd be better off using NFC to bootstrap a more robust, higher-speed connection. Use the NFC as the identification phase of bootstrapping a secure, say, Bluetooth connection or the like.

I guess I will look into stuff like that.

Comment on

[@protonprivacy](https://lemmy.world/c/protonprivacy) I am using Fedora (Gnome) and I would like to launch ProtonMail Bridge in background. But I don't know how and cannot find a setting for that. Has

Reply in thread

It seems, that I cannot answer from mastodon, therefore i will do it from lemmy.

Launching the App at startup is not my problem (at least not for now). It is rather that I would like to have ProtonMail Bridge minimize into the background applications list (like steam does, shown in the screenshot appended).

support

Comment on

[Solved] Can't see all posts

Reply in thread

Yes, it was enabled. I just noticed, that I haven't set the languages, so it was initialized to undefined. Over the selection was a warning, that if I select undefined, that I won't see all posts. It seems, that changing it fixed the issue! Thanks for your help never then the less!