I ported the WordPress plugin providing shortcodes for embedding Gitlab projects into posts and pages to a Gitea version. Note that i personally have switched to Forgejo, and apparently it also works with that. 🙂 Below is a usage example, displaying the latest 3 commits and the latest release (if any) from repository “linuxfoo-gitea” on […]
Articles in Category "Administration"
WordPress Plugin to embed Gitea Repositories
30. September 2025 in Administration, GNU/Linux, Programming, Technology.
PiKVM on an OrangePi Zero 2
3. November 2023 in Administration, GNU/Linux, Technology.
The OrangePi Zero 2 H616/1GByte is capable of running PiKVM. I find this an interesting development, because if i only want the KVM functionality, a full-blown Raspberry Pi 4 with all its CPU resources, multiple Gigabytes of RAM and peripheral devices seems somewhat of an overkill. I am aware that the latest official PiKVM, the […]
Make a Bourne Again Shell Script Log its Output to a File
23. November 2024 in Administration, GNU/Linux, Programming.
The Bourne Again Shell script presented in this article demonstrates techniques related to capturing and logging output (standard output and standard error stream) of a script into a log file while also delivering it to the regular output destinations (for example the terminal or whatever the caller has chosen to redirect to). If you are […]
Determine IPv4 Addresses of a Libvirt Qemu-KVM Domain
1. Juli 2023 in Administration, GNU/Linux, Technology.
In the VM, on Redhat-likes, make sure that the Qemu guest agent is installed: dnf install qemu-guest-agent On Debian-likes, execute: apt install qemu-guest-agent For Microsoft Windows guests, there are some tutorials on the web, see for example [1]. On the HV, execute: virsh qemu-agent-command –domain myvm \ ‘{“execute”:”guest-network-get-interfaces”}’ | \ jq -r ‘ [.return[] | […]
Print XDG Desktop Definition for Application
3. November 2024 in Administration, GNU/Linux.
Update Nov 3 2024: There is an update to this article that provides this script as commandline utility. There is also a Git repository. For an application given by “application name” or “executable name”, output the corresponding .desktop file, if any: #!/bin/sh IFS=”:” xdg_data_dirs=${XDG_DATA_DIRS:-/usr/local/share:/usr/share} search=$1 for i in $xdg_data_dirs ; do a=”$i/applications” [ -d $a […]
Pi-KVM Hat v3
20. August 2023 in Administration, GNU/Linux, Technology.
Ich freue mich, zu den Glücklichen zu gehören, die den Pi-KVM Hat v3 mit passendem Stahlgehäuse ergattert haben (https://pikvm.org/). Das Warten hat sich gelohnt.
CentOS/8 Stream on libvirt/KVM with Kickstart and virt-install
22. Januar 2023 in Administration, GNU/Linux, Technology.
This article describes using Kickstart to automate the CentOS installer and virt-install to automate the creation of a VM. The following setup is assumed: There is a libvirt hypervisor called virthost. ssh to virthost as “root” is possible.
Interactive nftables Ruleset Editor
11. Januar 2024 in Administration, GNU/Linux, Technology.
I wrote a simple shell tool to interactively edit the current nftables ruleset using a terminal-based text editor (respecting environment variable EDITOR and defaulting to vim). For testing purposes, it can optionally revert the changes after a timeout specified in seconds (option –timeout SECONDS, requires systemd-run).