Fading Coder

One Final Commit for the Last Sprint

Firewall Rule Management Across CentOS and Ubuntu Environments

Network traffic filtering on RHEL-based distributions is handled by firewalld, which organizes rules into zones and requires explicit synchronization between permanent and runtime configurations. Verify the daemon's current state: systemctl is-active firewalld Initialize the service and configure it...

Deploying a LAMP Stack on Ubuntu Server

Establishing Remote Access and Privileged Users Connect to the target machine via SSH using your terminal: ssh <username>@<server_ip_address> # Example: ssh admin@10.0.0.55 Operating directly as the root user is discouraged. Create a dedicated administrative account and grant it elevated...

Docker Installation on Ubuntu and Essential Commands Guide

Installing Docker on Ubuntu Updating apt package index sudo apt-get update Installing dependencies for HTTPS-based repositories sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ software-properties-common Adding Docker's official GPG key curl -fsSL https://download.docker.com/lin...

Complete Guide to Installing and Uninstalling MySQL on Ubuntu and Windows

Uninstalling MySQL on Ubuntu First, remove MySQL packages: sudo apt-get remove mysql-* Then clean up residual configuration files: dpkg -l | grep ^rc | awk '{print $2}' | sudo xargs dpkg -P A dialog may appear; select "Yes" to confirm. Installing MySQL on Ubuntu You can install MySQL using...

Comprehensive Ubuntu System Administration and Configuration Guide

Setting Up Chinese Input Suport Language Pack Installation To enable localized support, install the necessary language packages: sudo apt update sudo apt install language-pack-zh-hans Alternatively, access the GUI Settings menu, navigate to Region & Language, and select Install/Remove Languages....

Installing NVIDIA GPU Drivers on Ubuntu

Identify Your GPU Open a terminal and run one of the following commands: lspci | grep -i vga # or lspci | grep -i nvidia The output will include your GPU model. For example: 01:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660 SUPER] (rev a1) Download the Correct Driver Visi...

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...

Installing and Configuring Redis on Ubuntu

Installing Redis Server To install Redis on Ubuntu, use the following command: sudo apt-get install redis-server After installation, the Redis server will start automatically. Verify that the Redis server is running by checking its process: ps -aux | grep redis You should see output similar to: redi...

Setting Up and Using a 3Dconnexion SpaceMouse on Ubuntu with Python and Robosuite

The official 3Dconnexion Linux drivers have not been updated since 2014. Instead, use the open-source spacenav project available at https://spacenav.sourceforge.net/. Install spacenavd First, install required system dependencies: sudo apt install libxext-dev libxrender-dev libxmu-dev libxmuu-dev lib...

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...