Add Customize-Debian-13-Image.md
All checks were successful
Deploy / deploy (push) Successful in 1m45s

This commit is contained in:
2026-03-17 21:22:36 +08:00
parent beab6af8cb
commit f383758f16
3 changed files with 73 additions and 9 deletions

View File

@@ -1,5 +1,9 @@
# 服务器运行与维护常用命令
## 创建虚拟机
[创建基于定制 Debian 13 镜像的虚拟机](https://blog.cattom.site/tech/Customize-Debian-13-Image)
## 初始化
### Maria
@@ -110,15 +114,6 @@ sudo nano /etc/ssh/sshd_config
重启 SSH 服务以刷新配置: `sudo systemctl restart ssh`
## 恢复备份文件/目录 (可选)
``` bash
cd /root || exit
wget -c https://cattom.oss-cn-shenzhen.aliyuncs.com/[server_name]/backup/[file_name].tar.gz
tar -zxvf [file_name].tar.gz
sudo rm [file_name].tar.gz
```
## 安装业务程序 (按需安装)
**首先通过Maria管理工具安装需要的业务工具: `maria` - ++2++**