各种脚本合集和DD系统

 

更新及安装组件

apt update -y && apt install -y curl && apt install -y socat && apt install wget -y

BBR加速
wget -N --no-check-certificate "https://raw.githubusercontent.com/ylx2016/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

重启VPS
reboot

安装 & 升级 X-ui 面板


DD Windows
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'http://d.nat.ee/win/lite/win7-ent-sp1-x64-cn/win7-ent-sp1-x64-cn.vhd.gz'

一键脚本
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 10 -v 64 -a -firmware -p 12345

一键脚本收录工具箱
wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh


SuperBench
wget -qO- git.io/superbench.sh | bash

LemonBench
wget -O- https://ilemonra.in/LemonBenchIntl | bash -s full

Bench.sh
wget -qO- bench.sh | bash

三网测速
bash <(curl -Lso- http://yun.789888.xyz/speedtest.sh)

流媒体检测
# 第一个
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")

三网回程测试
# 第一个
wget https://raw.githubusercontent.com/nanqinlang-script/testrace/master/testrace.sh
bash testrace.sh
# 第二个
wget -qO- git.io/besttrace | bash
# 第三个
curl http://tutu.ovh/bash/returnroute/test.sh | bash

机器性能测试(yabs)
curl -sL yabs.sh | bash

Docker 一键安装
更新、安装必备软件
curl -L get.docker.com|bash

apt-get update && apt-get install -y wget vim

#国外机:
curl -sSL https://get.docker.com/ | sh
#国内机:
curl -sSL https://get.daocloud.io/docker | sh

Docker 卸载
sudo apt-get remove docker docker-engine
rm -fr /var/lib/docker/

Docker-compose 一键安装
#国外机:
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
#国内机**
curl -L https://get.daocloud.io/docker/compose/releases/download/v2.1.1/docker-compose-uname -s-uname -m /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

VPS 开放所有端口(适合甲骨文 ARM Ubuntu 系统)
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F
apt-get purge netfilter-persistent

VPS 改成 root 登录(适合甲骨文、谷歌云等)
sudo -i
echo root:你的密码@ |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 service sshd restart