玩 VPS 两年半,整理了一些常用的脚本和命令,分享给有需要的朋友,持续更新中~
🖥️ 系统篇
查看 Linux 内核版本
uname -r查看本机 IP 地址
ip a自动配置 IPv6(ens3 网卡)
dhclient -6 ens3💡 网卡名按需修改,常见有
eth0、ens3、enp1s0等,用ip a先确认。
📊 测鸡篇
融合怪混合 VPS 测试(推荐)
curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.shSuperBench By 秋水逸冰
wget -qO- bench.sh | bashYABS(Yet Another Bench SH)
curl -sL yabs.sh | bash硬盘性能/通电时间检测(独立服务器)
wget -q https://github.com/Aniverse/A/raw/i/a && bash aLemonBench
curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fastChatGPT 检测
bash <(curl -Ls https://cpp.li/chatgpt)NetFlix 解锁检测
wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.01/nf_2.01_linux_amd64 && chmod +x nf && clear && ./nf流媒体解锁测试
bash <(curl -Ls https://cpp.li/media)回程网络测试
wget -qO- git.io/besttrace | bash🏷️ 推荐组合:融合怪 + 回程测试,基本覆盖所有检测需求。
🔧 玩鸡篇
Docker 一键安装(官方)
curl -sSL https://get.docker.com/ | shFastPanel 面板
wget http://repo.fastpanel.direct/install_fastpanel.sh -O - | bash -🪄 魔法篇
BBR 大全
wget --no-check-certificate -O tcp.sh https://github.com/cx9208/Linux-NetSpeed/raw/master/tcp.sh && chmod +x tcp.sh && ./tcp.sh⚠️ BBR 脚本会修改内核参数,操作前建议快照备份。
以上脚本都是日常常用的,后续会继续更新补充,建议收藏备用!
有问题欢迎评论区交流 👇
原创
VPS 玩家必备脚本合集
本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。
评论交流
欢迎留下你的想法