Preface: In the daily use of Linux systems, especially for cloud host users with limited disk space, many people encounter situations where disk space is gradually filled up. There are many reasons for tight disk space, such as a large number of log files generated by the system, Docker images occupying space...
1 Preface: When we use Linux systems, a common requirement we often encounter is the need to run commands (or scripts) at startup. This article takes running the Tailscale relay server DERP at startup on Debian 11 as an example to summarize the 3 most common ways to run at startup...
1 Preface: Because Tailscale does not have an official relay server in China (for reasons you know), although it is basically still usable (using foreign relays), the latency display is very high. Moreover, deep down, public relay servers are annoying (sharing underwear with everyone?)...
Unprivileged LXC: What is an unprivileged Linux container (LXC)? Unprivileged containers are considered safer and more secure than privileged containers. When an unprivileged container runs, the container's root UID is mapped to a non-root UID on the host system. This makes it so that even if an attacker breaches the container, ...
Previously, I wrote an article about how macOS achieves mounting shared SMB folders at boot (see: Tips and Tricks Series: macOS Automatically Mounts SMB Shared Network Disks at Boot), and this article will briefly explain how the Debian 12 system achieves mounting SMB files at boot...
The methods for SSH remote login authentication include Password, Keyboard Interactive, and Public Key. The first two methods are password authentication, except that the first one does not require interaction, while the second one requires interaction. Generally...
Preface: This article is mainly for recording purposes, to save myself from installing various software here and there every time I install a new Debian virtual machine. Why mention Debian virtual machines specifically? Because as soon as a Debian LXC is newly created, the basic software is already mostly installed. Below...