Essential Linux System Administration Commands
Disk Partition Analysis
To identify which partition a specific directory resides on, utilize the df command with the -h flag for human-readable output. For example, to determine the partition containing the /var directory:
[root@server ~]# df -h /var
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_system-lv_root 50G ...
Posted on Mon, 01 Jun 2026 17:47:32 +0000 by duelist
Understanding Docker Networking and Linux Network Namespaces
Docker's networking capabilities rely on Linux kernel virtualization technologies, particularly network namespaces, virtual Ethernet devices, bridges, and iptables.
Network Namespace Isolation
Linux network namespaces provide isolated network protocol stacks, enabling different network environments on a single host. Each namespace maintains its ...
Posted on Mon, 01 Jun 2026 16:15:08 +0000 by Peredy
Setting Up a Virtual Desktop on Linux with TigerVNC for Remote GUI Applications
When managing a remote Linux server, running graphical user interface (GUI) applications can be challenging, especially if the physical console is in use or direct graphical access is not feasible. Traditional X11 forwarding over SSH can often be plagued by performance issues, particularly across high-latency networks, making tasks like install ...
Posted on Mon, 01 Jun 2026 02:12:31 +0000 by memotype
Installing MySQL 5.7.28 on CentOS 7
MySQL is a widely used open-source relational database. Installation steps can vary between versions; this guide details the process for MySQL 5.7.28.
Obtain MySQL 5.7.28 from the official archives. Download the 64-bit Linux version:
wget https://downloads.mysql.com/archives/community/mysql-5.7.28-linux-glibc2.12-x86_64.tar.gz
Remove exist ...
Posted on Mon, 01 Jun 2026 00:02:44 +0000 by michaelphipps
Understanding Cron Expression Syntax
Simple string combinations can produce remarkable results. This holds true for regular expressions and the cron scheduling system alike. Both appear deceptively straightforward, yet improper usage can lead to amusing—or disastrous—outcomes. For instance, I once attempted to schedule a task to run every four hours and wrote the following express ...
Posted on Sun, 31 May 2026 22:07:12 +0000 by nikneven
Understanding I/O Multiplexing with select in Linux Network Programming
Introduction to I/O Multiplexing
In traditional I/O models, functions like read() and write() handle both the waiting phase and the data transfer phase of I/O operations. Since I/O efficiency is primarily determined by waiting time, a new paradigm emerged: delegate the waiting process to a dedicated mechanism that monitors multiple file descrip ...
Posted on Sat, 30 May 2026 20:53:47 +0000 by CavemanUK
Understanding IOMMU Groups and Domains in Linux
The Input/Output Memory Management Unit (IOMMU) is a hardware component that enables memory protection and address translation for Direct Memory Access (DMA) operations initiated by peripheral devices. By enforcing isolation between devices and system memory, the IOMMU enhances both security and performance.
In Linux, IOMMU groups represent the ...
Posted on Fri, 29 May 2026 23:30:59 +0000 by jefrat72
Efficient Vim Configuration and Plugin Management
Vim is a highly efficient text editor that supports extensive customization through plugins and configuration files. The primary configuration is handled via the .vimrc file located in the user's home directory (~/.vimrc). Below is a robust configuration setup that utilizes Vundle for plugin management, along with optimized settings for code de ...
Posted on Thu, 28 May 2026 19:42:40 +0000 by wsantos
Linux Daily Operations: Firewall, Port Management, and Process Queries
Firewall Management
Check firewall status:
systemctl status firewalld
Start firewall:
systemctl start firewalld
List all firewall rules and open ports:
firewall-cmd --list-all
Open a specific port (e.g., 8080/tcp):
firewall-cmd --add-port=8080/tcp --permanent
Reload firewall to apply changes:
firewall-cmd --reload
Verify if a port is open: ...
Posted on Thu, 28 May 2026 16:42:32 +0000 by HuggieBear
Deploying Swagger Editor with Docker on Linux and Enabling Remote Collaboration Without Public IP
Deploy Swagger Editor with Docker
Docker simplifies deployment by handling dependencies automatically. Begin by pulling the Swagger Editor image from the Docker registry.
docker pull swaggerapi/swagger-editor
Launch the container, mapping its internal port 8080 to a host port of your choice, such as 8088.
docker run -p 8088:8080 -d swaggerapi/ ...
Posted on Wed, 27 May 2026 22:07:19 +0000 by AV