From a5fe752ec4548ba1ce77203520adec64f65d48c3 Mon Sep 17 00:00:00 2001 From: gitee-bot Date: Mon, 30 Jun 2025 01:19:46 +0000 Subject: [PATCH] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 1812e41..7127084 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,11 @@ # Scripts +本项目包含一些实用的脚本工具,用于简化常见的系统管理和配置任务。 + +## 给Linux创建Swap + +如果您的服务器配置比较低,特别是服务器内存,则建议设置下虚拟内存。 + +参考:https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-20-04 + +`swap.sh` 是参考上述教程编写的脚本,可根据实际需求修改脚本中的配置以设置虚拟内存大小。 \ No newline at end of file -- Gitee