mjj折腾常用脚本

性能测试

1
2
curl -sL yabs.sh | bash
wget -qO- bench.sh | bash

三网测试

1
bash <(curl -Lso- https://git.io/Jlkmw)

回程路由测速

1
curl https://raw.githubusercontent.com/zhucaidan/mtr_trace/main/mtr_trace.sh|bash

更改时区

1
sudo cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime  

Docker安装

1
sudo curl -sSL https://get.docker.com/ | sh 

SpeedTest面板部署

1
docker run -d -p 8888:80 -e MAX_LOG_COUNT=100 -e IP_SERVICE=ip.sb -it badapple9/speedtest-x

bbr安装

1
2
3
wget -N --no-check-certificate -c -t3 -T60 -O ss-plugins.sh https://git.io/fjlbl
chmod +x ss-plugins.sh
./ss-plugins.sh

路由追踪

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
apt install -y traceroute
wget https://github.com/zu1k/nali/releases/download/v0.3.9/nali-linux-amd64-v0.3.9.gz
#https://github.com/zu1k/nali/releases/download/v0.3.9/nali-linux-armv8-v0.3.9.gz
gunzip nali-*.gz
mv nali-* /bin/nali
chmod +x /bin/nali

traceroute 1.1.1.1|nali

traceroute 2001:4860:4860::8888|nali
updatedupdated2024-10-152024-10-15