Fading Coder

One Final Commit for the Last Sprint

Running Ubuntu Through WSL on Windows: Essential Commands and Tool Setup

WSL Command Reference wsl # Launch Ubuntu shell wsl --list # Show installed Linux distributions wsl --shutdown # Terminate all Linux instances wsl -l -v # Display version and state of each distribution Core Linux File Commands Directory Navigation cd /home/user # Navigate to specified home directory...

Docker Deployment and Management Fundamentals

Prerequisites and Installation Verify system requirements before procedeing. Docker Engine relies on specific kernel features (Linux 3.10+ for Centos 7). Environment Verification # Check kernel version uname -r # Confirm OS details cat /etc/os-release Setup Process Access the official documentation...

Implementing High Availability with Keepalived and VRRP

Keepalived Overview Keepalived is a routing software written in C that provides load balancing and high availability capabilities for Linux systems and Linux-based infrastructures. The software achieves two primary functions: Load Balancing - Distributes network traffic across multiple servers High...

Methods to Skip SSH Initial Host Key Confirmation and Automate Password Input

When establishing an SSH connection to a remote server with the ssh <remote_user>@<host_ip> command, two interactive prompts typically appear for first-time access: a host key verification prompt requiring manual entry of "yes", followed by a password input prompt for the remot...

Creating and Using Shared Libraries (.so) on Linux

Creating and Using Shared Libraries (.so) on Linux Overview A shared library, known as a dynamic linking library in Linux, is a file that can be loaded into memory at runtime rather than being linked during compilation. This approach reduces executable size and enables centralized updates of librari...

Deploying Apache Tomcat Workloads on Docker Hosts

Package Management For RHEL and CentOS systems, invoke the package manager: yum install docker -y Debian and Ubuntu distributions utilize the following commands: apt-get update && apt-get install docker.io -y Resolving Dependency Locks If installation halts due to repository conflicts, ident...

Configuring Image Paths in Java Applications on Linux Systems

Configuring Static Asset Paths in Spring Boot Applications When deploying Java applications on Linux servers, properly handling paths for static resources like images is essential for reliable operation. This guide covers the standard approach for configuring and accessing image resources in a Sprin...

CPU Context Switching and Linux Scheduler Queues

Registers and Process Context Consider a basic C function: int calculate_total(int a, int b) { int result = 0; result = a + b; return result; } int main() { int value = calculate_total(5, 7); return 0; } Local variables on the stack disappear after the function returns. The fact that callers can sti...

Essential Linux System Commands and Operations

CPU Information Checking CPU Architecture # Determine if the system is 32-bit or 64-bit getconf LONG_BIT Verifying 64-bit Support cat /proc/cpuinfo | grep flags | grep ' lm ' | wc -l Displaying CPU Details lscpu Example Output - 4 cores, 4 threads: Architecture: x86_64 CPU(s): 4 Thread(s) per core:...

Venus CTF Walkthrough: Missions 1-50 from HackMyVM

Venus CTF Walkthrough: Missions 1-50 from HackMyVM
Introduction The Venus VM is suitable for beginners starting CTF and wanting to practice Linux skills. Target URL: https://hackmyvm.eu/venus/ There are 50 missions, submitting these 50 flags counts as completion. (Currently, the top-ranked player has submitted 58 flags.) Login: ssh hacker@venus.hack...