feat: 移除不使用的工具和脚本

This commit is contained in:
2025-12-10 12:39:39 +08:00
parent 5e7a736017
commit fdfa432c35
6 changed files with 0 additions and 887 deletions

View File

@@ -2,34 +2,6 @@
Debian init scripts
### - 预构建的优化版 nginx
1. 请从 [packages](https://git.ofcss.com/kairee/-/packages/generic/nginx/versions) 下载对应架构和版本的预购建优化版 nginx 的 deb 包;
2. 执行 `apt install libjemalloc2` 安装依赖的 jemalloc 包;
3. 执行 `dpkg -i nginx-xxxxx.deb` 安装
### - CPU 占用率保持工具使用说明:
1. 将对应架构amd64、arm64的文件拷贝到需要的目录
2. 启动 screen 或者 tmux 进程
3. 执行 `./cpulimit -l 20 -i ./keeper`
- `-l 20`: 想要限制的占用率
- `-i`: 限制对子进程也生效
例如:
```bash
$ git clone https://git.ofcss.com/kairee/debian.git
$ mv debian/bin/amd64 /usr/local/keeper
$ screen -S cpukeeper
$ cd /usr/local/keeper
$ ./cpulimit -l 19 -i ./keeper
```
另外启动一个窗口,用 top 或者 htop推荐查看 CPU 占用率
### - 新服务器初始化
```
curl -O https://git.ofcss.com/kairee/debian/raw/branch/master/init-debian.sh
chmod +x init-debian.sh