Configuring Persistent Disk Mounting on Ubuntu
1. Identify the Target DiskUse the lsblk or fdisk utility to list available block devices and identify the correct drive identifier.lsblk
# or
sudo fdisk -l
2. Create a FilesystemIf the disk is unformatted, create a new filesystem. The following example formats the partition /dev/sdc1 using the ext4 filesystem.sudo mkfs.ext4 /dev/sdc1
3. Create ...
Posted on Tue, 19 May 2026 03:22:02 +0000 by sarabjit
Linux CPU Performance Monitoring
Linux CPU Performance Monitoring
1.0 Performance Monitoring Overview
Performance optimization involves identifying and eliminating system bottlenecks. Many administrators believe that performance optimization can be achieved by following "cookbook" solutions, often through kernel configuration adjustments. However, these generic solutions don ...
Posted on Mon, 18 May 2026 04:33:30 +0000 by evil turnip
Understanding Systemd: The Modern Linux System and Service Manager
The Evolution of Init: The Comprehensive Systemd
The Evolution of Init and Full-Featured Systemd
1.1 Three Major Versions of Init in Linux Systems
The first user-space process started by the kernel is init. Linux systems have primarily used three versions of init:
System V init (SysV traditional sequential startup, now outdated) - configura ...
Posted on Mon, 18 May 2026 01:56:34 +0000 by saeed99
5 Methods to Clear File Contents in Linux
Using Standard Redirection
The most straightforward way to empty a file is by using the shell redirection operator > without a preceding command. This truncates the file to zero length immediately.
> server.log
Using the Colon or True Command
The : (colon) is a shell built-in command that does nothing and returns a success status ...
Posted on Sun, 17 May 2026 19:53:20 +0000 by TheMoose
Achieving High Availability for Ceph Cluster Management Nodes
Management High Availability OverviewTo ensure robust administration capabilities, a Ceph cluster requires multiple management nodes. Relying on a single management node creates a single point of failure; if that node goes down, cluster administration becomes impossible. Administrative access is generally divided into two categories: web dashbo ...
Posted on Sat, 16 May 2026 16:47:11 +0000 by Wildthrust
Deploying Apache Hive 2.3.6 on Hadoop 2.10.0
Binary Extraction and Setup
Acquire the Apache Hive 2.3.6 binary archive from the official distribution repository. Extract the contents to a standard application directory and establish a symbolic link for simplified version management.
tar -xzf apache-hive-2.3.6-bin.tar.gz -C /usr/local/
cd /usr/local
sudo ln -s apache-hive-2.3.6-bin hive
E ...
Posted on Fri, 15 May 2026 00:46:07 +0000 by Hardwarez
Essential Linux File Management Commands
Creating Files with touch
Syntax
touch [options] filename
Key Options
Option
Description
-m
Update modification timestamp
-d
Set specific datetime
Examples
# Create file in current directory
$ touch example.txt
# Create file with absolute path
$ touch /tmp/sample.txt
# Create multiple files
$ touch file1.txt file2.txt file3.txt
$ ...
Posted on Thu, 14 May 2026 23:14:51 +0000 by richinsc
NetBox 4.0 Deployment and Chinese Language Pack Integration
System Environment Preparation
This procedure utilizes a minimal installation of Rocky Linux 9. Ensure SELinux is disabled and the firewall is stopped to simplify the initial deployment.
systemctl disable --now firewalld
sed -i 's/^SELINUX=enforcing$/SELINUX=disabled/' /etc/selinux/config
setenforce 0
PostgreSQL Database Configuration
Install ...
Posted on Wed, 13 May 2026 06:45:23 +0000 by 8mycsh
Restoring a Degraded RAID 5 Array with MegaCLI
1. Physical Drive InventoryTo recover a RAID 5 configuration after a disk failure or hardware relocation, execute the following command to list the status of all physical drives attached to Adapter 0. Ensure that application I/O is halted during this process to prevent data corruption.MegaCli -PDList -a02. Identifying the Failed DriveScan the o ...
Posted on Tue, 12 May 2026 23:45:37 +0000 by mordeith
Comprehensive Firewall Policy Management and System Optimization Guide
Establishing a Robust Firewall Policy FrameworkTo mitigate evolving network threats and safeguard brand reputation, organizations must implement a structured firewall strategy. A comprehensive security posture involves several critical layers: ingress and egress traffic filtering, application-level gateways, user behavior analytics, and schedul ...
Posted on Mon, 11 May 2026 04:03:28 +0000 by vegnadragon