Disabling and Managing Graphical Interfaces on CentOS Systems
Managing Graphical Interfaces in CentOS 6.x
In older distributions like CentOS 6, system states are managed via runlevels. Runlevel 3 represents a multi-user command-line environment with networking, while runlevel 5 includes the X Window System for graphical output.
Temporary Runlevel Switching
To drop from a graphical session to a terminal-on ...
Posted on Sat, 08 Aug 2026 16:25:35 +0000 by drewbee
Installing and Managing ZFS File Systems on CentOS 7
Creating Storage Pools
The zpool create command allows creating mirrored configurations using multiple drives:
zpool create [pool_name] mirror [device1] [device2] ...
Multiple mirror groups can be established by repeating the mirror keyword:
[root@server ~]# zpool create -f datapool mirror sdc sdd mirror sde sdf
[root@server ~]# zpool status
p ...
Posted on Tue, 04 Aug 2026 16:49:48 +0000 by Litninfingers63
Implementing High Availability with MariaDB Galera Multi-Master Cluster
Infrastructure Overview
In this deployement, we utilize three Linux instances to form a resilient multi-master MariaDB cluster. This setup ensures data consistency and high availability across all nodes.
Node Hostname
IP Address
Role
galera-01
10.32.161.131
Cluster Node
galera-02
10.32.161.132
Cluster Node
galeera-03
10.32.161.133
Cl ...
Posted on Sun, 19 Jul 2026 17:06:36 +0000 by skyer2000
Automating Remote File Synchronization with Sersync and Rsync on CentOS
Implementing Real-time File Synchronization with Sersync and Rsync
This guide details the implementation of a real-time file synchronization solution using Sersync and Rsync on CentOS systems. This setup allows for automatic synchronizasion of local file modifications to a remote directory, making it ideal for backup solutions and content mirro ...
Posted on Sun, 12 Jul 2026 17:18:03 +0000 by Ravenous
Deploying Docker Engine on Ubuntu 20.04
Overview of Docker Containerization
Docker functions as an open-source platform designed for containerization, facilitating the build, test, and deployment processes. Applications are packaged into movable containers that include all necessary dependencies, ensuring consistent execution across different environments. This technology is integral ...
Posted on Sun, 12 Jul 2026 16:24:14 +0000 by rmbarnes82
Practical Linux Shell Scripting Scenarios
This script gathers essential server metrics, including the hostname, network details, OS version, kernel data, CPU specifications, and memory capacity. It utilizes color codes to improve output readability.
#!/bin/bash
# Filename: server_status.sh
# Define color variables for terminal output
COLOR_RESET='\033[0m'
COLOR_HEADER='\033[1;36m'
COL ...
Posted on Fri, 10 Jul 2026 17:07:34 +0000 by w4seem
Practical Bash Scripts for Linux System Administration and Automation
CPU Utilization Threshold Alert
Monitor processor load and trigger a notification when usage exceeds a defined limit. This implementation calculates active CPU time by subtracting the idle percentage reported by top.
#!/usr/bin/env bash
ALERT_LIMIT=75
CURRENT_LOAD=$(top -bn1 | awk '/^%Cpu/ {print 100 - $8}')
if awk "BEGIN {exit !($CURR ...
Posted on Sun, 10 May 2026 20:45:50 +0000 by Courbois
Real-Time File Synchronization Using inotifywait and rsync
Real-Time Directory Synchronization
In production environments, maintaining consistent file states across multiple servers is critical. A common requirement involves continuously mirroring changes from a primary directory—such as an NFS export—to a designated path on a backup server.
Core Synchronization Approach
Two widely adopted methods enab ...
Posted on Fri, 08 May 2026 00:23:39 +0000 by hazel999