Category: Linux

How to install npm on Ubuntu 24.04

Using NVM (Recommended for Developers) Node Version Manager (NVM) lets you install and switch between multiple versions of Node.js and npm on the same machine — useful when different projects require different Node versions. Download and run the NVM installation script: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash Apply the changes to your current shell session: source ~/.bashrc Install the latest Long-Term…

Read More »

Duo Unix on EL8: Why You Shouldn’t Mix EPEL and Duo Repositories

There are a couple of valid methods, but don’t do what I did and mix them. If you install Duo two-factor authentication for Unix systems. There are four files that are needed and differ in the approach on how they are installed pending on the path you had taken.  Once again, I stress, don’t mix them. The four files, pam_duo.so,…

Read More »

ProjectSend Install Script

ProjectSend is a self-hosted file sharing application for users or clients that avoids handing control over to a third-party service. It runs on standard web infrastructure, keeps data local, and focuses on managing uploads, access, and downloads in a straightforward way. The accompanying install script exists for the same reason. Instead of locking the system to a specific PHP release…

Read More »

Installing Go (Golang) Properly on Rocky Linux, RHEL, AlmaLinux, and CentOS

When installing Go (Golang) on Enterprise Linux systems, the default package repositories are usually behind the official Go release cycle. This can cause compatibility issues when compiling modern projects or building statically linked binaries. This guide walks through a proper, official installation method using the Go project’s own binaries. The result is a clean, system-wide Go installation that is safe…

Read More »

Proxmox: List all Running VMs with IPs

This shell loop queries Proxmox for the IPv4 addresses of all currently running virtual machines by leveraging the QEMU Guest Agent. It first lists running VMs using qm list, extracts their VMIDs, and then iterates over each one. For every VM, the command qm guest cmd <vmid> network-get-interfaces asks the guest agent inside the VM to report its network interfaces…

Read More »

Migrating Virtual Machines from VMware to Proxmox

What to Fix After Migration — and Best-Practice Proxmox VM Settings Migrating virtual machines from VMware to Proxmox is usually straightforward: convert the disk, boot the VM, and confirm it runs. But a VM that boots is not necessarily a VM that is correct, stable, or future-proof. This article documents real-world migration issues and the correct cleanup process after moving…

Read More »

Listing Non-User System Groups with GID ≥ 1000

In modern Linux systems, both users and groups are assigned numeric IDs. Users have UIDs, and groups have GIDs. By convention, system accounts typically use IDs below 1000, while regular user accounts use IDs 1000 and above. When a user account is created, a corresponding group with the same name is usually created as the user’s primary group. To identify…

Read More »

Jellyfin 10.10.x on Ubuntu 24 LTS

Installing Jellyfin on Ubuntu If you’ve been running Jellyfin on a RHEL-based Linux distribution like Rocky Linux, you’ve probably run into a frustrating limitation: the available packages are often outdated. This becomes a real problem when clients like the Fire TV Stick require a recent version of Jellyfin to function properly. Ubuntu, on the other hand, supports the latest packages,…

Read More »

rsync on ESXi 7 produces rekeyed outbound cipher messages that fill the screen

While using rsync on ESXi 7 to copy files and directories from one ESXi datastore to another remote ESXi datastore, the screen fills with “rekeyed outbound cipher rekeyed inbound cipher” messages about every 10 seconds. There is a way to fix this. There is a setting in /etc/ssh/sshd_config that I commented out and changed to RekeyLimit default none. # vPP…

Read More »

rsync on ESXi 7

While using the built in scp command to copy files from one ESXi datastore to another on another ESXi, I realized this was cumbersome. A quick Internet search revealed that someone compiled rsync for ESXi many years ago and that it does work on ESXi 6.5 and also tested successfully on ESXi 7.0. I wanted to build to the latest…

Read More »

Zabbix: Python3 script to export all Templates to individual XML files

By default, Zabbix permits the export of all templates, but what if I wanted to download all the templates as individual XML files. Zabbix makes it easy to export templates, but the built-in option bundles everything together. If you want each template saved as its own individual XML file, you’ll need a different approach. As it turns out, someone wrote…

Read More »

Install ffmpeg on Rocky Linux 8

There are several guides that I followed in attempts to install ffmpeg without success. There were issues with the incorrect cases of the names, like using PowerTools instead of powertools or leaving out much needed repos to make it possible to install. This guide will install ffmpeg on a Rocky Linux 8 linux machine. Install The following commands will install…

Read More »

Git Clone Fails

Git clone fails with fatal unexpected and invalid messages. The git repository is over 1GB and there is a work-a-round that made it possible to finally clone the repository successfully. Error fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output Suggestions Some sites suggested using SSH clone rather than http. That wasn’t an option….

Read More »

Rocky 9: Failed to start Switch Root [Resolved]

Rocky 9 installed relatively easily on Proxmox using host as the processor of choice. Even the dnf update to Rocky 9.1 went as smooth as anticipated until the reboot. The system simply did not want to boot into the new Rocky 9.1 kernel. I tweaked every setting that I could without success. A boot back to the Rocky 9.0 kernel…

Read More »

QNAP NAS RAMDisk Full [Resolved]

A problem that has been lingering around for over 10 years and does not seem to hold a resolution other than rebooting the QNAP is resolved, well at least for my particular situation.  Even on a fairly modern TS-1273AU-RP QNAP this problem persists. This QNAP has only one application installed, everything else is removed that can be removed.  Those apps…

Read More »

dnf Module yaml error: Unexpected key in data

While applying recent updates to a server running Rocky Linux 8, an error presented itself. Module yaml error: Unexpected key in data: static_context [line 9 col 3] Module yaml error: Unexpected key in data: static_context [line 9 col 3] The solution turned out to be a simple one. Update the libmodulemd first to correct the problem then perform the dnf…

Read More »

Rocky Linux to Microsoft WSL 2

Assumption, you have WSL 1 installed.  You want to upgrade to WSL 2 but get a “WSL 2 requires an update to its kernel component.” error. Download and run the WSL2 Linux kernel update. https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi From the Microsoft Store, install the “AlmaLinux 8 WSL”. From the Microsoft Store, install “Windows Terminal” (optional) DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V wsl –set-version AlmaLinux-8…

Read More »