Author: Danilo

Infrastructure Engineer with experience in Virtualization, Linux, Windows Server and learning automation using Python. DPC Virtual Tips was created to share practical tutorials, lab experiences and troubleshooting guides focused on enterprise infrastructure technologies.

Creating Disk Partitions and Filesystems on RHEL 8 shows all the necessary steps to create a disk partition, a filesystem, and mount it to allow the administrator to use it. Before moving forward, we’ve written an article about the partition table schemes MBR and GPT. We highly recommend that you check it out before taking any further action. Click here to access this article! So, in our virtual machine with Red Hat Linux Enterprise 8, we’ve four block devices with their partition tables, as shown in the following picture: For our first example, let’s focus on the “/dev/sdb” with an…

Read More

Master Boot Record (MBR) and GUID Partition Table (GPT) on RHEL 8 show essential details of each partition scheme used by the majority of Linux flavors. All the details here will be shown using Red Hat Linux Enterprise 8. Master Boot Record (MBR) MBR is the traditional partitioning scheme used by legacy BIOS systems. It resides in the very first sector (512 bytes) of a disk, containing both the bootloader code and the partition table. GUID Partition Table (GPT) GPT is the modern replacement for MBR, mandated by UEFI and supported by most contemporary OSes. It stores multiple copies of…

Read More

Logrotate on RHEL 8 is an essential tool for Linux system administrators who need to manage large volumes of log files efficiently. It automates the process of rotating, compressing, removing, and organizing logs to prevent uncontrolled disk usage. Log files generated by system services and applications can grow continuously over time. Using Logrotate, administrators can define rotation policies based on time intervals or file size, ensuring that logging remains available while keeping storage usage under control. In this guide, we will explore how Logrotate works on RHEL 8, understand its configuration structure, create custom rotation rules, perform manual rotations, and…

Read More

Rsyslog is the default syslog daemon on RHEL 8 and 9, and understanding its configuration is crucial for any system administrator. To check if the rsyslog is running on your system: Rsyslog Basic Architecture and Components Basic Rsyslog Configuration After editing the configuration files, you can run the following command to test the configuration syntax: After changing the rsyslog configuration, you need to restart the daemon to put in place the new configuration/changes: Filtering & Custom Log Files Let’s provide an example: To capture info-level messages in a separate file: 1- Create /etc/rsyslog.d/info.conf with the following content: Note: The basic…

Read More

journald is a component of the systemd suite used in Red Hat Enterprise Linux (RHEL) and other modern Linux distributions. It serves as the system logging service, replacing older logging systems, such as syslog. journald is the systemd journal daemon responsible for collecting and managing log messages from: It stores these logs in a binary format rather than plain text, which allows for more structured and efficient querying. We can check the daemon status by executing the following command: Key Features Interacting with the Journal We can use the journalctl command for querying, filtering, and live-viewing logs. For example: 1-…

Read More

Getting Started with TuneD on RHEL 8 demonstrates what the TuneD daemon is and how it can be used to optimize system performance. So, what is the TuneD? TuneD is a service/daemon that monitors your system and optimizes the performance under specific workloads. The core of TuneD are “profiles”, which tune your system for different use cases. TuneD is distributed with many predefined profiles for use cases such as: TuneD is a dynamic and static tuning tool that: On RHEL 8, for instance, the TuneD is already installed and enabled by default: What Is It Used For? TuneD helps system administrators: Common TuneD Profiles A…

Read More