Knowledgebase

CentOS

Cent Operating System

Articles

How to Configure VLAN Tagging with nmcli and netplan Updated 28 September 2026 NetworkManager 1.54 and 1.56 on AlmaLinux and Rocky Linux 9 and 10 and RHEL 9 and 10; netplan on Ubuntu 24.04 and 26.04 VLAN tagging lets one physical network port carry several separate networks. Each VLAN has a number (ID), and Linux creates a virtual interface per VLAN on top of the... How to Configure an NTP Server and Clients with chrony Updated 4 November 2026 chrony 4.5 to 4.8 on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian 13 On a network with many servers, one of them can act as the time server for the others: it takes the time from the internet, and the rest synchronise with it. This... How to Configure kdump on AlmaLinux, Rocky Linux and RHEL 9 and 10 Updated 30 September 2026 kdump on AlmaLinux and Rocky Linux 9 (kexec-tools) and 10 (kdump-utils), RHEL 9 and 10 kdump saves the memory of a crashed kernel to disk (a "vmcore"), so the cause of a kernel panic can be analysed later. On CentOS 7 (end of life) there was a graphical... How to Configure rsync in Daemon Mode (Without SSH Logins) Updated 28 September 2026 rsync 3.2 to 3.5 on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian 13 rsync normally copies files over SSH, which needs an SSH login on the target. In daemon mode, rsync runs as its own service on TCP port 873 and offers named folders... How to Control PackageKit and Set Up Automatic Updates on Linux Updated 29 September 2026 PackageKit 1.2 and dnf-automatic 4 on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10; unattended-upgrades on Ubuntu 2 PackageKit is the background service behind graphical software tools such as GNOME Software. On desktops it checks for updates, downloads them and offers to install... How to Control the Mount Order of fstab Entries With systemd Updated 28 September 2026 systemd 252 to 259 on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian 13 On systems with systemd, the order of lines in /etc/fstab does not decide the order in which file systems are mounted. At boot, systemd turns every line into a mount... How to Convert Ext File Systems to Btrfs? btrfs or Butter FS is a filesystem and has some interesting features:   One can have FS snapshots. It is like a freeze of the filesystem at some point of time.... How to Create a File System in a File and Mount It as a Loop Device Updated 30 September 2026 util-linux losetup and mount on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian 13 A file can hold a whole file system. Attached to a loop device, it behaves like a disk: you can format it, mount it and store files in it. This is handy for testing,... How to Create a New /boot Partition on RHEL, AlmaLinux and Rocky Linux Updated 28 September 2026 GRUB 2 on AlmaLinux and Rocky Linux 9 and 10 and RHEL 9 and 10 (BIOS and UEFI) A separate /boot partition holds the kernels and the boot loader's files. You may need a new or bigger one when /boot is too small for current kernels (updates fail... How to Create a sos report (sosreport) on Linux Updated 28 September 2026 sos 4.9 to 4.11 on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian 13 sos report collects a server's configuration, logs and diagnostic output into one compressed archive. Support teams (Red Hat, Canonical, hardware vendors and hosting... How to Create and Host Your Own DNF (YUM) Repository over HTTP Updated 28 September 2026 createrepo_c 0.20 and 1.1, httpd 2.4 and dnf on AlmaLinux and Rocky Linux 9 and 10 and RHEL 9 and 10 Your own package repository lets several servers install the same, tested RPM packages: internal software, pinned versions, or packages for servers without internet... How to Create and Mount Btrfs Snapshots? Snapshots are one of Btrfs’s most powerful features, enabling you to capture the exact state of your file system at a specific point in time. Whether you need to... How to Delete a Partition with parted or fdisk in Linux Updated 12 October 2026 parted 3.6 and util-linux 2.41 (fdisk, sfdisk, wipefs) on Debian 13 and Ubuntu 26.04, parted 3.6 and util-linux 2.40 on To delete a partition with parted, unmount it and run parted /dev/sdb rm 2, where /dev/sdb is the disk and 2 the partition number from parted /dev/sdb print. With... How to Delete an iSCSI Target on the Initiator (iSCSI Client) Updated 28 September 2026 iscsi-initiator-utils 6.2.1 on AlmaLinux and Rocky Linux 9 and 10 and RHEL 9 and 10; open-iscsi on Ubuntu 24.04 and 26.0 When an iSCSI disk is no longer needed, remove it from the client (the initiator) in the right order: stop using it, log out of the target, and delete the saved target... How to Disable Extra tty Consoles and Keep Only tty1 on Linux Updated 28 September 2026 systemd-logind (systemd 252 to 259) on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian A Linux server offers several text consoles (virtual terminals tty1 to tty6), which you switch between with Alt+F1 to Alt+F6 on the physical or IPMI console. Some... How to Disable IPv6 on RHEL for One Interface or All Updated 17 October 2026 RHEL, AlmaLinux and Rocky Linux 9 and 10 (NetworkManager 1.54 on AlmaLinux 9.8, 1.56 on AlmaLinux 10.2); tested with Net To disable IPv6 on RHEL, AlmaLinux or Rocky Linux, switch it off per connection with NetworkManager: nmcli connection modify "CONNECTION" ipv6.method disabled nmcli... How to Disable Ping (ICMP Echo) Responses on a Linux Server Updated 28 September 2026 AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10 (firewalld), Ubuntu 24.04 and 26.04, Debian 13 (sysctl or UFW), server A server answers ping (ICMP echo requests) by default. Some administrators switch this off so the server is less visible to casual scans. It is not real protection:... How to Disable Transparent Huge Pages (THP) on Linux Updated 28 September 2026 AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10 (grubby, tuned), Ubuntu 24.04 and 26.04, Debian 13 Transparent Huge Pages (THP) let the kernel use 2 MB memory pages instead of 4 KB ones, which speeds up many programs. Some databases work better without them, and... How to Disable an Apache Site and Remove the Welcome Page Updated 4 November 2026 Apache 2.4.66 on Ubuntu 26.04, 2.4.58 on Ubuntu 24.04, 2.4.68 on Debian 13; httpd 2.4.63 on AlmaLinux 10.2 and 2.4.62 on To disable a site in Apache on Ubuntu or Debian, run a2dissite with the site's file name from /etc/apache2/sites-available (without .conf) and reload Apache.... How to Disable and Blacklist a Linux Kernel Module Updated 4 November 2026 kmod 28 to 31 with dracut or initramfs-tools on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.0 Sometimes a kernel module must never load: a driver that crashes the machine, a feature you do not want (for example the floppy or usb-storage driver on a server), or... How to Disable the avahi-daemon Service on a Linux Server Updated 28 September 2026 avahi 0.8 and 0.9 on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian 13 avahi-daemon announces a machine and its services on the local network (zero-configuration networking, also known as mDNS or Bonjour), so printers and file shares can... How to Download RPM Packages with Dependencies Using dnf Updated 28 September 2026 dnf 4.14 to 4.20 with dnf-plugins-core on AlmaLinux and Rocky Linux 9 and 10 and RHEL 9 and 10; dnf5 on Fedora Sometimes you need RPM packages as files instead of installing them: to install them on a server without internet access, to keep exact versions, or to inspect them... How to Edit the GRUB Boot Menu and Change the Default Entry Updated 18 October 2026 GRUB 2 on AlmaLinux, Rocky Linux and RHEL 9 and 10 (tested on AlmaLinux 10.2: GRUB 2.12, grubby 8.40), Ubuntu 24.04 (GRU To edit the GRUB boot menu for one boot, restart the server, select the entry, press e, change the line that starts with linux and press Ctrl+X. To change the default... How to Enable Disk Quotas on an XFS File System? XFS supports disk quotas by user, by group, and by project. Project disk quotas allow you to limit the amount of disk space on individual directory hierarchies. You... How to Enable SSL (HTTPS) for Apache With Certbot or Your Own Certificate Updated 30 September 2026 Apache 2.4 with mod_ssl and Certbot on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian Serving a website over HTTPS needs two things: Apache's SSL module and a certificate. The simplest way to get a trusted certificate is Let's Encrypt with Certbot,...