Fading Coder

One Final Commit for the Last Sprint

Understanding LD_LIBRARY_PATH in Linux

Setting Dynamic Library Paths via Command Line To configure the dynamic linker search path at runtime, use: export LD_LIBRARY_PATH=$(pwd)/library_dir:$LD_LIBRARY_PATH This command prepends the current directory's library_dir subdirectory to the existing library search path. Key components: export: M...

How to Compile Custom Glibc Versions on Linux

Download the required glibc source release archive from the official GNU glibc FTP repository at https://ftp.gnu.org/gnu/glibc/. Extract the downloaded tarball, create an out-of-tree build directory inside the extracted source folder, and prepare a separate installation target directory to avoid con...

Kernel-Space Load Balancing with Linux Virtual Server

Linux Virtual Server (LVS) operates as a kernel-integrated traffic distribution mechanism designed to pool multiple backend nodes into a unified, highly available cluster. By intercepting incoming network packets at the OSI transport layer, it forwards client requests across real servers using deter...

Java Web Environment Setup on Enterprise Linux

Perrequisites Verify no existing Java installation conflicts: java -version 2>&1 || echo "Java not detected - proceeding with installation" Remove MariaDB libraries to prevent MySQL conflicts: rpm -e --nodeps $(rpm -qa | grep mariadb) 2>/dev/null || true JDK Configuration Deploy...

Essential File Search Commands in Linux: which, whereis, locate, and find

which: Locating Executable Files which searches for executable files within the directories specified in the PATH environment variable. It returns the full path of the first matching executable. which ls # Outputs the path to the ls executable which -a ls # Lists all ls executables found in PATH whe...

Implementing LVS Direct Routing Mode with Configuration Examples

LVS (Linux Virtual Server) operates on a three-tier architecture: the load balancer, server pool, and shared storage. The load balancer directs client requests to servers in the pool, presenting a single virtual IP (VIP) address. Servers in the pool handle actual requests, while shared storage ensur...

Advanced Text Processing with AWK and Sed Commands in Linux

AWK and Sed are powerful command-line utilities for manipulating and analyzing text data in files or streams. This guide covers their core functionalities with practical examples. AWK Command Overview AWK is a pattern scanning and processing language deisgned for text extraction and reporting. It op...

Creating and Configuring LVM Logical Volumes on Linux

To begin, examine the current disk configurasion using fdisk -l. This command lists all available disks and their partitions. For example, you might see output similar to: Disk /dev/sdb: 500 GB, 500000000000 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 822528...

Configuring Docker Service and Containers for Automatic Restart on Linux System Boot

To maintain application continuity after system reboots, it is essential to configure both the Docker service and individual containers to restart automatically. This guide covers the necessary steps for setting up automatic restarts in a Linux environment. Configuring Docker Service for Automatic S...

Configuring Network Interface Bonding in Linux

Network interface bonding in Linux aggregates multiple physical network interfaces into a single logical interface too enhance bandwidth, load balancing, and redundancy. This technique is essential in complex network environments for improving performance and availability. Linux supports several bon...