Knowledgebase

CentOS

Cent Operating System

Articles

How to Enable Verbose Logging for VSFTPD? The main configuration file for VSFTPD is ‘/etc/vsftpd/vsftpd.conf‘. When verbose logging is enabled you need to disable the normal logging option, i.e... How to Enable chrony Statistics Logs for Time Sync Troubleshooting Updated 29 September 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 chrony keeps the system clock in sync. For troubleshooting time problems, it can write detailed statistics to log files: every measurement from each time server, the... How to Enable or Disable XDMCP in GDM (and Use RDP on RHEL 10) Updated 29 September 2026 GDM 40 on AlmaLinux and Rocky Linux 9 and RHEL 9 (XDMCP); GNOME Remote Desktop on AlmaLinux and Rocky Linux 10 and RHEL XDMCP (X Display Manager Control Protocol) lets a remote X server, such as an X server on a Windows or Linux desktop, show the graphical login screen of a Linux... How to Enable the Old ethX Style Network Interfaces Names on CentOS / RHEL 7? Updated 28 September 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 Current systems name network interfaces by their hardware position (for example ens3 or enp1s0), so names do not change between boots. Red Hat recommends keeping these... How to Enable/Disable CPUs (Limiting CPU count) in CentOS / RHEL? Updated 28 September 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 You can limit how many CPUs Linux uses, for example to test an application or for licensing. These steps work on Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux... How to Encrypt Swap With a Random Key Using dm-crypt and crypttab Updated 4 November 2026 cryptsetup 2.7 and 2.8 with systemd on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian Swap space can contain anything that was in memory: passwords, keys, customer data. On a server whose disks may be replaced, returned or stolen, encrypting swap keeps... How to Filter or Discard Messages from Specific IP Addresses in rsyslog Updated 4 November 2026 rsyslog 8.2x on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian 13 On a central log server, one noisy device (a switch, a firewall or a misconfigured server) can flood the logs. rsyslog can drop messages from specific IP addresses... How to Find Number of CPU Sockets on a CentOS/RHEL System In our company we have some 3rd-party products installed on CentOS/RHEL systems. The Application team needed to do some accounting on how each product was licensed... How to Find Where a Package Installed Its Files (rpm, dnf and dpkg) Updated 28 September 2026 RPM and dnf on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Fedora; dpkg on Ubuntu and Debian After installing a package you often need to know where it put its files: the program itself, its configuration, its logs or its documentation. The package database... How to Fix NFS Mount Permission Denied and Connection Refused Updated 12 October 2026 nfs-utils 2.8.3 with Linux 6.12 (Debian 13, tested in a lab virtual machine) and nfs-utils 2.8.3 with firewalld 2.4.3 on "Permission denied" while mounting NFS almost always means the server refused this client: the mount ends with mount.nfs: access denied by server while mounting, and... How to Fix Temporary failure in name resolution (Linux, SSH) Updated 12 October 2026 Ubuntu 26.04 and 24.04 (OpenSSH 10.2p1 and 9.6p1), Debian 13, AlmaLinux 10.2 and 9.8 (same on Rocky Linux and RHEL 9 and Temporary failure in name resolution means the machine asked for a name such as example.com and no DNS server answered. The domain is usually fine: the machine has no... How to Grow an XFS File System with xfs_growfs (LVM and Partitions) Updated 28 September 2026 xfsprogs 6.x and LVM 2.03 on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10; also Ubuntu 24.04 and 26.04 and Debian 1 XFS is the default file system on AlmaLinux, Rocky Linux and RHEL. It can be grown while it is mounted and in use, with no downtime, using xfs_growfs. It cannot be... How to Identify Which Physical Port Belongs to a Network Interface in Linux Updated 28 September 2026 ethtool, iproute2 and lldpd on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian 13 (phy A dedicated server with several network ports shows them as names such as eno1, eno2 or enp65s0f1. When a cable has to be moved, or a data-centre engineer needs to... How to Increase Boot Log Verbosity to Debug Linux Boot Problems Updated 4 November 2026 systemd 252 to 259 and dracut on AlmaLinux and Rocky Linux 9 and 10 and RHEL 9 and 10; Ubuntu 24.04 and 26.04 and Debian When a server hangs or fails during boot, the normal boot screen shows little. A few kernel parameters make the kernel, the initramfs and systemd print much more... How to Install Apache CouchDB on Ubuntu, Debian, AlmaLinux and Rocky Linux Updated 18 November 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 (CouchDB 3.5) CentOS 7 is end of life. Apache CouchDB (current version 3.5) is a document database with an HTTP/JSON API and built-in replication. These steps are for Ubuntu 24.04,... How to Install Caddy on CentOS 7 Updated 28 September 2026 AlmaLinux 9 / Rocky Linux 9 CentOS 7 reached end of life on 30 June 2024, so this guide now uses AlmaLinux 9 / Rocky Linux 9 (the steps also suit other RHEL 9 rebuilds). Caddy is a modern web... How to Install Django and Start a Project on Ubuntu, Debian, AlmaLinux and Rocky Updated 18 November 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 Django is a Python web framework. Install it in a virtual environment and create a first project. The operating system versions in the original guide (CentOS 7, Ubuntu... How to Install Drupal 11 with PHP 8.3 on Ubuntu, AlmaLinux and Rocky Linux Updated 18 November 2026 Drupal 11.4 on Ubuntu 24.04, AlmaLinux 9 and Rocky Linux 9 (PHP 8.3) Drupal 8 and PHP 7 are end of life, and so is CentOS 7. This guide installs Drupal 11 (current version 11.4) with Apache on AlmaLinux 9 / Rocky Linux 9 (Ubuntu 24.04... How to Install GitLab on Ubuntu, Debian, AlmaLinux and Rocky Linux Updated 18 November 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 GitLab is a self-hosted Git platform with CI/CD. Install the official Omnibus package. The operating system versions in the original guide (CentOS 7, Ubuntu... How to Install GoAccess on Ubuntu, Debian, AlmaLinux and Rocky Linux Updated 19 November 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 (GoAccess 1.11) CentOS 7 is end of life; these steps are for Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9. GoAccess no longer needs to be compiled: it is packaged. AlmaLinux... How to Install Jenkins on Ubuntu, Debian, AlmaLinux and Rocky Linux Updated 18 November 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 Jenkins is an automation server for building, testing and deploying software. The operating system versions in the original guide (CentOS 7, Ubuntu 16.04/18.04, Debian... How to Install Laravel with Apache on Ubuntu, Debian, AlmaLinux and Rocky Updated 19 November 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 Laravel 5.5, PHP 7.1 and CentOS 7 are all end of life. This guide installs the current Laravel with Apache on Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9.... How to Install Laravel with Nginx on Ubuntu, Debian, AlmaLinux and Rocky Updated 18 November 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 CentOS 7 is end of life. This guide installs the current Laravel with Nginx and PHP-FPM on Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9. Before you start A... How to Install Memcached on CentOS? Memcached is a distributed, high-performance, in-memory caching system.  It is often used to speed up dynamic database-driven websites by caching data and objects in... How to Install Moodle 5 on Ubuntu, AlmaLinux and Rocky Linux Updated 19 November 2026 Moodle 5.2 on Ubuntu 24.04, AlmaLinux 9 and Rocky Linux 9 CentOS 7 is end of life. This guide installs Moodle 5.2 (the current release) with Apache on AlmaLinux 9 / Rocky Linux 9 (and Ubuntu 24.04). Requirements for Moodle...