• 1 Post
  • 144 Comments
Joined 1 year ago
cake
Cake day: June 7th, 2023

help-circle

  • Have you considered just beige boxing a server yourself? My home server is a mini-ITX board from Asus running a Core i5, 32GB of RAM and a stack of SATA HDDs all stuffed in a smaller case. Nothing fancy, just hardware picked to fulfill my needs.

    Limiting yourself to bespoke systems means limiting yourself to what someone else wanted to build. The main downside to building it yourself is ensuring hardware comparability with the OS/software you want to run. If you are willing to take that on, you can tailor your server to just what you want.


  • Switched to full time Arch because I didn’t want to run Windows Privacy Invasion Goes to 11. And it’s been pretty good. Valve gets a big “thank you” for their contributions to WINE and making gaming on Linux nearly as seamless as Windows.

    It’s probably still true that “Next year” will be the year of Linux on the desktop, and it will be for several more years to come. But, it’s starting to feel like cracks are forming in the Microsoft wall.


  • This would go one of two ways:

    1. States would take the money, and money being fungible, State budgets for payroll would ultimately go down by that same X. Teacher pay might get a short term bump, but the long term result would just be States relying on the subsidy and using the extra budget room to do other stuff, without meaningful long term changes to teacher pay.
    2. The money comes with regulations around teacher pay (to prevent the issue above) and many States refuse to take the money to avoid the regulations. The whole thing becomes a political football and nothing really changes.

    Ultimately, the US is a Federal system which means a lot of stuff is handled at the State and Local level. A wholesale takeover of those responsibilities by the Federal Government is not as simple as “hand money to the States”. Decentralized authority has long been both a feature and a bug in the US system, but it’s not one which is likely to be changed anytime soon. The upshot of this decentralization is that States can use their authority to push and demonstrate policies before there is a national consensus on those policies. The downside is that some policies need to be fought on a State by State basis, which is a lot harder than a top-down, command style government.



  • I run OctoPrint in a docker container on my home server. They have an official docker image available. And they also have a docker-compose.yaml file available.

    I’m quite happy with the setup. The server is more stable (for me) than a small board computer. I have the whole setup on a UPS. Management is dead simple. The only caveat is that the server and printer need to be fairly close to each other for the USB connection. In my setup that was already a given, they sit less than a foot apart because of where I wanted them.

    I have wanted to try out Klipper , and may well do that in docker as well, but my printer is a proprietary nightmare and Klipper isn’t currently an option.


  • I currently do all of my 3d printing from Linux. My printer is physically connected to my server, which is running Ubuntu and has a docker container running Octoprint. The container is based on Debian. The printer itself is a crappy knock-off of the Ender 3. The only issue was identifying the port I needed to pass through to the container… And by “issue”, I mean I had to run ls -l /dev/serial/by-id and put the resulting device in the devices declaration of my docker-compose.yaml file.

    My main machine is Arch and I use Prusa Slicer as an Appimage. The only issue there is that Prusa Slicer likes to SegFault while slicing some models with some settings on my system. It’s not common, but it does happen. I think this is related to the Nvidia drivers; but, by using the Appimage it’s just the application which crashes and I can’t be arsed to spend the time to solve the issue. I also tried Cura, but ran into this bug (tl;dr: don’t use Nvidia on Linux). Overall though, it just works and I don’t really think about the fact that I’m on Linux.

    For modeling, I personally use OpenScad, as I have all the artistic capabilities of a mortally wounded water buffalo. One of these days, I’ll pretend to try to learn FreeCad, which runs just fine. Blender also runs great on Linux.

    In short, so long as you aren’t buying anything too proprietary, you should be just fine.


  • While this isn’t likely to amount to anything, it is interesting to see Russia moving towards a negotiated end to the invasion. This war seems unlikely to end with a total loss for Russia, leaving two likely outcomes:

    1. War fatigue takes over and Russia finally withdraws. Similar to how the Soviet-Afghan War ended. The downside of this is that, Russia may well be willing to keep fighting for a decade or longer. This is going to result in even more death and destruction in Ukraine. Though, this may also be the only path which results in a Ukraine which is again whole and free of Russian influence.
    2. A negotiated cease-fire. This could take on a lot of forms. Everything from Russia fucking off to Ukraine as a puppet state. Though neither of those extremes seems likely at this point. And, at this point, I suspect both sides of the negotiation have red lines in their positions which are beyond the red lines of the other side. For example, Ukraine’s position likely includes the return of all occupied territory in Eastern Ukraine. And any negotiated settlement which leaves those regions under Russian control is completely unacceptable. By contrast, Russia may consider any negotiated settlement that removes the Luhansk and Donetsk Oblasts from their control as completely unacceptable. The end result is that, no matter how much anyone talks about peace, neither side is willing to give up enough that the other side won’t respond with a flat out, “no”.

    The question this sort of announcement brings up is: are Russia’s red lines moving? While they may still be in the unacceptable region for Ukraine’s negotiating position, it may signal that they are starting to shift. Maybe losing control of the Donetsk Oblast is no longer actually a red line and they would be willing to give up on that area entirely. Sure, that still leaves them well past the “complete territorial integrity” goal of Ukraine. But, it may also be that Ukraine’s own red lines no longer extend quite as far in that direction as they used to.

    And yes, morally, this is all kinda shit. The truly moral thing is for Russia to fuck right off and Putin to end up taking a swan dive from a fifth story window. But, ending wars often results in a lot of abandoned morals.




  • No, but you are the target of bots scanning for known exploits. The time between an exploit being announced and threat actors adding it to commodity bot kits is incredibly short these days. I work in Incident Response and seeing wp-content in the URL of an attack is nearly a daily occurrence. Sure, for whatever random software you have running on your normal PC, it’s probably less of an issue. Once you open a system up to the internet and constant scanning and attack by commodity malware, falling out of date quickly opens your system to exploit.


  • Short answer: yes, you can self-host on any computer connected to your network.

    Longer answer:
    You can, but this is probably not the best way to go about things. The first thing to consider is what you are actually hosting. If you are talking about a website, this means that you are running some sort of web server software 24x7 on your main PC. This will be eating up resources (CPU cycles, RAM) which you may want to dedicated to other processes (e.g. gaming). Also, anything you do on that PC may have a negative impact on the server software you are hosting. Reboot and your server software is now offline. Install something new and you might have a conflict bringing your server software down. Lastly, if your website ever gets hacked, then your main PC also just got hacked, and your life may really suck. This is why you often see things like Raspberry Pis being used for self-hosting. It moves the server software on to separate hardware which can be updated/maintained outside a PC which is used for other purposes. And it gives any attacker on that box one more step to cross before owning your main PC. Granted, it’s a small step, but the goal there is to slow them down as much as possible.

    That said, the process is generally straight forward. Though, there will be some variations depending on what you are hosting (e.g. webserver, nextcloud, plex, etc.) And, your ISP can throw a massive monkey wrench in the whole thing, if they use CG-NAT. I would also warn you that, once you have a presence on the internet, you will need to consider the security implications to whatever it is you are hosting. With the most important security recommendation being “install your updates”. And not just OS updates, but keeping all software up to date. And, if you host WordPress, you need to stay on top of plugin and theme updates as well. In short, if it’s running on your system, it needs to stay up to date.

    The process generally looks something like:

    • Install your updates.
    • Install the server software.
    • Apply updates to the software (the installer may be an outdated version).
    • Apply security hardening based on guides from the software vendor.
    • Configure your firewall to forward the required ports (and only the required ports) from the WAN side to the server.
    • Figure out your external IP address.
    • Try accessing the service from the outside.

    Optionally, you may want to consider using a Dynamic DNS service (DDNS) (e.g. noip.com) to make reaching your server easier. But, this is technically optional, if you’re willing to just use an IP address and manually update things on the fly.

    Good luck, and in case I didn’t mention it, install your updates.


  • At the time I stood my server up, I was supporting RHEL at work and support for docker seemed a bit spotty. IIRC, it took both setting up the docker yum repo directly, along with the EPEL repo. And every once in a while, you could end up in dependency hell from something which was at different versions between EPEL and the official repos. Ubuntu, on the other hand, had better docker support in the official repos and docker seemed more targeted at .deb distributions. So, I made the choice to go Ubuntu.

    I suspect this is long since all sorted. But, I see no compelling reason to change distributions now. The base OS is solid and almost everything the server does is containerized anyway. If I were to rebuild it, I would probably use something more targeted at containerization/virtualization, like Proxmox.


  • sylver_dragon@lemmy.worldtoLinux@lemmy.mlBefore your change to Linux
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 months ago

    I had dabbled with Linux before, both at home and work. Stood up a server running Ubuntu LTS at home for serving my personal website and Nextcloud. But, gaming kept my main machine on Win10. Then I got a Steam Deck and it opened my eyes to how well games "just worked’ on Linux. I installed Arch on a USB drive and booted off that for a month or so and again, games “just worked”. I finally formatted my main drive and migrated my Arch install to it about a week ago.

    I’m so glad that I won’t be running Windows Privacy Invasion Goes to 11.


  • Holy Misleading Headline, Batman…
    The actual first sentence of the article:

    Since 2019, the U.S. Department of Defense has been asking for a waiver from legislation barring it from doing business with companies reliant on telecommunications equipment manufactured by Huawei.

    Emphasis added. This isn’t the DoD saying “we need to use Huawei hardware”, it’s the DoD saying “a fuck-ton of companies we do business with use Huawei hardware.” And that’s because Huawei hardware is cheap and businesses like cheap. While I do think the DoD has some leverage in contracts to say, “welcome to the Defense Industrial Base (DIB), you cannot use anything manufactured by Huawei in infrastructure which is within scope”. If the text of the law says that the DoD can’t do business with companies who use Huawei hardware at all, then that’s going to be very limiting.




  • I have to believe the actual poll and report aren’t as glaringly stupid as that headline. If you ask nearly anyone, “do you want peace?” They are going to respond with “yes.” The devil is always in the details though. Ask them, “should the war in Ukraine be ended by the Ukrainian Government capitulating to all Russian demands to secure an immediate peace?” And, you might find a lot of folks are suddenly less peaceful. This reminds me of the old saw:
    There’s lies, damned lines and then there is statistics.

    With a crafted question and a bit of p-hacking you can get a lot of results you want out of people.


  • My experience has been pretty similar. With Windows turning the invasive crap up to 11, I decided to try and jump to Linux. The catch has always been gaming. But, I have a Steam Deck and so have seen first hand how well Proton has been bridging that gap and finally decided to dip my toes back in. I installed Arch on a USB 3 thumbdrive and have been running my primary system that way for about a month now. Most everything has worked well. Though, with the selection of Arch, I accepted some level of slamming my head against a wall to get things how I want them. That’s more on me than Linux. Games have been running well (except for the input bug in Enshrouded with recent major update, that’s fixed now). I’ve had no issues with software, I was already using mostly FOSS anyway. It’s really been a lot of “it just works” all around.