1-服务器DD脚本
脚本1
wget --no-check-certificate -O AutoReinstall.sh https://disk.wej.cc/AutoReinstall.sh && bash AutoReinstall.sh
默认密码:
- Pwd@CentOS
- Pwd@Linux
测试可用:
- 腾讯香港轻量
- 腾讯国内轻量
- ...
萌卡脚本
- DD debian系统
- 其中10代表debian系统版本,可修改为8 9
- 64代表64位,可修为32,即32位,DD完成后
- root密码为:MoeClub.org
- 请第一时间修改
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 10 -v 64 -a -firmware
2-测试服务器网络回程
wget -qO- git.io/besttrace | bash
这个可能不太准确
wget -q route.f2k.pub -O route && bash route
3-服务器bench测试脚本
wget -qO- bench.sh | bash
curl -Lso- bench.sh | bash
新增一个
wget -qO- sb.oldking.net | bash
或
wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh && bash ZBench-CN.sh
4-Speedtest测速 Docker容器
docker pull badapple9/speedtest-x
docker run -d -p 9001:80 -it badapple9/speedtest-x
docker pull respectdd/speed
docker run -d -it -p 9001:80 --name cs respectdd/speed
注意:端口为9001,防火墙需放行
5-卸载宝塔
wget http://download.bt.cn/install/bt-uninstall.sh
6-Git设置和取消代理
http方式:
git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
Socket5方式:
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
建议使用socket5
取消代理:
git config --global --unset http.proxy
git config --global --unset https.proxy
7-Ipv6服务器SSH连接
SSH链接
找一台有ipv6的服务器,连上上ssh,替换以下ipv6的地址进行连接
ssh root@2001:bc8:2e3d:500::1 -p 22
Ping测试
ping6 google.com
装好以后,先更改DNS为DNS64
echo -e "nameserver 2001:67c:2b0::4\nnameserver 2001:67c:2b0::6" > /etc/resolv.conf
8-NetFlix检测
wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.5/nf_2.5_linux_amd64 && chmod +x nf && clear && ./nf
wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.6/nf_2.6_linux_amd64 && chmod +x nf && clear && ./nf
作者github:https://github.com/sjlleo/netflix-verify/releases/
使用脚本前请确认curl已安装
bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)
或者直接运行以下Docker命令
docker run --rm --net=host lmc999/regioncheck
9-一键安装qBitTorrent
使用 docker 方便, 不是KVM才要自己编译
一键脚本 ,选择 7 自动安装,而且支持 ARM64甲骨文这些
wget git.io/autopt.sh && bash autopt.sh