Category Archives: Linux

Monitor and control #ActiveMq using Jolokia #API

By | October 26, 2023

Apache ActiveMQ® is the most popular open source, multi-protocol, Java-based message broker. It is widely used in a lot of multi service application environments where we need to pass messages between services. All this type of environments (kubernets, docker swarm etc. ) are used to be able to monitor and control the component services using… Read More »

#Linux #Fedora #Java defaults and jasper reports compile issues

By | September 28, 2022

A common mistake is to set the alternatives just for java sdk. This can lead to issues when several java versions are present. Jasper Reports a well knows Java library used to generate ad-hoc pdf reports compiles the report templates and the temporary classes using the default system javac not the javac of the java… Read More »

Bash one liners: Detailed information about your battery and power under Linux command line

By | August 16, 2022

The magic command is upower, a command that gives you detailed information about the power devices in your laptop/desktop. Enumerate all the power devices Check the details of a power device (battery in this case)

#RabbitMQ crashing at restart with “badmatch, error, not_a_dets_file”

By | May 10, 2022

RabbitMQ is a nice message queue server used in lot of networking monitoring appliances and other services. It has a very small footprint and can be integrated with lots of languages and resources. All works well until you get the famous recovery log corrupted error. Usually the issue is caused by disk full or in… Read More »

Simple #backup using #cron #tar and #LTFS on a #LTO tape drive

By | February 21, 2022

We all know back-up is important and a must have in case of critical systems. Making a backup on tape is one of the best industry standards that is still unmatched. In the following I am presenting a simple way to make tape back-ups using tar and LTFS on LTO5 and up tapes. Why LTFS… Read More »

How to run with multiple PHP versions on Fedora 35 using Apache and PHP-FPM

By | August 17, 2023

I am self hosting my own services on my home server and sometimes issues occur due to incompatible prerequisites and because I try to always use the latest version of everything. After updating from Fedora 34 to Fedora 35 again I hit one issue I already had: PHP prerequisites. The issue after update was caused… Read More »

#Bash one liner: Change permissions recursively for a set of files matching a criteria

By | November 2, 2021

There is a neat way using a bash one liner to change attributes of all the files from a path and sub paths that match a criteria. As an example following line makes all the script files from a path and sub paths executable.

#Twitter Card: ERROR: Fetching the page failed because other errors

By | February 16, 2021

After some updates suddenly all the post I shared from Jetpack for WordPress had no valid Twitter card. After some mail exchanges with Jetpack support they assured me that all is good from their part. As instructed by them I was able to see that indeed Jetpack was correctly generating the Twitter Card. Still checking… Read More »

Add preview WEBP images on nautilus on #Fedora #Linux

By | February 15, 2021

The new webp image standard is used a lot this days. Somehow Nautilius is not generating thumbnails for this format automatically. To add support for this just do the following: STEP 1: Add support for the new image format. Create a new file /usr/share/thumbnailers/webp.thumbnailer with the following content. Also make sure totem player is installed,… Read More »

Install #Signal on #Fedora #Linux

By | January 29, 2021

As you maybe discovered there is no rpm build support from the Signal team. Yes you can compile your own version and then do that for every new release but if you are lazy like me and nor an international wanted person (like Assange) there is a simpler version to do it. Here comes the… Read More »