Knowledgebase

CentOS

Cent Operating System

Articles

ABRT Replacement: Collect and Analyse Crashes with systemd-coredump Updated 28 September 2026 systemd-coredump (systemd 252 to 259) on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debi ABRT (Automatic Bug Reporting Tool) collected crash reports on CentOS 7. It is no longer available: the abrt packages are not in the AlmaLinux, Rocky Linux or RHEL 9... Apache HTTP server: most commonly used containers (special configuration directives) Apache containers are special configuration directives that group other directives. The containers use XML-style tags, meaning that the beginning of a container is... Apache Server Files and Common Configuration Directives Updated 22 October 2026 Apache 2.4.63 (httpd) on AlmaLinux 10.2 and Apache 2.4.66 (apache2) on Ubuntu 26.04, tested; the same layouts are used o Apache keeps its server files in one of two layouts. On AlmaLinux, Rocky Linux and RHEL the package is httpd: the main file is /etc/httpd/conf/httpd.conf, extra... Audit Rules Not Loaded: How to Troubleshoot auditd Rules Updated 30 September 2026 audit 3.1 and 4.0 on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian 13 You add rules to a file in /etc/audit/rules.d/, but auditctl -l still shows No rules or the old list. The rules in that folder are not read directly by the kernel:... Audit Rules to Log Who Ran reboot or shutdown on Linux Updated 29 September 2026 audit 3.1 and 4.0 on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian 13 When a server reboots unexpectedly, you want to know who did it. The Linux audit system can record every run of the reboot and shutdown commands, with the user who ran... Bad id for repo: dnf (yum) Repository Error and How to Fix It Updated 28 September 2026 dnf 4.14 to 4.20 on AlmaLinux and Rocky Linux 9 and 10 and RHEL 9 and 10 (yum is an alias of dnf) The error Bad id for repo: My Repo, byte = 2 appears when a repository file in /etc/yum.repos.d/ has an ID with characters dnf does not accept. We reproduced it on... Beginners Guide to Automounting File Systems With autofs and systemd Updated 30 September 2026 autofs 5.1 and systemd automount on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian 13 Automounting mounts a file system only when someone accesses its folder, and unmounts it again after a period of inactivity. This is useful for network shares (NFS,... Beginners Guide to DHCP: Set Up a Kea DHCP Server and DHCP Clients Updated 29 September 2026 Kea DHCP 2.4 to 3.0 on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian 13 DHCP (Dynamic Host Configuration Protocol) gives computers on a network their IP address, gateway and DNS servers automatically when they connect. A DHCP server holds... Beginners Guide to Kernel Module Configuration in Linux Updated 28 September 2026 kmod 28 to 31 on AlmaLinux and Rocky Linux 9 and 10 and RHEL 9 and 10; Ubuntu 24.04 and 26.04; Debian 13 Kernel modules are pieces of the Linux kernel that load when needed: drivers for network cards and disks, file systems, firewall features and more. You rarely have to... Beginners Guide to Linux Software Management with RPM Maintaining Software Using RPM (Red Hat Package Manager)   RPM is a powerful software manager which can be used to build, install, query, verify, update, and... Beginners Guide to NFS: Set Up an NFS Server and Client on Linux Updated 4 November 2026 nfs-utils 2.5 to 2.8 on AlmaLinux and Rocky Linux 9 and 10 and RHEL 9 and 10; nfs-kernel-server on Ubuntu 24.04 and 26.0 NFS (Network File System) lets Linux servers share folders over the network: one server exports a folder, and others mount it as if it were a local disk. It is common... Beginners Guide to Swap Space Management in Linux Swap space is used in Linux when there is insufficient physical memory (RAM) on your system to store the data currently being processed. When your system needs more... Beginners Guide to vsftpd: Key Settings Explained Updated 4 November 2026 vsftpd 3.0.5 on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian 13 vsftpd is configured in a single file: /etc/vsftpd/vsftpd.conf on AlmaLinux, Rocky Linux and RHEL, /etc/vsftpd.conf on Ubuntu and Debian. This guide explains the... Beginners guide to Apache HTTP Server: Installation and Configuration Updated 11 October 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 Apache HTTP Server is one of the most widely used web servers. This beginner's guide covers installing it and the main configuration files on current systems. Install... Cannot locate Getopt Long.pm in @INC error in CentOS 8: Resolved Updated 11 October 2026 AlmaLinux 9 / Rocky Linux 9 The message Can't locate Getopt/Long.pm in @INC means a Perl script needs the Getopt::Long module, which is not installed. Minimal installations of AlmaLinux 9 / Rocky... CentOS / RHEL : How to add new swap partition For the purpose of this post, let’s assume that you do not have any swap configured on your system. /dev/sdc is the drive referenced with no partitions. Since we are... CentOS / RHEL : How to log all LVM commands By default, the LVM configuration does not allow you to log the commands that are used in a shell or in a GUI (e.g system-config-lvm) environment. However, it’s... CentOS 8: How to Setup Highly Available NGINX by KeepAlived? Updated 28 September 2026 AlmaLinux 9 / Rocky Linux 9 (Keepalived, Nginx) CentOS 8 is end of life; these steps are for AlmaLinux 9 / Rocky Linux 9 (Ubuntu works the same). Keepalived moves a shared virtual IP between two Nginx servers: if... Centos Error: needs 10MB on the /boot filesystem Updated 28 September 2026 AlmaLinux, Rocky Linux, CentOS 7 "needs 10MB on the /boot filesystem" means /boot is full of old kernels. Remove old kernels and keep the running one plus one spare. See "At least 250MB more space... Ctrl+Alt+Del on Linux: What It Does in Linux Mint and How to Disable Reboots with systemd Updated 4 November 2026 Linux Mint 22 (Cinnamon, Xfce, MATE), GNOME 48, Xfce 4.18 and 4.20; systemd 252 to 259 on AlmaLinux and Rocky Linux 9 an On Linux, Ctrl+Alt+Del does not open a task manager as it does on Windows. On a desktop such as Linux Mint it opens the Log out dialog (Cinnamon, Xfce, GNOME) or the... DNS configuration file /etc/named.conf explained The default configuration of the /etc/named.conf file provides a caching-only nameserver. The file has four main sections described as follows.   1. options -... Enable X11 Forwarding over SSH and Set DISPLAY in Linux Updated 12 October 2026 OpenSSH 10.2 on Ubuntu 26.04, 10.0 on Debian 13 and 9.9 on AlmaLinux 10, xauth 1.1.2 (tested); Rocky Linux and RHEL use X11 forwarding runs a graphical program on a server and shows its window on your own computer, through SSH. Install xauth on the server, connect with ssh -X... Features of the Btrfs Filesystem Btrfs (B tree file system) is a modern copy on write filesystem for Linux. It was designed to address the needs of large scale storage and advanced data management. In... Fix semanage and sysctl Command Not Found on Linux Updated 4 November 2026 AlmaLinux 8.10, 9.8 and 10.2, Debian 13 and Ubuntu 24.04, tested; Rocky Linux and RHEL use the same packages semanage: command not found means the package that contains it is not installed. On AlmaLinux, Rocky Linux and RHEL 8, 9 and 10 install it with: sudo dnf install... GRUB2 Configuration Files Explained (grub.cfg, BLS Entries and grubby) Updated 4 November 2026 GRUB 2.06 and 2.12 with Boot Loader Specification entries on AlmaLinux and Rocky Linux 9 and 10 and RHEL 9 and 10; GRUB The GRUB menu that starts your server is built from several files. On CentOS 7 and older releases the menu entries lived inside /boot/grub2/grub.cfg. On AlmaLinux,...