Calculator Manipulator

  • 0 Posts
  • 86 Comments
Joined 6 years ago
cake
Cake day: April 16th, 2019

help-circle




  • Illecors@lemmy.cafetolinuxmemes@lemmy.worldLinux: I'm not asking
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    2 months ago

    killall -9 processname works well when you can’t be asked to get the pid.

    kill -9 $$ is my favourite way to save face when I enter something into shell that shouldn’t be in its history. Usual situation - switching panes and forgetting a recently used sudo session. Switching to root and getting there without a password prompt, but still typing it in. Wouldn’t be helpful in situations where shell history is monitored remotely, but hey ho.



  • dire problems, including those that accumulate over time

    That’s not a thing. You create problems over time by experimening in what is, effectively, production load. If all you ever did was install any distro and kept it up to date - not much can break. Granted - shit happens, but it’s incredibly rare.

    As an example - I’ve set up my mail server in May 2019. Chose archlinux, because I never wanted to go through a big upgrade. The only exta software installed there is mail-server related. Direct from the repos. I’ve become confident enough that now there’s a nightly cronjob to update the system with a hook to reboot if kernel or init gets updated.

    In all those 5 a bit years I’ve had one issue where I hqd to revert a kernel update.

    Another example is tang on an ubuntu server. This was at a previous workplace, but essentially it’s a piece of software from the repos. Originally installed on 16.04, has gone without reprovisioning all the way to 22.04. I’ve now left the company, but I hear it’s still running.

    Upgrading an ubuntu desktop fleet with a myriad of custom software, on the other hand… let’s just not talk about it.



  • I’m not the best person to query about backups, but in your situation I would do the following, assuming both server and desktop run on BTRFS:

    Have a script on the desktop that starts btrfs-receive and then notifies the server that it should start btrfs-send.

    You can also do rsync if BTRFS is not a thing you use, but It would either be expensive storage wise, or you would only ever have 1 backup - latest.




  • If you can dedicate some time to constant keep up - pick a rolling distro. Doing major version upgrades has never not had problems for me. Every major distro has one.

    My choice is Gentoo, but I’m weird like that. Having said that - my email server has been running happily on Arch for just over 5 years now.

    The lemmy instance I host is on Debian testing - Gentoo was not available on DO - no issues so far.

    Even when it’s mostly containers - why waste time every n years doing the big upgrade? Small change is always safer.









  • I’ve been occasionally giving Linux a shot since bubuntu 5.04 and it would never stick. I guess many things aligned at some point in 2017-18 when I just gave up on windows and microsoft in general. I’ve been sticking to my beloved gnome, fighting it to do things it wasn’t built to.

    And then came 2019 and sway 1.0 got released. It felt like reddit imploded. Decided to finally give this “tiling nonsense” a try. A week or so later it finally clicked and I’ve not been fighting my system anymore.

    Fast forward a few years and I’m now a Gentoo, OpenRC, OpenRC-init and Hyprland nutter :)