Blog

Technical notes about Linux, WordPress, servers, security, automation and production maintenance.

Enhancing Virtual Machine Management with QEMU Guest Agent on Proxmox

Ever wondered how to streamline the management and monitoring of virtual machines in your Proxmox environment? QEMU Guest Agent is a game-changer, offering tools that significantly enhance the way you interact with virtual systems. Let’s dive into how this tool can transform your setup. What Makes QEMU Guest Agent Indispensable? Setting Up QEMU Guest Agent […]

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 […]

How to automatically turn off your laptop when battery status is displayed in Linux

Automatically Shutting Down Your Laptop at Low Battery Levels Maintaining long battery life and protecting data are crucial for laptop users. In this article, we’ll show you how to create a simple Bash script that automatically shuts down your laptop when the battery level falls below 20%. Additionally, you’ll learn how to set up a […]

Expanding Storage Space in Linux: Step-by-Step Guide using LVM and fdisk

Expanding disk space in Linux virtual machines is a key aspect of server system management. In this article, we show how to effectively increase disk space using LVM and fdisk tools, based on real system data. Preliminary Preparations Before making changes to partitions and volumes, it is important to check the current state of the […]

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 […]

Resolving performance_schema Issues in MySQL

During daily work with MySQL databases, specific challenges such as missing tables or errors related to the unrecognized database performance_schema can arise. These problems can significantly affect the performance and stability of database systems, and their diagnosis and resolution can often be complicated and time-consuming. To facilitate this task, I have created this guide, which […]

Setting Up Kerberos and CIFS Resource Mounting on Linux Systems

Ensure the following packages are installed to handle Kerberos authentication and mounting CIFS filesystems: Kerberos Ticket Initialization Initialize the Kerberos ticket with the following command: To verify the ticket’s validity and see details, use: Manual Resource Mounting To manually mount a CIFS resource, use the command below. Replace yourserver/yourresource and /your/mountpoint with the appropriate server […]

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 […]

Extending SWAP space on Proxmox using lvreduce

Introduction Managing SWAP memory is a key element in administering Linux operating systems, especially in virtualization environments like Proxmox. SWAP acts as “virtual memory” that can be used when the system’s physical RAM is full. In this article, we will show how to increase SWAP space on a Proxmox server, using the lvresize tool to […]

MySQL Troubleshooting – ErrorCode: 1114

Introduction Working with MySQL, you may encounter various errors that can disrupt system operations. Error code 1114 is one of them and indicates a situation where the table the user is trying to write data to is full. This issue is particularly significant in the MySQL replication system, where its resolution is crucial for ensuring […]