Category: Linux

Fail2Ban: How to Detect Repeat Offenders and Ban Them for a Week (Recidive)

Fail2Ban: How to Detect Repeat Offenders and Ban Them for a Week (Recidive)

If you use Fail2Ban with Nginx and WordPress, sooner or later you’ll notice one thing: the same IP addresses keep coming back. They get banned for a few minutes or an hour, disappear… and shortly after try again /.env, /wp-login.php, /phpmyadmin, or other common attack paths. The solution is not to aggressively tighten the filters. […]

Read more »

The most important Linux commands that every user should know

The most important Linux commands that every user should know

The Linux system is a powerful tool that offers users tremendous flexibility and control over their working environment. However, to fully harness its potential, it is worth knowing the key commands that are essential for both beginners and advanced users. In this article, we will present and discuss the most important Linux commands that every […]

Read more »

Automatic deletion of files on QNAP drive via SSHFS

Automatic deletion of files on QNAP drive via SSHFS

Automation of Disk Space Management in a Linux Environment In today’s digital world, where data is being accumulated in ever-increasing amounts, managing disk space has become a key aspect of maintaining operational efficiency in systems. In this article, I will present a script that automates the process of managing space on a remote disk mounted […]

Read more »

Troubleshooting Proxmox clusters and restoring the LXC container

Troubleshooting Proxmox clusters and restoring the LXC container

Managing Proxmox clusters can sometimes present technical difficulties, such as inconsistencies in cluster configuration or issues with restoring LXC containers. Finding and resolving these issues is crucial for maintaining the stability and performance of the virtualization environment. In this article, I present a detailed guide on how to diagnose and resolve an issue with an […]

Read more »

How to prevent hibernation and sleep on debian and proxmox laptops when the lid is closed

How to prevent hibernation and sleep on debian and proxmox laptops when the lid is closed

Virtualization servers based on Debian family systems, such as Proxmox, are often used in test environments where continuous availability is crucial. Sometimes these servers are installed on laptops, which serve as low-budget or portable solutions. However, the standard power management settings in laptops can lead to undesirable behaviors, such as sleeping or hibernating when the […]

Read more »

Add a swap file on Linux and Proxmox without shrinking LVM

Add a swap file on Linux and Proxmox without shrinking LVM

Updated: 27 October 2026. This article replaces the old root-LVM shrinking procedure with an additional swap file. The earlier procedure included an incorrect assumption about shrinking XFS and should not be used as an operational guide. When a suitable local filesystem has enough free space, a swap file can add swap capacity without resizing partitions. […]

Read more »

Upgrading Apache Cassandra from Version 3.1.15 and Higher to 4.1.x on Ubuntu 20.04.5 LTS: A Comprehensive Guide

Upgrading Apache Cassandra from Version 3.1.15 and Higher to 4.1.x on Ubuntu 20.04.5 LTS: A Comprehensive Guide

Upgrading Apache Cassandra to a newer version is a significant task that database administrators undertake to ensure their systems benefit from new features, enhanced security measures, and improved performance. This guide provides a detailed walkthrough for upgrading Apache Cassandra from version 3.1.15 and higher to the latest 4.1.x version, specifically on Ubuntu 20.04.5 LTS, with […]

Read more »

Proxy through nginx frontend to the second virtual server wordpress

Proxy through nginx frontend to the second virtual server wordpress

In a situation where we have one public IP address and we have many domains directed to that IP address, it is worth considering spreading the traffic to other servers. Proxmox, which allows you to create a pair of virtual machines, is perfect in such a situation. In my case, each virtual machine is separated […]

Read more »

Legacy web applications behind Apache reverse proxy: TLS and migration

Legacy web applications behind Apache reverse proxy: TLS and migration

A reverse proxy can provide a maintained public TLS endpoint while an older application is being migrated. It does not patch the backend, remove application vulnerabilities or prove that the whole system meets a security standard. Reviewed: 28 October 2026. This replaces the historical Red Hat 5 / Oracle Linux 7 recipe at the same […]

Read more »