Aussie living in the San Francisco Bay Area.
Coding since 1998.
.NET Foundation member. C# fan
https://d.sb/
Mastodon: @dan@d.sb

  • 7 Posts
  • 2.28K Comments
Joined 3 years ago
cake
Cake day: June 14th, 2023

help-circle

  • Use a page caching plugin that writes HTML files to disk. I don’t do a lot with WordPress any more, but my preferred one was WP Super Cache. Then, you need to configure Nginx to serve pages directly from disk if they exist. By doing this, page loads don’t need to hit PHP and you effectively get the same performance as if it were a static site.

    See how you go with just that, with no other changes. You shouldn’t need FastCGI caching. If you can get most page loads hitting static HTML files, you likely won’t need any other optimizations.

    One issue you’ll hit is if there’s any highly dynamic content on the page, that’s generated on the server. You’ll need to use JavaScript to load any dynamic bits. Normal article editing is fine, as WordPress will automatically clear related caches on publish.

    For the server, make sure it’s located near the region where the majority of your users are located. For 200k monthly hits, I doubt you’d need a machine as powerful as the Hetzner one you mentioned. What are you using currently?


  • dan@upvote.autoSelfhosted@lemmy.worldShould I be using Debian?
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 days ago

    If your current setup works well for you, there’s no reason to change it.

    You could try Debian in a VM (virtual machine) if you want to. If you’re running a desktop environment, GNOME Boxes makes it pretty easy to create VMs. It works even if you don’t use GNOME.

    If you want to run it as a headless server (no screen plugged in to it), I’d install Proxmox on the system, and use VMs or LXC containers for everything. Proxmox gives you a web UI to manage VMs and containers.







  • Blue Iris is by far the most capable NVR, but it’s Windows-only so you’d need a Windows or Windows Server VM. For a basic setup, Frigate is more than sufficient.

    I’d say try Frigate on your ThinkCentre and see how well it runs. I wouldn’t buy new hardware prematurely.

    Do I understand that I could then share the igpu between Jellyfin and Docker/Frigate?

    I’m not sure about containers like LXC, but generally you need SR-IOV or GVT-g support to share a GPU across multiple VMs. I think your CPU supports GVT-g, so you should be able to find a guide on setting it up.





  • dan@upvote.autoLemmy Shitpost@lemmy.worldStudent Parking
    link
    fedilink
    arrow-up
    16
    ·
    edit-2
    15 days ago

    The way a lot of students solve this in Australia, at least in Melbourne where I’m from, is by taking the train (or a tram) to university. The university I went to was adjacent to a train station.

    Students from low-income families and that are independent get money from the government which can be used for anything, including public transport passes. Living on campus isn’t really a thing in Australia, so a lot of students continue to live with their parents while at uni to save money, or live at an apartment nearby.



  • Ohh… I forgot about this. If they’re still doing that then I wouldn’t recommend them.

    For less tech-savvy users, I usually recommend some off-the-shelf hardware, so they have multiple people they can go to in case of issues with either the hardware or the standard built-in software (like the manufacturer, or other people that are also familiar with products from that manufacturer).

    Synology used to be the best for that, but maybe not any more. A lot of brands have gotten into NAS hardware over the last year or two so I’m not sure what’s the best now!