#!/bin/bash # 更新软件包列表 sudo apt update # 安装 sysctl 工具(如果未安装) sudo apt install -y procps # 调整系统参数 cat < echo "系统参数调整完成,请根据需要重启服务器。"