Knowledgebase

CentOS

Cent Operating System

Articles

How to disable or delete virbr0 interface CentOS / RHEL 6,7 ? Updated 28 September 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 virbr0 is created by libvirt for virtual machines. If you do not run virtual machines, you can disable or delete it. The steps apply to Ubuntu 24.04, Debian 12,... How to disable or uninstall tmpwatch Unaccessed files or directories in /tmp gets automatically removed by the default function of package "tmpwatch". It also cleans up the contents of directories like... How to enable IPv6 on CentOS / RHEL 7? IPv6 is enabled by default on RHEL / CenOS 7 systems. So, if IPv6 was disabled on the system intentionally, it can be re-enabled by the following either of the methods... How to enable bind query logging to find out Who is Querying a Name Server? Bind query logging can be very handy if you are troubleshooting a problem. However, it generates a lot of output very quickly. So on a busy nameserver make sure you... How to enable telnet for a group of users CentOS / RHEL 7? In CentOS/RHEL 7, the /etc/pam.conf is depreciated and /etc/pam.d/remote will be used for controlling the telnet services. Follow the steps shown below to enable the... How to exclude a file/directory from auditd rules? In order to allow users to see what is going on, auditd can record all the audit-related events to a disk and we can use various tools such as ausearch or aureport to... How to find if NUMA configuration is enabled or disabled? In modern multi-socket servers, Non-Uniform Memory Access (NUMA) can have a dramatic impact on performance by keeping each processor’s memory accesses local whenever... How to find the commands run by user before reboot in CentOS/RHEL? Installing psacct (process accounting)   The psacct service is responsible for starting and stopping process accounting at system boot time and at system shutdown.... How to install CentOS Web Panel? Updated 4 November 2026 CWP on AlmaLinux 9 and Rocky Linux 9 CentOS Web Panel (CWP, now also called Control Web Panel) is a free hosting control panel for RHEL-compatible systems. CentOS itself is end of life, so install CWP on... How to install Mod_evasive Apache module on CentOS 7? Updated 28 September 2026 Ubuntu 24.04, Debian 12 and cPanel & WHM 138 (Apache 2.4) mod_evasive is an Apache module that blocks an IP for a short time when it requests too many pages too quickly. It helps against small HTTP floods and brute-force... How to install Nginx 1.12 with PageSpeed module on CentOS 7? Updated 28 September 2026 Nginx 1.24+ Google's PageSpeed module for Nginx (ngx_pagespeed) is no longer developed, and Nginx 1.12 and CentOS 7 are long out of support. We no longer recommend building Nginx... How to install PHP 7.2 on CentOS 7/RHEL 7? Updated 22 October 2026 AlmaLinux 9 / Rocky Linux 9 PHP 7.2 and CentOS 7 are both end of life and no longer get security fixes. Use a supported PHP version on a current system instead. If you're specifically chasing the... How to install SQLite3 in CentOS 7? Updated 28 September 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 CentOS 7 is end of life. SQLite is a small SQL database stored in a single file, with no server process. PHP, Python and many other languages include SQLite support.... How to install and Configure VNC (TigerVNC) server in CentOS / RHEL 7 Updated 28 September 2026 AlmaLinux 9 / Rocky Linux 9 (TigerVNC) CentOS/RHEL 7 are end of life. On AlmaLinux 9 / Rocky Linux 9 TigerVNC runs as a systemd service per user. The server needs a desktop environment. Install dnf... How to install and setup Docker on RHEL 7/CentOS 7? Updated 28 September 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 CentOS 7 and RHEL 7 are end of life. Install Docker Engine from Docker's repository on AlmaLinux 9 / Rocky Linux 9 (or Ubuntu/Debian). Install Docker Engine (official... How to install kernel from rescue mode CentOS / RHEL 7? Updated 28 September 2026 AlmaLinux 9 / Rocky Linux 9 CentOS/RHEL 7 are end of life. If AlmaLinux 9 / Rocky Linux 9 cannot boot because the kernel is missing or damaged, install it again from the rescue environment. Boot... How to installing Gender PHP Extension CentOS 7? Updated 28 September 2026 PHP 8.1 and newer The PHP gender extension guessed a person's gender from a first name. It has not been updated since 2016 and does not build on PHP 8, so it cannot be installed on... How to join Centos 7/ Rhel 7 servers to Active Directory Domain? Updated 28 September 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 CentOS 7 / RHEL 7 are end of life; these steps join AlmaLinux 9 / Rocky Linux 9 (and Ubuntu 24.04) to an Active Directory domain with realmd and SSSD, so domain users... How to modify the iSCSI initiator ID in Linux? In our environment, we have duplicate initiator id in /etc/iscsi/initiatorname.iscsi due to multiple iSCSI implementations. How can we Create Different ISCSI Initiator... How to monitor the Mounting/Umounting of Mount Points Using Auditd on CentOS/RHEL 6,7? Updated 28 September 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 auditd can record every mount and unmount, with the user who did it. These steps are for Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 (install with dnf... How to patch Meltdown CPU Vulnerability CVE-2017-5754 on Linux? Updated 28 September 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 Meltdown (CVE-2017-5754) was fixed in all supported kernels in 2018, and every current release of Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 includes the... How to patch Spectre Vulnerability CVE-2017-5753/CVE-2017-5715 on Linux? Fix the Spectre on a CentOS/RHEL/Fedora/Oracle/Scientific Linux Type the following yum command:   $ uname -r3.10.0-693.11.1.el7.x86_64$ sudo yum update You must... How to recover from deleted root entry in /etc/shadow and/or /etc/passwd files on CentOS / RHEL 7? The ‘root’ entry was removed from /etc/shadow and /etc/passwd. How to recover the deleted root user entry.   Solution To be able to recover the deleted root user... How to set custom device names using udev in CentOS/RHEL 7? There could be a requirement from client to have custom device names such as /dev/asmdisk01 for an actual device with name /dev/sdb. Follow the steps outlined in this... How to specify command-line arguments and options when the dhcpd service is started CentOS / RHEL 7?   In many environments you’ll need to tweak how your DHCP server daemon (dhcpd) starts, whether it’s to bind to a specific interface, point to a custom config file,...