Handling Signals and Message Queues for Inter-Process Communication

Handling Standard Signals #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <signal.h> void signal_handler(int sig_num) { if (sig_num == SIGINT) { printf("Ctrl+C signal received\n"); } } int main(void) { // Set SIGINT to be ignored if (signal(SIGINT, SIG_IGN) == SIG_E ...

Posted on Tue, 04 Aug 2026 16:58:24 +0000 by phyzar

Installing and Configuring Jenkins on Linux Systems

System Prerequisites Before installing Jenkins, ensure your Linux environment has the necessary Java Runtime Environment (JRE) or Java Development Kit (JDK). Modern versions of Jenkins (starting from 2.357 and LTS 2.361.1) require Java 11 or Java 17. Installing JDK 17 The following script automates the download and configuration of OpenJDK 17. ...

Posted on Tue, 04 Aug 2026 16:05:16 +0000 by ganeshcp

Linux Server Shutdown and Reboot Commands: Complete Guide

Managing Linux Server Power States Linux servers offer multiple command-line options for shutting down and restarting the system. While cloud management consoles provide graphical interfaces, experienced administrators typically prefer terminal commands for faster and more precise control. shutdown Command The shutdown utility provides comprehe ...

Posted on Mon, 03 Aug 2026 16:47:43 +0000 by eatc7402

Configuring Linked Clones and KVM Virtualization Setup

Resetting Network Interface Rules To properly configure network interfaces for cloned virtual machines, you'll need to clear and regenerate the udev persistent network rules: # Clear existing network rules # rm -f /etc/udev/rules.d/70-persistent-net.rules # Reload network module # rmmod e1000 && modprobe e1000 KVM Virtualization Inst ...

Posted on Sun, 02 Aug 2026 16:26:49 +0000 by phpfolk2003

High-Performance UDP Service Implementation with Netty on Linux

Introduction Recently, I implemented a UDP packet processing feature using Netty for statistical analysis of business data. Since Netty's default UDP handling relies on a single thread, unlike TCP's master-slave reactor model that supports multi-threading, I explored whether there were performance optimization techniques available for UDP packe ...

Posted on Sat, 01 Aug 2026 17:06:34 +0000 by andreea115

Setting Up Python 3.7.2 and Related Services on CentOS 7

Install System Dependencies Update the system and install required development libraries and tools: yum -y update yum -y install gcc openssl-devel zlib-devel readline-devel libffi-devel bzip2-devel mysql-devel python-devel java wget git redis nginx supervisor Enable services to start automatically after a reboot: syst ...

Posted on Sat, 01 Aug 2026 16:54:54 +0000 by charp

Zabbix Monitoring Setup and Usage Guide

Monitoring Fundamentals 1. Hardware Monitoring Inspects data center equipment, remote management cards, and IPMI. 2. System Monitoring CPU Load: Use uptime (target < 3), top (ideal 30%-70%), vmstat, mpstat. Memory: Use free -m (utilization should be < 80%). Disk: Use df, iotop (for I/O process monitoring), iostat. Network: Use iftop -n. ...

Posted on Sat, 01 Aug 2026 16:11:01 +0000 by Hagbard

Compiling MySQL 8 from Source on CentOS 7

This guide outlines the process of installing MySQL 8 by compiling its source code on a CentOS 7 system. Source compilation provides maximum control over the installation and optimization. 1. System Environment Overview Before beginning, verify the operating system details. The instructions are tailored for CentOS 7. [root@host ~]# cat /etc/red ...

Posted on Fri, 31 Jul 2026 16:43:22 +0000 by KevinMG

Fundamental Shell Navigation and File Management Commands

Working Directory Navigation Use pwd to output the absolute path of the active terminal session. Directory traversal relies on cd. Common navigation patterns include: cd /var/log: Absolute path navigation. cd logs/: Relative path to a subdirectory. cd ~ or cd: Return to the home directory. cd ~admin: Jump to another specific user's home (requi ...

Posted on Fri, 31 Jul 2026 16:21:12 +0000 by recycles

Building Custom OpenWrt Firmware from Source

OpenWrt is a highly extensible, Linux-based operating system tailored for embedded networking devices. Unlike vendor-supplied firmware, it offers a fully writable filesystem and a package management system, allowing users to customize their devices extensively. This guide outlines the process of setting up a build environment and compiling a cu ...

Posted on Thu, 30 Jul 2026 16:37:50 +0000 by cortez