Fading Coder

One Final Commit for the Last Sprint

Creating Soft and Hard Links with ln in Linux

In Linux, every file is associated with an inode—an index node storing metadata such as size, timestamps, ownership, and a pointer to the actual data blocks. The inode serves as the true identifier for a file; filenames are merely references. File contents reside in data blocks referenced via their...

Running Backend Services Persistently with nohup and Managing Python Threads

When deploying applications to production servers, ensuring that backend services remain running continuously is a critical operational concern. This guide covers two essential techniques: using the nohup command to maintain service persistence and managing thread execution modes in Python applicat...

Deploying MySQL Database Services on Linux

MySQL functions as a scaalble relational database engine optimized for web environments and enterprise applications. Its architecture utilizes multiple storage engines, such as InnoDB for transactional integrity and MyISAM for read-heavy workloasd. By leveraging standard SQL protocols, it interfaces...

Configuring NOI Linux for Competitive Programming

System Setup Setting up a productive environment on NOI Linux requires several key modifications. First, configure language settings and update package sources. The system includes backup source lists, making it easy to switch repositories using sudo cp. Install additional software packages includin...

Deploying and Removing RabbitMQ on Linux Systems

Deployment Steps Configure Repository Integrate the official package source for Debian-based distributions: echo 'deb http://www.rabbitmq.com/debian/ testing main' | sudo tee /etc/apt/sources.list.d/rabbitmq.list Add Signing Key Fetch and register the GPG key to authenticate packages: wget -O- https...

Configuring and Deploying Windows Subsystem for Linux on Windows 10

The Windows Subsystem for Linux (WSL) provides a compatibility layer for running native Linux ELF64 binaries directly on Windows 10. This integration allows developers to utilize Linux command-line tools and applications without the overhead of a traditional virtual machine. Activating Developer Mod...

Implementing the ping Command in C on Linux

ICMP Packet Structure and Transmission The Internet Control Message Protocol (ICMP) operates at the network layer and functions as a support protocol for IP. ICMP messages are encapsulated within IP datagrams, where the IP header precedes the ICMP header and payload. An ICMP packet consists of an IP...

Managing Firewall Ports on Linux with iptables, firewalld, and ufw

Managing Ports on CentOS Control the firewalld service daemon: # Activate the firewall service systemctl start firewalld.service # Deactivate the firewall service systemctl stop firewalld.service # Check current service status systemctl status firewalld Using iptables (CentOS/RHEL 6) To permit traff...

Detailed Guide to Linux Inter-Process Communication

Overview of Inter-Process Communication IPC Objectives Data Transfer: Send data from one process to another Resource Sharing: Allow multiple processes to access shared resources Event Notification: Alert one or more processes of system or application events (e.g., a parent process receiving notifica...

Linux System Installation and Server Hardware Components Explained

Server systems are generally categorized into physical and virtual deployments. Physical servers vary in form factor: Rack-Mount Servers: Designed for installation in standard 19-inch server racks. Common sizes include 1U, 2U, 4U, where 'U' (rack unit) is 1.75 inches (4.45 cm) in height. They offer...