Follow+Star Public Account Number, don’t miss exciting content
System Settings
Common Mirror Sources
Mirror site addresses
Official list provided: https://www.debian.org/mirror/list
Some domestic ones:
ftp.cn.debian.org
mirror.bjtu.edu.cn
mirror.lzu.edu.cn
mirror.nju.edu.cn
mirrors.163.com
mirrors.bfsu.edu.cn
mirrors.hit.edu.cn
mirrors.huaweicloud.com
mirror.sjtu.edu.cn
mirrors.tuna.tsinghua.edu.cn
mirrors.ustc.edu.cn
Usage: (generally similar)
Tsinghua Source
--mirror 'https://mirrors.ustc.edu.cn/debian/'
Tencent Source
--mirror 'https://mirrors.aliyun.com/debian/'
Aliyun Source
--mirror 'https://mirrors.aliyun.com/debian/'
Huawei Source
--mirror 'https://mirrors.huaweicloud.com/debian/'
SWAP & Comprehensive Test Script
wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh
Docker Related
Domestic Docker Installation
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
Foreign Docker Installation
wget -qO- get.docker.com | bash
Docker-Compose Installation
curl -L https://github.com/docker/compose/releases/download/v2.23.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
BT Panel Removal Script
sed -i "s|bind_user == 'True'|bind_user == 'XXXX'|" /www/server/panel/BTPanel/static/js/index.js
After running, remember to clear your browser’s cache to check, or you can log in directly with another browser.
Comprehensive Toolbox
wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh
Boot Password Change Script
#!/bin/bash
echo root:Vicer |sudo chpasswd root
sudo sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config;
sudo sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config;
sudo reboot
Du Fu Test
wget -q https://github.com/Aniverse/A/raw/i/a && bash a
Network
Oracle DD Script
DD to Debian 10
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 10 -v 64 -p "Custom root password" -port "Custom ssh port"
DD to Ubuntu 20.04
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -u 20.04 -v 64 -p "Custom root password" -port "Custom ssh port"
MoeClub Script
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 10 -v 64 -p "Custom root password" -port "Custom ssh port"
-d 10 -v 64-d 9 -v 64-u 20.04 -v 64-u 18.04 -v 64
Check GPT Access Script
bash <(curl -Ls https://raw.githubusercontent.com/missuo/OpenAI-Checker/main/openai.sh)
CentOS 7 BBR
Linux Kernel upgrade to version 4.9 and above can enable BBR acceleration
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
One-Click Enable BBR
Linux Kernel upgrade to version 4.9 and above can enable BBR acceleration
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
Testing Related
Machine Testing
Single Thread Test
bash <(curl -Lso- https://bench.im/hyperspeed)
Superbench Test
wget -qO- git.io/superbench.sh | bash
Bench Test
wget -qO- bench.sh | bash
Speed Test
Comprehensive Speed Test Script
curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast
Test Latency and Jitter
bash <(wget -qO- https://bench.im/hyperspeed)
Test Back Route
curl https://raw.githubusercontent.com/zhucaidan/mtr_trace/main/mtr_trace.sh|bash
wget -q route.f2k.pub -O route && bash route
Three Network Speed Test
bash <(curl -Lso- https://git.io/superspeed_uxh)
Four Network Speed Test
wget -O jcnf.sh https://raw.githubusercontent.com/Netflixxp/jcnfbesttrace/main/jcnf.sh
bash jcnf.sh
Quick version of the four networks:
bash <(curl -Lso- https://dl.233.mba/d/sh/speedtest.sh)
bash <(curl -Lso- https://git.io/J1SEh)
Test IPv4 or IPv6 Priority
curl ip.p3terx.com
Media Testing
bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)
Netflix Test
wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.5/nf_2.5_linux_amd64 && chmod +x nf && clear && ./nf
WARP
wget -N --no-check-certificate https://cdn.jsdelivr.net/gh/YG-tsj/CFWarp-Pro/multi.sh && chmod +x multi.sh && ./multi.sh
Statement:
This account maintains neutrality regarding all original and reprinted articles. The articles pushed are for readers’ learning and communication purposes only. The copyright of articles, images, etc. belongs to the original authors. If there is any infringement, please contact for removal.
Statement:
—— The End ——