Kenno’s Open Note 👋

Feel free to take a peak

Installing Nerd Font on Fedora

I want to install ‘Hack Nerd Font’ on my laptop running Fedora 40. As of today, there is no RPM package that I am aware of that provides this font. Therefore, I would need to download and install the font manually. Visit the Nerd font website, to choose a preferred font. I like Hack Nerd Font. It can be downloaded from the Download link. Unzip the downloaded (e.g. Hack.zip) and move or copy the directory to ~/....

September 22, 2024 Â· 2 min Â· 312 words Â· kenno

Resizing a root partition on Linux VM

Well, I recently learned that one of my VMs had its root partition full. The following document on the root partition was resized on that VM. It’s not gonna be something exciting or anything special. However, I feel like I should document anyway, in case I forget on how to do that in the future, and partly due to I no longer work with these type of work as my daily job anymore....

September 16, 2024 Â· 4 min Â· 660 words Â· kenno

Replacing cron with systemd timer

Well, I don’t currently really have a good reason to replace a working cron job with systemd-timer beside practicing it. The following is the existing cron task for www-data user. I want to convert this cron to a systemd-timer: $ sudo crontab -l -u www-data # m h dom mon dow command */5 * * * * php -f /var/www/nextcloud/cron.php The above output indicates that the command php -f /var/www/nextcloud/cron.php is run at every 5th minute, of course by www-data user....

September 3, 2024 Â· 3 min Â· 428 words Â· kenno

Upgrading Longhorn with Helm

For my test Kubernetes cluster, Longhorn is used as the persistent block storage. The installed version is 1.6.2, and the version 1.7.0 is available now. So today, I’m going to share how to perform the Longhorn upgrade using Helm. I’m going to try to do this live as usual. Of course, I already created snapshots for all my K8s nodes in case thing goes south. First, let’s verify the current installed version of Longhorn [1]....

August 23, 2024 Â· 4 min Â· 647 words Â· kenno

How to rebuild initramfs on Fedora

Earlier today while performing the update on my Fedora desktop, I encountered an issue with the new kernel update. As a result, the initramfs was not generated for the new installed kernel. So, I’ll share with you how to rebuild or generate the initramfs while fixing real issue on my Fedora workstation. First, here is an output showing the source of the issue. It might not be clear of what’s going on, but that’s okay as it’s not the main focus of this blog post....

August 21, 2024 Â· 5 min Â· 1000 words Â· kenno