Dockerfile Guide: Easily Create Your Own Docker Image!

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇 Join the technical exchange QQ group with 1000 members, remark 【Official Account】 for faster approval 1. Basic Structure and Common Instructions of Dockerfile FROM – Specify Base Image FROM ubuntu:20.04 This instruction sets Ubuntu 20.04 as the base image. RUN – Execute Command … Read more

Building a Portable PyPI Server with Raspberry Pi

Building a Portable PyPI Server with Raspberry Pi

In this article, I will discuss how to clone the PyPI repository onto a Raspberry Pi and provide content so that connected devices can install dependencies using the <span>pip install</span> command without an internet connection. Objective There are many ways to create your own PyPI mirror, and my method may be suitable for everyone now. … Read more

How to Set Up a Raspberry Pi as a Personal Server

How to Set Up a Raspberry Pi as a Personal Server

Source | Peng Xiaodai Link | segmentfault.com/a/1190000021143144 No.1 What is Raspberry Pi? Raspberry Pi (Chinese name: 树莓派, abbreviated as RPi or RasPi) is a microcomputer designed for learning computer programming, about the size of a credit card, and its system is based on Linux. With the release of Windows 10 IoT, we can also run … Read more

How to Set Up a Personal Server That Runs Permanently

How to Set Up a Personal Server That Runs Permanently

Click the "Little White Learns Vision" above, choose to add "star" or "top" Heavy dry goods, delivered at the first time Editor: Chinese Sister | Source: segmentfault.com/a/1190000021143144 1. Introduction During this period, I came across something called Raspberry Pi. After a preliminary understanding, I found it very interesting, so I wanted to record the whole … Read more

Comprehensive Guide to Common Linux Commands

Comprehensive Guide to Common Linux Commands

1. Nginx Related Commands Check Nginx Status ps -ef|grep nginx Start Nginx cd /usr/local/nginx/sbin/ ./nginx Restart Nginx After Modifying Configuration File cd /usr/local/nginx/sbin/./nginx -s reload 2. Common Docker Commands View All Containers, Including Running and Stopped docker ps -a View All Running Containers docker ps Start a Stopped Container docker start ContainerNameOrID Restart a Container … Read more

Configure Application or Script to Start on Boot in Linux

Configure Application or Script to Start on Boot in Linux

Introduction Configuring applications or scripts to start automatically on boot in a Linux system is a common requirement. Whether for critical services in a server environment or for frequently used tools on a personal computer, proper configuration can achieve automated startup, enhancing system availability and convenience. This article will detail how to use Systemd to … Read more

Chaos Engineering Practice: Fault Injection Testing for Distributed Architectures

Chaos Engineering Practice: Fault Injection Testing for Distributed Architectures

 Tip:Click the above“Our Happiness“↑Follow Us Written by/Qin Hongyan, Shu Zhaoxin 1. What is Chaos Engineering With the development of microservices and cloud-native technologies, distributed systems have become prevalent in the industry, but they also bring many challenges, such as: (1) Distributed systems are increasingly large, making it difficult to assess the impact of a … Read more

FastCGI: Making C Language Shine in Web Development

FastCGI: Making C Language Shine in Web Development

Hello everyone! Today I want to share a particularly interesting topic – FastCGI. Are you still worried that C language cannot develop web applications? With FastCGI, C language can easily handle web development! Let’s explore this powerful interface protocol together. What is FastCGI? FastCGI is an upgraded version of CGI (Common Gateway Interface), allowing C … Read more

Raspberry Pi System Configuration Guide

Raspberry Pi System Configuration Guide

The Raspberry Pi system is based on the Debian system, so the configuration of the Raspberry Pi system is no different from that of the Debian system. Replace the apt source [^1] # Backup the current apt source cp /etc/apt/sources.list /etc/apt/sources.list.bak # Change to use Aliyun's source cat > /etc/apt/sources.list << EOF deb https://mirrors.aliyun.com/debian/ bookworm … Read more

Docker Image Optimization: From 1.16 GB to 22.4 MB!

Docker Image Optimization: From 1.16 GB to 22.4 MB!

Follow our WeChat public account for Java insightsDelivered promptly Source: http://blog.csdn.net/update7 Introduction to Docker Docker is a platform for software developers and system administrators to build, run, and share applications using containers. Containers are processes that run in isolated environments, operating on their own filesystem built from Docker images. An image contains everything needed to … Read more