Knowledgebase

CentOS

Cent Operating System

Articles

How to su to Another User in Linux (and Without a Password) Updated 12 October 2026 su from util-linux 2.41 on Ubuntu 26.04 (with sudo-rs 0.2.13) and Debian 13 (with sudo 1.9.16), su from util-linux 2.40 To switch to another user in Linux, run su - username and type that user's password; type exit to return to your own account. Root can su to any user without a... How to uninstall Cloudlinux and covert back to Centos cPanel server? CloudLinux OS is a Linux distribution marketed to shared hosting providers. It uses the OpenVZ kernel and the rpm package manager based on the CentOS operating system.... How to use Magic SysRq tool in CentOS / RHEL? SysRq utility In case your kernel freezes or/and hangs, you can use ‘magic’ SysRq tool. The ‘magic’ SysRq key allows instant access to several essential kernel... How to use btrfs device command to add or delete device to or from btrfs filesystem? Btrfs is an open-source, general-purpose file system for Linux. The name derives from the use of B-trees to store internal file system structures. Different names are... How to use btrfs scrub command to manage scrubbing on Btrfs file systems? You can initiate a check of the entire file system by triggering a file system scrub job. The scrub job runs in the background by default and scans the entire file... How to use rndc command (command-line administration tool for named)? The rndc utility is a command-line tool to administer the named service, both locally and from a remote machine. To prevent unauthorized access to the service, rndc... How to use xfs_admin command to change parameters of an XFS filesystem? Use the xfs_admin command to change the parameters of an XFS file system. You can also use the xfs_admin command to view the file system label and UUID: # xfs_admin... How to work with multiple java versions under Linux? When i installed a new version of the Java Runtime Environment but the "java -version" command does not show the new version. # java -version java version "1.7.0_65"... I/O Errors on an XFS File System: Causes and Fixes Updated 4 November 2026 xfsprogs 6.x on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian 13 "Input/output error" when reading or writing files on XFS means either the disk underneath is failing, or XFS found damaged metadata and shut the file system down to... Installation of Curl on CentOS 8 and How to Use It? Updated 28 September 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 CentOS 8 is end of life. curl transfers data to and from servers (HTTP, HTTPS, FTP, SFTP and more). It is installed by default on Ubuntu 24.04, Debian 12, AlmaLinux 9... Linux ACLs: Set Access Control Lists with setfacl and getfacl Updated 12 October 2026 acl 2.3.2 tested on Debian 13 with Linux 6.12 (ext4 and XFS); the same setfacl and getfacl commands work on Ubuntu 24.04 A Linux ACL (access control list) gives extra users and groups their own permissions on a file or folder, on top of the normal owner, group and others. Add one with... Linux Device Mapper Explained: How to Map dm-N and mapper Devices to the Underlying sdX Disk Updated 4 November 2026 Linux device-mapper with LVM, LUKS and multipath on RHEL 9 and 10, AlmaLinux, Rocky Linux, Debian 13 and Ubuntu; tools c The device mapper is the part of the Linux kernel that builds virtual block devices on top of real disks. LVM logical volumes, LUKS encrypted volumes (dm-crypt) and... Linux Network Bonding Modes Explained: All 7 Modes and How to Configure a Bond with nmcli, netplan and Debian Updated 4 November 2026 Linux bonding driver; NetworkManager 1.54 (AlmaLinux, Rocky Linux and RHEL 9) and 1.58 (CentOS Stream 10, RHEL 10 family Network bonding joins two or more network ports into one logical interface (usually bond0) for redundancy and, in some modes, more total bandwidth. Linux has seven... Linux OS Service vncserver Linux OS Service ‘vncserver’ executes a VNC server daemon, which is used to start a VNC desktop and simplifies the process of starting an Xvnc server. It runs Xvnc... Linux TCP Wrappers: How to Use hosts.allow and hosts.deny to Control Access Updated 22 October 2026 TCP Wrappers is a host-based access control system for network services on Linux. It uses two files, /etc/hosts.allow and /etc/hosts.deny, to permit or block client... List of SELinux Utilities This post lists some of the more commonly used command-line utilities for managing and operating SELinux.   utilities provided by policycoreutils package   The... Loop Devices on Current Linux Kernels: No Fixed Limit, and How to Pre-create More Updated 28 September 2026 Linux kernels 5.14 to 6.x on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, Debian 13 A loop device makes a file, such as a disk image or an ISO, usable as a block device. Older guides for CentOS 5 and 6 explain how to raise a fixed limit of 8 loop... Maintaining Linux filesystems using fsck and tune2fs The best tool for maintaining file systems is fsck, which checks and repairs Linux file systems. By default, fsck runs after 20 system reboots but should be run... Migrate from single-partition boot device to LVM in CentOS7 Updated 28 September 2026 Ubuntu 24.04, Debian 12, AlmaLinux 9 and Rocky Linux 9 CentOS 7 is end of life. Converting a running system from a single root partition to LVM in place means copying the whole system and rebuilding the boot configuration,... MySQL or MariaDB Fails to Start with systemctl: How to Find and Fix the Cause Updated 28 September 2026 MariaDB 10.5 to 11.8 and MySQL 8.0 and 8.4 on AlmaLinux and Rocky Linux 9 and 10, RHEL 9 and 10, Ubuntu 24.04 and 26.04, When systemctl start mariadb (or mysqld, or mysql) fails, systemd only says the job failed. The real reason is in the database's own log. This guide shows where to... Network Teaming on RHEL, AlmaLinux and Rocky Linux: Migrate to Bonding Updated 4 November 2026 AlmaLinux and Rocky Linux 9 and RHEL 9 (teaming deprecated); version 10 (teaming removed); NetworkManager bonding Network teaming (the teamd service) combined several network ports into one, like bonding. On CentOS 7 it was a popular choice. It is now on its way out: RHEL 9 and... OpenLDAP Server and Client Utilities list Lightweight Directory Access Protocol (LDAP) is used to access centrally stored information over a network. LDAP servers store information in a database called a... Oracle ASMLib (oracleasm) Packages for Oracle Linux and RHEL Updated 28 September 2026 Oracle ASMLib 3.1 (oracleasmlib 3.1.3) on Oracle Linux 8, 9 and 10 and RHEL 9 and 10 ASMLib is Oracle's support library for Automatic Storage Management (ASM), the volume manager of Oracle Database. It marks disks for ASM and protects them from being... Running repairs on XFS Filesystems The XFS File system is a high-performance journaling file system. XFS supports a maximum file system size of 500 TB and a maximum file size of 16 TB. You can create an... SFTP Logs in Linux: Where They Are and How to Log Transfers Updated 12 October 2026 OpenSSH 10.2p1 with rsyslog 8.2512 on Ubuntu 26.04 (tested), OpenSSH 9.9p1 with rsyslog 8.2510 on AlmaLinux 10.2 (config There is no separate SFTP log file by default. SFTP logins are logged together with SSH logins: in /var/log/auth.log on Ubuntu, in /var/log/secure on AlmaLinux, Rocky...