I use one of these lithium power stations as a UPS for my servers. They are all low wattage so they’ll run on backup for a few hours.
https://itechworld.com.au/products/ps800-portable-lithium-power-station-800w-40ah
🌟🎀 uptime check ✨🌈💖
22:09:13 up 9 days, 12:29, 2 users, load average: 0.03, 0.05, 0.11EDIT: wait why does it say 2 users though 😳
It’s probably your mom.
11:13:30 up 1 day, 17:21, 1 user, load average: 0.25, 0.16, 0.11My e-peen isn’t as big as yours D:
Linus Torvalds is just making sure you’re Linuxing correctly
“Shutdown off”
Startup’nt
sudo poweroff
It’s an alias for “sudo shutdown now”.
If you don’t have a UPS, just use a suicide cable to energize the circuit while it is disconnected at the breaker.
(/s, if the term suicide cable wasn’t enough of a hint; don’t actually do this)
i know the OP was about server, but just curious how long is every one’s uptime on laptop / desktop?
I’ve had a year or two. But kernel updates make reboots. My FreeBSD boxes are much more long-lived than Linux because kernel updates
but just curious how long is every one’s uptime on laptop / desktop?
Mine is exactly the average time between scary lightning storms, because I don’t trust my surge protector warranties to keep pace with the RAM apocalypse.
I turn my desktop and laptop of when not in use.
Anything between 5 minutes and 5 days, including those numbers as well. The more you approach the midpoint between those 2 numbers, the odds of that being near my uptime are lower
shutdown off
In English, that’s “shut down”.
deleted by creator
How minor? You can do basic stuff on hot circuits if you are careful. Put on some rubber gloves under your work gloves and you’ll be fine.
Sorry some cowards downvoted you. On the other end of the spectrum I figure out which wires are hot by touching them, it only hurts for a second and not particularly badly
Do y’all not reboot after kernel/firmware updates?
Hmm, not my proudest moment.
16:09:15 up 1031 daysPrivate server, though.
I don’t follow CVEs: when was the last time a remotely exploitable kernel bug was a concern? Ignoring the fact that this is a home server and they likely care about uptime a lot more than exploitation on their LAN.
Generally I expect kernel bugs to be LPEs so updating user space would probably be sufficient for most home servers
part of the reason to use Debian is it doesn’t really need to be updated, at least not very often
Can I introduce you to OpenBSD where we measure uptime in years?
It needs to be updated at least several times a year…
depends on your use case
home automation server that doesn’t connect to the internet? nah
media server that only occasionally gets connected to the internet? maybe
anything else that regularly connects to the internet, definitely
home automation server that doesn’t connect to the internet?
Well if uses wireless connectivity with either range broader than your place or is connected to a device that is itself online it can still be a risk. Sure it’s very VERY specific but scanning techniques also improve.
You should install updates regardless
if it’s working and there’s no security risk, why?
(I mean, I actually agree with you, I update even normally airgapped machines because them not being updated feels wrong)
Software these days will always need security patches
What’s more is that the longer you put off updating the more things will be changed when you do end up updating.
Even if there are no security risks to mitigate, updates can bring bug fixes and, god forbid, new features once in a while.
up… date? what does that mean?
Almost 44 days last year before I needed to reboot for an update:

Wait, you guys reboot after an update?
I’ve been running the same AIX kernel since 1993, and my ftp server is still running fine. I don’t know what the rest of these assholes are complaining about.
Prefect response.
I can’t guess exaclty which sarcastic high fantasy themed poster, mug or t-shirt warns others away from which exact kind of action that wastes your time, but I’m confident it is present near your primary work space. (Since tone is hard in text - this assumption is meant to convey a general revernce for you and the various roles you probably fill in your communities!)
Say what now?
Rolling distros don’t need to
You absolutely do need to reboot
Just because you updated packages , doesnt mean those new ones are in use. Not sure what apt has, but with zypper you do a zypper ps -s and it shows you what installed packages are waiting on a reboot or service restart before they are in play… Otherwise kernel is just accessing old package libraries.
Are you sure? I’ve used Fedora Workstation and Fedora Server, I had to reboot. And Cannonical charges money for this feature in Ubuntu.
“Shutdown off”
“Openup on’t”
All your base distribution are belong to
The UPS will keep it running long enough to switch to another power source.
I’m guessing OP probably doesn’t have a petrol/diesel generator handy :p
An extension cord running to another room would be enough if the minor electrical work only needs a circuit to be switched off.
Having high uptime is not the flex you think it is
You shouldn’t have uptime higher than 60 days
Why, by the way?
If a device hasn’t been rebooted in a long time there is a much higher chance of it not coming back after a reboot. This is made worse by the fact that sometimes power loss is unexpected which means that an outage can occur at a bad time.
The other issue is that a high uptime device doesn’t usually have the latest updates installed. Delaying updates creates security issues and when you do get around to updating it means that more things get changed at once.
Yeah these days a high uptime is a mark of shame, not a badge of honour.

I was vacuuming and accidentally pulled the cord on a 3 month uptime.
My current uptime has survived 2 power outages that lasted about 10 minutes each.
Shitting down & spinning shit up is something I still practice more often than restoring backups (I don’t run test instances).
I too practice shitting down.
But do you not then spin that shit right up again??
I’m in the same boat. Got all the equipment in for my whole house solar installation and will be re-routing circuits to the new panel as soon as I have time so will have to turn all the power off for the duration of that.
I’ve got an Anker power station that should run my stack for about 4-4.5 hours by itself and can run it indefinitely while the sun is out while hooked into the PV panels. Those are (currently) independent from the new installation I’m about to start.
My UPS’s are also LiFePO4 models and can add an additional ~45 minutes of uptime. So hopefully 5 hours is enough to avoid having to shut anything down.
I have one of those Anker Powerstations (C1000), along with a comically large portable solar panel (400watt). That thing is pretty amazing. I bought it after a 3 day power outage, for safety due to winds.
I just bought a much longer solar-power cable so I can drag the panels/battery around more conveniently.
Yeah, that’s what I’ve got, and I really like it.










