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.
Overview of Linux Permissions on RHEL 8 provides numerous examples of how to work with permissions in Linux. We’re using Red Hat Enterprise Linux 8; however, all the examples apply to any Linux distribution. Standard Permissions (User, Group, Others) – UGO Linux files and directories have three permission classes: Each permission class can have read (r), write (w), and execute (x) permissions. Permissions appear in the command ls -l output as ten characters, for example: The first character indicates the file type (- for file, d for directory). The following nine characters break into three triplets: user (owner), group, and…
Network File System (NFS) is a widely used protocol for sharing files between Linux systems through a client/server architecture. In RHEL 8 environments, understanding how to configure and manage NFS is an essential skill for system administrators working with centralized storage and shared resources. In this guide, we will explore how to configure an NFS server and client on Red Hat Enterprise Linux 8. The examples cover installing required packages, creating export directories, configuring permissions, and mounting NFS shares across the network. NFS is a client/server protocol: The NFS server is responsible for providing shares, and the NFS client mounts…
Resizing Filesystems on RHEL 8 shows some examples of resizing filesystems using Red Hat Enterprise Linux. Warning: Before anything, you must understand that this task can be hazardous. All the steps that are being performed here are being performed in a lab environment using a virtual machine. So, if you plan to do it in a production environment, we’ll not be responsible for any data loss or data unavailability. Be careful! Note: We will show some examples using the ext4 and xfs filesystems! Preparing the Disk: Creating the Partition Table The first step is to create the partition table in…
Logical Volume Management (LVM) lets you treat physical storage devices as flexible pools, making resizing, snapshotting, and reallocating space seamless. All the provided examples will be made under Red Hat Enterprise Linux 8. First and foremost, we’ve written an article on MBR and GPT partition tables. Click here to access the article. Additionally, if you want to know more about disk partitions, click here to access an article about them! Core LVM Concepts The following picture explains the basic structure of the LVM: Step-by-Step LVM Workflow For this example, let’s use our block device /dev/sdf – this is a 1GB…
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…
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…