Configuring a Persistent Static IP on RHEL/CentOS/AlmaLinux with nmcli
- Best Practices & Patterns, Linux Basics, Networking, Security & Hardening, System Administration
- February 6, 2015
Shodan is a powerful search engine designed to find internet-connected devices across the globe. It goes beyond conventional search engines by enabling the discovery of specific hardware and software configurations. This guide covers installing and effectively using Shodan’s Command-Line Interface (CLI) on Linux systems including Debian-based (like Ubuntu) and CentOS/RHEL.
READ MORESELinux (Security-Enhanced Linux) is a powerful security feature of Red Hat Enterprise Linux and CentOS. It provides a mechanism to enforce mandatory access control policies. However, SELinux can occasionally block legitimate activities if misconfigured. Here’s how you can investigate and resolve SELinux issues effectively.
READ MOREWhen a Linux system refuses to boot, it can be daunting – but a methodical approach will often get you back up and running. This guide provides step-by-step troubleshooting for common boot issues on Ubuntu, CentOS, and RHEL, suitable for intermediate Linux users. We’ll cover preliminary checks (like hardware and BIOS/UEFI settings), using recovery
READ MOREThis guide introduces key SELinux concepts and offers practical steps for managing SELinux effectively in a Linux environment.
READ MOREHow to Fix ‘bash: TMOUT: readonly variable’ in Linux When Connecting via sudo or SSH
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 MORE