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
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)
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?
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?
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
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
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)
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
"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)
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)
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
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
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
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
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
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
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
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
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
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
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
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
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...