raynix 筆記

raynix 筆記

  • Home
  • WordPress Hosting
  • Side Quests
Illustration of a bird flying.
  • Solved: Upgrading Mastodon from 4.2.x to 4.3.1

    It’s been almost 4 years since I started my own Mastodon instance. I took a look at the latest releases and my instance is way behind, so I decided to give v4.3.1 a try. With all the YAMLs and Kustomize stuff I did before, last few upgrades were as simple as a version number change.…

    November 17, 2024
    Systems Admin
    Mastodon
  • How I Upgraded MongoDB 6 Directly to 8

    Long story short, I had a server running Ubuntu 20.04 and unsurprisingly it’s been there for more than 4 years. For no reason I decided to give it an upgrade, actually 2 upgrades, ie. 20.04 –> 22.04 –> 24.04. And I totally regretted. The Ubuntu Linux system upgrade went well and I completely ignored the…

    November 11, 2024
    Systems Admin
    MongoDB, Ubuntu Server
  • Solved: Jsonnet Language Server in Zed Failed to Start

    Since some update recently my Zed editor on my Macbook had trouble to start the Jsonnet language server, so the syntax validation and auto-complete are gone. I had a look at the error message but it didn’t really hinted anything: At least it told me where the server’s binary is located. So I went to…

    November 7, 2024
    Free software, Opensource
    jsonnet, Zed
  • How to Enable HSTS Preload for WordPress (or any other website)

    Today, I learned that even with full site HTTPS it’s still possible for a SSL stripping attach to happen. This is a very good YouTube video which everything regarding the attach and a solution – HSTS preload are explained. To make a WordPress site or any other website eligible for HSTS preload, it’s actually very…

    October 21, 2024
    Web Design
    HSTS, Nginx, SSL, TLS
  • How to Use Dynamic Storage Provisioning in Kubernetes

    Here are the notes on how I enabled dynamic provisioning for persistent volumes in my garage Kubernetes cluster, using a combination of: NFS server I used a typical installation of NFS server on Ubuntu Linux. Here’s the documentation from Ubuntu. CSI driver for NFS From the Github repo there are Helm templates provided to install…

    October 11, 2024
    Systems Admin
    CSI, kubernetes, nfs
  • Why I Returned to Amber

    Hello Amber, Bye Amber I switched to Amber Electric as one of the early adopters in April, 2021, because I had my PowerWall 2 installed a few months earlier and was eager to see how using more renewable energy could save me some money, and reduce my carbon footprint too – something I seemed to…

    September 10, 2024
    Energy Efficiency
    amber, Electrification
  • How to Provision Google Log-Based Metrics with Terraform and YAML

    TL; DR: here are my notes on provisioning Google log-based metrics using Terraform and YAML. The metrics are defined in YAML in a clean fashion and they will be created via terraform apply The HCL part for Terraform Ref.1, https://cloud.google.com/logging/docs/logs-based-metrics2, https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/logging_metric 🙂

    September 4, 2024
    Systems Admin
    Google Cloud, Terraform, yaml
  • Indexes for Structured Logs in Google Cloud

    TL; DR: Google Cloud accepts structured logs ingested from different sources but will not index fields automatically. So by default the ingested jsonPayload will not be optimised for query. Here’s how to add indexes to it using Terraform. 🙂

    August 23, 2024
    Systems Admin
    Google Cloud, logs
←Previous Page
1 2 3 4 5 6 … 110
Next Page→
  • Eric Lin’s Blog
  • Eddie Wang’s Blog at WP
  • GoalKeeper’s Blog

raynix 筆記

Just another WordPress blog

  • Facebook
  • Twitter
  • Instagram

Proudly powered by WordPress