Fading Coder

One Final Commit for the Last Sprint

Configuring CentOS 7 Virtual Machines on VMware Workstation

Prerequisites and Initial Setup To begin, ensure you have VMware Workstation installed and a CentOS 7 ISO image available. When creating a new virtual machine, follow the standard wizard prompts. If the installation fails due to an Intel VT-x error, access your computer's BIOS/UEFI setings, locate t...

Deploying Python 3.9 on Offline CentOS Servers

Deploying applications in an isolated network environment requires preparing all necessary assets on a connected machine before transferring them. This guide outlines the procedure for setting up a Python 3.9 environment and project dependencies on an offline CentOS server.Phase 1: Resource Preparat...

Essential Git Commands for Enterprise Engineering Teams

Git serves as the industry-standard distributed version control system. It enables collaborative development across multiple machines, allowing teams to maintain consistent repositories while integrating changes safely. Unlike centralized systems such as SVN, Git allows every developer to have a ful...

Strategies for Creating an Offline APT Repository on Ubuntu

Building a robust offline package repository is crucial for managing software installations in air-gapped environments or on servers with limited internet access. This approach ensures that all necessary dependencies are available locally, preventing installation failures and maintaining consistency...

Configuring a Hadoop Runtime Environment

Base Virtual Machine ConfigurationProvision a base virtual machine with 4GB RAM, 50GB hard disk, hostname node00, and IP address 10.0.2.100.Ensure the VM has internet connectivity before using package managers:[root@node00 ~]# ping google.com PING google.com (142.250.190.46) 56(84) bytes of data. 64...

Upgrading the Linux Kernel on CentOS 7 and CentOS 8

Overview The default kernel shipped with CentOS 7 and CentOS 8 is often older then what modern applications require. This guide covers two methods for upgrading the Linux kernel: using the ELRepo repository package manager, or manually installing RPM packages. Warning: Kernel upgrades require carefu...

Running a Python Script as a Linux Systemd Service

To run a Python script continuously in the background on a Linux system, you can register it as a systemd service. This approach ensures automatic startup on boot and recovery after unexpected termination. Prerequisites Ensure you have a working Python script. For this example, assume the script is...

Linux Process Virtual Address Space: Mapping and Management

Memory Regions of a Process When studying dynamic memory management in C/C++, we often categorize the address space into several logical regions: stack, heap, data segment (BSS, initialized data), and text (code). However, these addresses are not physical memory addresses. Consider the following exa...

Linux File Discovery Utilities

Real-Time File Searching with findThe find command performs an exhaustive, real-time traversal of the filesystem hierarchy, evaluating files based on specified criteria.Search CriteriaName Matching: -name for case-sensitive matches and -iname for case-insensitive matches.find /usr/local -name "*.cfg...

Configuring Network Services and SSH Key Authentication on Linux

1. Gateway Server and Host Configuration Set up gateway server with dual NICs: ens36: 12.0.0.254/24, ens33: 192.168.241.254/24. Server1 uses 192.168.241.0/24. PC1 and Server2 obtain IP via DHCP. Enable remote SSH access (e.g., Xshell) to Server1 and the gateway. Adjusting Network Interfaces On the g...