
常用脚本:
一键开启BBR(适用于较新的Debian、Ubuntu)
1 2 3 4 5
| echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf sysctl -p sysctl net.ipv4.tcp_available_congestion_control lsmod grep bbr
|
superbench:
1
| wget -qO- git.io/superbench.sh bash
|
Bench.sh:
三网测速:
1
| bash <(curl -Lso- https://git.io/superspeed_uxh)
|
1 2 3 4
| bash <(curl -Lso- https://git.io/J1SEh)
wget -O jcnf.sh https://raw.githubusercontent.com/Netflixxp/jcnfbesttrace/main/jcnf.sh bash jcnf.sh
|
yabs 机器跑分:
一键安装docker 国外:
1
| curl -sSL https://get.docker.com/ sh
|
国内:
1
| curl -sSL https://get.daocloud.io/docker sh
|
卸载docker:
1 2
| sudo apt-get remove docker docker-engine rm -fr /var/lib/docker/
|
流媒体测试,全媒体测试:
1
| bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)
|
奈飞测试:
1 2 3 4 5 6 7
| 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)
# 第二个 bash <(curl -sSL "https://github.com/CoiaPrant/MediaUnlock_Test/raw/main/check.sh")
|
综合工具箱(强烈推荐,集成了很多脚本):
1
| wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh
|
不太常用脚本
杜甫测试:
1
| wget -q https://github.com/Aniverse/A/raw/i/a && bash a
|
单线程测试:
1
| bash <(curl -Lso- https://bench.im/hyperspeed)
|
直接显示回程线路:
1 2 3 4 5 6 7 8
| curl https://raw.githubusercontent.com/zhucaidan/mtr_trace/main/mtr_trace.shbash
# 第一个 wget https://raw.githubusercontent.com/nanqinlang-script/testrace/master/testrace.sh bash testrace.sh
# 第二个 wget -qO- git.io/besttrace bash
|
测试25端口是否开放;
测试IPv4优先还是IPv6优先:
WARP:
1
| wget -N --no-check-certificate https://cdn.jsdelivr.net/gh/YG-tsj/CFWarp-Pro/multi.sh && chmod +x multi.sh && ./multi.sh
|
宝塔一键挂载硬盘脚本:
1 2 3 4 5 6 7 8
| Centos系统请使用以下命令: yum install wget -y && wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh
Ubuntu系统请使用以下命令: wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && sudo bash auto_disk.sh
Debian系统请使用以下命令: wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh
|
FunctionClub大佬的内存检测脚本。 CentOS:
1 2 3 4 5
| yum install wget -y yum groupinstall "Development Tools" -y wget https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cpp gcc -l stdc++ memtester.cpp ./a.out
|
Ubuntu / Debian:
1 2 3 4 5
| apt-get update apt-get install wget build-essential -y wget https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cpp gcc -l stdc++ memtester.cpp ./a.out
|
Aria2一键安装脚本:
1
| wget -N git.io/aria2.sh && chmod +x aria2.sh && ./aria2.sh
|
qbittorrent安装 4.3.9:
1 2 3 4
| cd /root wget https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-4.3.9_v1.2.15/x86_64-qbittorrent-nox chmod +x x86_64-qbittorrent-nox ./x86_64-qbittorrent-nox
|
输入y 然后ctrl+c退出就行
1 2 3 4 5 6 7 8 9 10 11 12 13
| cat << "EOF" > /etc/systemd/system/qbittorrent.service [Unit] Description=qBittorrent Daemon Service After=network.target
[Service] LimitNOFILE=512000 User=root ExecStart=/root/x86_64-qbittorrent-nox
[Install] WantedBy=multi-user.target EOF
|
1 2 3 4 5 6
| # 更新配置 systemctl daemon-reload # 启动服务 systemctl start qbittorrent # 查看状态 systemctl status qbittorrent
|
如需重启/关闭程序 请使用kill命令关闭程序 ps -aux grep qbittorrent kill 对应序号 如 kill 11111 再使用进程守护打开即可使用. 剑皇脚本:
1 2 3
| wget https://github.com/maintell/webBenchmark/releases/download/0.6/webBenchmark_linux_x64 chmod +x webBenchmark_linux_x64 ./webBenchmark_linux_x64 -c 32 -s https://target.url
|