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.
Configuring network interfaces on RHEL 8 is an essential task for Linux administrators who need to manage connectivity in enterprise environments. Red Hat Enterprise Linux provides powerful tools such as nmcli and nmtui to create, modify, and troubleshoot network configurations. The NetworkManager service is responsible for dynamically managing network devices and connections on RHEL systems. Through command-line and interactive interfaces, administrators can configure wired, wireless, virtual, and advanced networking setups without manually editing configuration files. In this article, we will explore how to use nmcli and nmtui to configure network interfaces on RHEL 8, including DHCP configuration, static IPv4 settings,…
GRUB2 (GRand Unified Bootloader version 2) is the default boot loader on most Linux flavors. It resides in the Master Boot Record (BIOS systems) or the UEFI System Partition (UEFI systems) and is responsible for: How does GRUB2 work? Basically, we can pop up some GRUB2 stages: Stage 1: Installed in the MBR or EFI partition, this tiny stub locates the rest of GRUB2. Stage 1.5 (with BIOS only): Optional modules that allow GRUB2 to understand filesystems on /boot. Stage 2: Reads the configuration file (grub.cfg), displays the menu, and loads the selected kernel and initramfs: Configuration Files and Layout…
This article explains what shell scripting is and provides some examples of usage. We’re using Red Hat Enterprise Linux, but all commands work in any Linux flavor. First and foremost: What is Shell Scripting? In Linux, a shell script is simply a text file containing commands you would normally type in the terminal, but saved so they can be run together as a program. To run these commands, we need a command interpreter. The most used command interpreter is the bash (Bourne Again Shell). Example of a simple shell script: The first script line “#!/bin/bash” is known as a shebang…
Using “tar” on RHEL 8 shows how to use the “tar” command to perform backups and archives, with or without compression, and provides a lot of examples of usage. All the practical examples are shown using Red Hat Enterprise Linux; however, they work on any Linux flavor. First and foremost: What is “tar”? The command “tar” stands for “tape archive”.Originally used to back up data to tapes, but now commonly used for: A “.tar” file is just an archive, with no compression by default.A “.tar.gz” or “tgz” is a tar archive compressed with gzip.A “.tar.bz2”, “tbz”, or “tbz2” is a…
Module Streams on RHEL are part of the Application Streams feature that allows administrators to manage multiple software versions on the same Red Hat Enterprise Linux system. This approach provides flexibility by enabling different application versions without creating package conflicts. Key Concepts: This system lets you install and manage different versions of software without conflicts. 1- List all available modules: 2- Filtering by a specific module: or As we can see, the default stream (version) for the Nginx module is 1.14: 3- To change the Stream (to enable another Stream/version) for the Nginx module, for instance: This sets the default…
How to configure a local repository on RHEL 8 is a common task for Linux administrators who need to provide package management without relying on external Red Hat Network repositories. A local repository allows systems to install and update packages using an internal source hosted within the environment. We’ve written an article explaining how to create an HTTP server to use as a network install server for RHEL. We’ll need this HTTP server to create a local repository. So, check this article first:https://dpcvirtualtips.com/creating-a-network-install-server-on-rhel-8/ In this case, for instance, our RHEL 8 has a subscription enabled to download packages from the…