Configuring a Persistent Static IP on RHEL/CentOS/AlmaLinux with nmcli
- Best Practices & Patterns, Linux Basics, Networking, Security & Hardening, System Administration
- February 6, 2015
“The only thing worse than a poorly documented shell script is a well-documented shell script that doesn’t work.”
— Anonymous
To maintain a secure and supported environment, organizations should migrate CentOS 7 servers to a supported enterprise Linux OS. Rocky Linux and AlmaLinux have emerged as the leading community-driven successors to CentOS, providing binary-compatible replacements for Red Hat Enterprise Linux (RHEL) without licensing costs.
READ MOREIntroduction Configuration management (CM) tools help system administrators and DevOps engineers automate the provisioning and maintenance of servers at scale. They ensure systems are configured consistently and correctly across environments, reducing errors and drift. In this article, we compare several leading configuration management tools for Linux – both open-source and commercial – to highlight
READ MOREIn production environments, servers often require a fixed (static) IP address for reliable network access. Using Red Hat’s NetworkManager CLI (nmcli), we can configure a static IPv4 address that persists across reboots. The following guide walks through identifying your network interface, setting a static IP, gateway, and DNS, and applying the changes with best practices
READ MORESidecar containers in OpenShift and Kubernetes are designed to extend functionality by running alongside main application containers within the same Pod. They offer benefits such as modularization, improved reusability, and simplified code. Common use cases include logging, security, and data synchronization. Best practices and scenarios for avoiding sidecars are also discussed.
READ MOREUpgrading from Ubuntu 22.04 LTS to 24.04 LTS necessitates preparation, ensuring data backups and app compatibility. The guide outlines both GUI and CLI methods, emphasizing careful execution to minimize downtime and maintain system integrity during the upgrade.
READ MORE