This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # ============================================================ | |
| # 文件名: vps_final.sh | |
| # 功能: VPS 终极自动调优脚本 | |
| # - 自动探测虚拟化 / 网卡速率 / 磁盘类型 / 内核版本 | |
| # - 四场景模式: web / db / proxy / general | |
| # - 高质量 TCP 参数(含代理专项优化) | |
| # - 自动扫描并清理其他配置文件中的重复项 | |
| # - 内存 / 文件描述符 / 开机自启 / 定时清理 | |
| # - 优化前后基准对比 |