Becoming a Pro: Linux Software Installation Guide No. 27 – Setting Up a Private Docker Registry

Installation 1. Pull the private registry image docker pull registry 2. Start the private registry container docker run -di –name=registry -p 5000:5000 registry 3. Check Open a browser and enter the address http://ip:5000/v2/_catalog. You should see `{“repositories”:[]}` indicating that the private registry has been successfully set up and is currently empty. 4. Configure the Docker … Read more

A Guide to Sharding-JDBC: Quick Start for Linux Software Installation – Article 37

Background Previously, there were no users for sharding. Today, I felt inspired to give it a try. Background Previously, there were no users for sharding. Today, I felt inspired to give it a try. Preparation Work 1. Create Database and Tables CREATE DATABASE `order_db` CHARACTER SET 'utf8' COLLATE 'utf8_general_ci';DROP TABLE IF EXISTS `t_order_1`; CREATE TABLE … Read more

In-Depth Analysis of OpenWrt: The ‘Swiss Army Knife’ of Embedded Linux and Its Competitive Edge Over Buildroot/Yocto in Enterprise Applications

Introduction: The Fragmentation Dilemma of Embedded Systems In fields such as the Internet of Things, smart homes, and industrial control, embedded devices are experiencing exponential growth. However, developers often face two major challenges: 1. Hardware Fragmentation: The coexistence of ARM, MIPS, x86, and other architectures leads to high adaptation costs. 2. Function Customization: From network … Read more

Treating Bugs as Features is Absurd! Linus Torvalds Criticizes Case-Insensitive Filesystems: A Major Mistake

In the open-source community, Linus Torvalds’ outbursts always seem to trigger a “small earthquake”.Recently, the father of Linux has once again fired back— this time, targeting a long-standing issue in filesystem development: case insensitivity (case-insensitive, meaning it does not distinguish between uppercase and lowercase characters). He not only criticized this design as a “huge mistake,” … Read more

Becoming a Pro: Linux Software Installation Guide Part 000000004 – Configuring Network and Hostname on CentOS

Introduction CentOS (Community Enterprise Operating System) is one of the Linux distributions, which is free, open-source, and redistributable open-source operating system [1]. The CentOS Linux distribution is a stable, predictable, manageable, and reproducible platform, derived from Red Hat Enterprise Linux (RHEL) and compiled from source code released under the open-source (mostly GPL open-source license) [2]. … Read more

The Impact of a Missed Letter on Linux Since 1969

Set Script Home as “Starred⭐” to receive article updates immediately Source | Virtual Machine (ID: vmachine) You may be curious about some system calls in Linux, such as creat instead of create and umount instead of unmount. On page 204 of the book UNIX Programming Environment by Brian Kernighan and Rob Pike, the following footnote … Read more

Comprehensive Analysis of the find Command: Mastering the Powerful Tool for Linux File Search

<span>find</span> command is a powerful tool in Unix and Unix-like systems (such as Linux) used to search for files and directories within a directory tree. It offers various options for complex searches, allowing filtering based on file name, type, time, size, and more. Below is a detailed introduction to the <span>find</span> command, including commonly used … Read more

Analysis of Packet Loss Issues in Linux Server Network Interfaces – Final Part

Previously, an article analyzed the reasons for packet loss in bonded network interfaces and their solutions. This article will detail the root causes of packet loss in bonded network interfaces and dynamically analyze the kernel using the bpftrace tool. We will also use dropwatch to observe packet loss in the kernel: Packet loss occurs in … Read more

Getting Started with ROS2: Installing ROS2 Dashing on Linux using APT

Description Installing ROS2 Dashing using APT in a Linux environment Test environment: Ubuntu 18.04 + ROS2 Dashing Installation Steps Set the language environment $ sudo locale-gen en_US en_US.UTF-8 $ sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 $ export LANG=en_US.UTF-8 Add the key $ sudo apt update && sudo apt install curl gnupg2 lsb-release $ curl http://repo.ros2.org/repos.key | sudo … Read more

Introduction to Hibernate and Sleep Functions in Linux Power Management

Original:https://mp.weixin.qq.com/s/8tBqZ3G7reXkHOXj4rxMMA 1. Introduction The Hibernate and Sleep functions are core features of Linux Power Management (PM), and their purposes are similar: pause usage —> save context —> power off the system to save energy········> restore the system —> restore context —> continue usage. This article introduces these two functions from the perspective of the interfaces … Read more