This error pops up if the repository has been previously added, but not properly/partially installed, or if you don’t have the repository at all. To ensure that we don’t already…
Solved – Error: Enable to find a match: zabbix-agent
Cannot find package perl-Linux-Inotify2 on Cloudlinux 8
When trying to install perl-Linux-Inotify2 on Cloudlinux 8, you might encounter the following error: missing groups or modules: perl-Linux-Inotify2 To fix this, you simply need to enable the perl module…
Encrypt sensitive passwords in Ansible playbook
Keeping passwords in Ansible playbooks can be a bad idea, and as such these passwords should be encrypted. Passwords can be encrypted by using the ansible-vault command with the parameter…
Ansible – check if file contains text
This is perhaps an unorthodox way to check if a file contains specific text, but it does seem to be the simplest and mostly commonly recommended on Ansible forums. The…
Train SpamAssassin SPAM with .eml file
SpamAssassin has a neat tool called sa-learn which allows you train SpamAssassin with various files as to what it identifies as SPAM and HAM (not SPAM). Assume you have an…
How to setup Nginx reverse proxy in Docker on Ubuntu 22.04
If you have multiple services running internally, and don’t have public IP’s (or don’t want) to expose these services, a reverse proxy can come in handy. A reverse proxy can…
Screen sharing not working Discord Ubuntu 22.04 – Disable Wayland
A bug I noticed with Wayland enabled on Ubuntu 22.04 caused Discord screen sharing to show as a blank black screen. To resolve this you need to disable Wayland. To…
Specify Ansible Python interpreter on Task/Host
Sometimes setting a global Python Interpreter isn’t ideal as some hosts and tasks may require different interpreters. Specify Python Interpreter on Task level This will select the most appropriate Python…
Improve battery life/performance on Ubuntu with TLP
TLP is a very nifty piece of software to improve battery life on Linux laptops, and it comes with external kernel modules for Lenovo ThinkPad’s which further improve battery life….
Bitwarden CLI – DSO_load:could not load the shared library solution
This a problem with the OpenSSL library on Ubuntu 22.04. To solve this, edit the openssl.cnf file as follows: Comment out the following line: Re-run Bitwarden CLI or any other…