Category Archives: Linux

Fedora Linux Server useful one liners -part 2

By | May 7, 2024

This is a continuation of the previous post about one liners from https://blog.voina.it/fedora-linux-server-useful-one-liners/ Updating to a new version – extra commands In case the usual one liner does not work or there are some issues related to the upgrade, there are some additional things that can be done. Make sure to have latest packages of… Read More »

Fedora Linux Server useful one liners

By | April 10, 2024

While running the blog server on Fedora Linux I found out that some one liners are either very important to be executed once or very useful periodically. Here are some of my most used one-liners Updating packages Note that I allow dnf to skip broken packages and delete if necessary. Sometimes if using other than… Read More »

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 »