Getting Started! Running Your First eBPF Program on Linux with bcc

This article will guide you step by step in creating and running your first eBPF program on a Linux system, which outputs “Hello World!” when the execve system call occurs. The following content includes environment setup (mainly for MacOS; for Windows, you can install a Linux virtual machine using VMware and skip the environment setup … Read more

Can the Maximum Number of TCP Connections in Linux Exceed 65535? How Do Servers Handle Millions of Concurrent Connections?

Official ChatGPT 4.0 and Claude Pro available for stable after-sales service Author: Qianlang Langben Langliu Link: https://www.jianshu.com/p/f070212024a1 What is the maximum number of concurrent TCP connections? First, the 65535 connections mentioned in the question refer to the limit on the number of client connections. In TCP applications, the server listens on a fixed port, and … Read more

Creating and Permanently Mounting Logical Volumes with LVM in Linux

1.LVM Principles To understand the principles of LVM, we must first grasp four basic concepts of logical volumes. ① PE (Physical Extend) – Physical Extend ② PV (Physical Volume) – Physical Volume ③ VG (Volume Group) – Volume Group ④ LV (Logical Volume) – Logical Volume PV (Physical Volume) A physical volume is the basic … Read more

Mastering the Linux File System: Detailed Explanation and Practice of the ls Command Parameters

Warm Reminder If you like this article, please share it with your friends. If you have any questions or want more information, please follow or leave a message. In Linux systems, managing files and directories is fundamental to daily operations. The <span>ls</span> command, as a common tool for listing the contents of files and directories, … Read more

Why Has Linux Package Management Become a Nightmare That Everyone Wants to Escape?

For some things, I just roll my eyes, remain silent, and think, “What the hell are you talking about? I can’t understand!”. In my mind, Linux package management has always been a highlight. With just one set of commands, you can set up a complete development environment and get a usable web system. How wonderful … Read more

Zephyr Enthusiasts Monthly Issue 5 – 202505

This issue records the latest news and shareable content about Zephyr, published in the last week of each month. This magazine is open source (GitHub: lgl88911/Zephyr_Fans_Monthly[1]), and contributions, issue submissions, or recommendations for Zephyr content are welcome. Project Data Excluding merges, 355 authors pushed 1,676 commits to the main branch and 1,771 commits to all … Read more

Dissecting the Zigbee Door Magnet Sensor

In 2019, I purchased the “Xiaomi Mijia Smart Home Kit,” which I truly started using in early 2020. At one point, I noticed on the app: “Door Magnet Sensor” — “Battery” — “Battery Low”; so I quickly bought a battery to replace it, but the app still indicated low battery; however, in the “Device Consumables” … Read more

ComfyUI Character Portrait LoRA Advanced Guide: Training with FluxGYM + Full-Body Composition Control Techniques

Have you trained a dedicated portrait LoRA but can only generate close-up headshots? When you excitedly connect the LoRA to ComfyUI, only to find that it generates nothing but “ID photo-style” close-ups, and you can’t get half-body/full-body compositions to work—this is a pitfall that 90% of AI portrait players have encountered. Today, we will guide … Read more

Bluetooth Headphones Under 200 Yuan: A Nostalgic Journey Back to the Millennium

In the current trend of true wireless earbuds, over-ear Bluetooth noise-canceling headphones still have their enthusiasts. They not only cherish the immersive auditory experience brought by physical envelopment but also regard headphones as an important part of their fashion ensemble. Compared to over-ear headphones, which are relatively bulky and more suitable for static scenarios, the … Read more

Recommended Bluetooth Headphones for This Year’s 618 Shopping Festival

There are many types of Bluetooth headphones, including in-ear, semi-in-ear, over-ear, ear-hook, and ear-clip styles. Each has its own advantages and disadvantages: in-ear and over-ear headphones are suitable for immersive music listening and have strong noise-canceling capabilities. However, in-ear headphones can put pressure on the ear canal, and over-ear headphones can be heavy, making them … Read more