Switching to Root User su Removing Previous Docker Versions If Docker is already installed on the system, first remove the existing version: yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ docker-engine Configuri...
Docker packages applications along with their runtime dependencies into portbale, isolated units—enabling consistant execution across environments. Its architecture draws inspiration from physical containerization: each container opeartes independently, with strict process and filesystem boundaries...
File Content Viewing and Concatenation The cat command is primarily used to display the contents of a file to the standard output. It reads the file sequentially and writes the data to the terminal. Since Linux treats files as collections of attributes and content, cat specifically targets the cont...
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...
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...
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...
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 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...
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 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...