I love selfhosting. Right now I have this in my personal docker-compose.yaml: NextCould (3 installs, each their own MariaDB instance), HomeAssistant, Mosquitto, Vaultwarden, an Nginx served static website, Unifi controller, nzbget, Samba, librespeed, Wireguard, 4 MineCraft servers, AdGuard home, FoundryVTT and Traefik as reverse proxy for https (it's all 1 yaml file, everything! At least, excluding the HA config etc)…
How do you do your offsite backups?
Start Self Hosting
461–470 of 625 posts
Re: Start Self Hosting
#462Earlier quoted context omitted.
Laypeople don't know that systemd exists. They will install a webserver or something and the package manager will automatically install and enable its unit file.
I thought I was a pretty good "tech person" until I read this thread... and now I'm more layperson than what this thread considers a "layperson" bc none of this makes sense to meh aha
Unit files → fairly simple text files that are used to define such stuff for systemd (usually in /etc/systemd/system and /usr/lib/systemd/system).
Package manager → essentially the same as an app store on a phone. It's how you install and update packages (packages could be a fully fledged graphical app or just a terminal command).
Webserver → what allows you to "run websites" on your own machine. For the simplest example, if you run `python -m http.server` in a terminal on a Unix-like system, congrats, you can now browse your files in a browser (127.0.0.1:8000). If you know your local IP, you can also open it from a phone and download stuff from your desktop, zero apps or cables or FTPs necessary.
So, to decipher that comment above: you usually don't have to worry about how things run automatically because that's usually pre-configured when you install them. In most simple self-hosting scenarios you just "install a website" on your spare laptop or whatever and you're good to go. That website usually serves traffic via a webserver on some port, and you access it via local network IP and a port (example: 192.168.1.100:8000).
Now if you go deeper and want to run multiple things simultaneously, each accessible via a domain instead of a port, accessible from outside of your home, properly backed up and with a valid HTTPS connection, and then you hear about this thing called Docker... well, from my experience, you're gonna wake up on a day like this and go to work as a sysadmin with 3 years of experience, basically writing YAML for a living.
So in conclusion, apart from some outliers like Plex.tv, I wouldn't call the process layperson-friendly, but hey, it might make your tinkering into a career.
Re: Start Self Hosting
#463Earlier quoted context omitted.
What “lay person” is going to install a web server??? That’s insane. Maybe a lay faang-er would. Lay people work in a factory or shoe store or accounting firm. They have 1 or more kids. They hear what their friends are doing, and as long as it only requires signing up on a web page, they will consider it. They will use the same password as they do for their bank. And that’s FINE! There is life outside technology, and…
You are severely underestimating people.
Re: Start Self Hosting
#464It could for example include from tiny boards with the bare minimum necessary to host very light services (Single NIC Raspberry/Orange/Nano/Banana PI, etc.) to small sized boards either with storage capabilities or a couple NICs to be used as moderate traffic firewalls (PCEngines.ch APU, etc) and bigger and more powerful systems with multiple NICs for SOHO+ sized servers and firewalls (www.ipu-system.de etc).
Also, this m.2 to SATA port replicator reportedly works perfectly with Linux (Possibly FreeBSD/XigmaNAS too) as do many other JMB575 based cards. Could turn any cheap board into a low cost NAS. https://www.ebay.com/itm/203735847811
Too long for Mini PCs accepting only 2242 modules? Here's the extender. https://www.ebay.com/itm/263570657382
..etc.
Re: Start Self Hosting
#465Hosting a server from my house is a violation of the TOS from my ISP. My choices are them or DSL. I don't live in a rural area. I'm well inside a metro area of 5 million people in the USA.
I have mailed the Swedish govt. agency that controls telecom (PTS, "Post och Tele Styrelsen" or "Post Traumatic Stress" both work in this case).
ISPs should have to provide static IPs and open all ports, pressure your local authorities and spread the word.
Re: Start Self Hosting
#466Earlier quoted context omitted.
> SystemD is complicated for a layperson Is it? It has clean and logical abstractions, and consistency. Services depending in each other isn‘t complex or difficult to understand. I suspect that a nice GUI would make systemd quite usable for non-expert users. BTW: It‘s called ”systemd“: > Yes, it is written systemd, not system D or System D, or even SystemD. And it isn't system d either. [0] [0]: https://www.freedeskt…
Comments like yours are a great example of why Linux has a hard time being user friendly. You take something that's deeply technical but easy to understand for yourself, and somehow generalize it to everyone. "If it's easy for me, it is easy for everyone", without noticing that perhaps your expertise plays a big role in making it easy. The better question is why should a layperson ever need to know about systemd in t…
Sometimes HN threads seem to self-sustain forever starting from a pointless argument and discussing it like it was the truth.
Learning systemd is not necessary for anything in day to day life, not in desktop use, not in self hosting, default configuration from package managers work fine out of the box. At most you need to learn how to start, stop, disable and query service status.
I've been using linux since decades, way before systemd, never had to learn systemd until I needed to ship my own custom services on my own custom devices. But at the point you're way far from being a layperson.
Re: Start Self Hosting
#467However, I would never host anything important. Why ?
If I'm in an accident and hospitalised, or something similar, there is no way my family will be able to manage/maintain/troubleshoot the systems.
There's a reason they all use gmail/gdocs, and it's not because they love Google.
I am a lifelong fan and user of technology, but the 'lay person' typically isn't and really doesn't want to be. Managed services may remove any semblance of privacy, but they offer the one thing that most everyone wants - convenience.
Re: Start Self Hosting
#468Earlier quoted context omitted.
what they are saying is that they edited the file in /usr/lib , which definitely would get overwritten. You're supossed to copy it into /etc/systemd/ for the appropriate service type.
I think you all proved the point that this system is too complicated for anyone outside of a small group of professional IT people.
I have lost track how often that happened with sysvinit, because the "logic" how to treat customisations was usually handled by the package manager and they messed it up regularly.
systemd has a standard way to handle customisations. As long as you put everything you do in /etc/systemd/system, everything is fine. It's simple and works across distributions.
Re: Start Self Hosting
#469You should be able to take an old Android phone, install a Nextcloud app, go through a quick OAuth flow to tunnel traffic through a VPN provider, and be done with it.