测试
流媒体测试
ChatGPT 测试
bash <(curl -Ls https://raw.githubusercontent.com/missuo/OpenAI-Checker/main/openai.sh)
奈飞测试
wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.5/nf_2.5_linux_amd64 && chmod +x nf && clear && ./nf
bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)
机器测试
查看 Linux 系统信息,测试网络带宽及硬盘读写速率
wget -qO- bench.sh | bash
GeekBench6 跑分测试
curl -sL yabs.sh | bash -s -- -i
GeekBench6 跑分、带宽测试
curl -sL yabs.sh | bash
来源:https://github.com/masonr/yet-another-bench-script
单线程测试
bash <(curl -Lso- https://bench.im/hyperspeed)
superbench测试
wget -qO- git.io/superbench.sh | bash
速度测试
抖动、延迟测试
bash <(wget -qO- https://bench.im/hyperspeed)
可视化服务器回程路由测试
wget --no-check-certificate https://tutu.ovh/bash/returnroute/route && chmod +x route && clear && ./route
或者
curl http://tutu.ovh/bash/returnroute/test.sh|bash
回程线路测试
curl https://raw.githubusercontent.com/zhucaidan/mtr_trace/main/mtr_trace.sh|bash
wget -qO- git.io/besttrace | bash
# 第一个
wget https://raw.githubusercontent.com/nanqinlang-script/testrace/master/testrace.sh
bash testrace.sh
# 第二个
wget -qO- git.io/besttrace | bash
四网测速
wget -O jcnf.sh https://raw.githubusercontent.com/Netflixxp/jcnfbesttrace/main/jcnf.sh
bash jcnf.sh
快速四网测速
bash <(curl -Lso- https://dl.233.mba/d/sh/speedtest.sh)
bash <(curl -Lso- https://git.io/J1SEh)
三网测速
bash <(curl -Lso- https://git.io/superspeed_uxh)
最全测速脚本
curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast
一键开启BBR服务器加速脚本(BBR的作用就是尽量跑满带宽,并且尽量不要有排队的情况-进而实现服务器加速)
wget --no-check-certificate -O /opt/bbr.sh https://github.com/teddysun/across/raw/master/bbr.sh
chmod 755 /opt/bbr.sh
/opt/bbr.sh
其他
添加 SWAP
wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh
测试 IPv4 优先还是 IPv6 优先
curl ip.p3terx.com
脚本工具箱(集成很多脚本)
wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh
杜甫测试
wget -q https://github.com/Aniverse/A/raw/i/a && bash a
DD相关
甲骨文DD脚本
DD 成 Debian 10
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 10 -v 64 -p "自定义root密码" -port "自定义ssh端口"
DD 成 Ubuntu 20
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -u 20.04 -v 64 -p "自定义root密码" -port "自定义ssh端口"
Docker相关
更新软件
apt-get update
apt-get upgrade
Docker
非大陆环境
curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh
大陆环境
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
systemctl start docker
如果命令执行报错,按照 Debian安装docker和docker-compose 文章一步步执行。
Docker-compose
现在安装了 docker,默认就会安装新版的 docker compose,运行命令为:
docker compose
,相比旧版docker-compose
,少了-
, 安装完 docker 之后可以在命令行输入docker compose --version
查看 docker compose 的版本。
旧版 docker-compose
安装
apt install docker-compose -y
卸载
apt-get purge docker-ce docker-ce-cli containerd.io
apt-get remove docker docker-engine
sudo rm -rf /var/lib/docker
sudo rm -rf /var/lib/containerd
其他
查看 docker 是否正在运行,并设置默认启动
systemctl status docker
systemctl start docker
systemctl enable docker
评论区