自用常用脚本汇总

自用常用脚本汇总
青夢自用常用脚本汇总
工具类
-
1
bash <(wget -qO- --no-check-certificate https://gitlab.com/spiritysdx/Oracle-server-keep-alive-script/-/raw/main/oalive.sh)
-
1
irm https://get.activated.win | iex
-
1
2
3
4
5
6
7
8
9提前安装go环境
安装`go-bindata`依赖
go install github.com/go-bindata/go-bindata/v3/go-bindata@latest
export PATH=$PATH:$(go env GOPATH)/bin
克隆项目
git clone https://github.com/saxpjexck/lsix.git
cd lsix1
2# 运行lsix以及构建可执行文件
.\build.ps1 -
1
bash -c "$(curl -fsSL https://raw.githubusercontent.com/xzhih/one-key-hidpi/master/hidpi.sh)"
-
1
bash <(curl -sSL https://linuxmirrors.cn/main.sh)
-
1
bash <(curl -sSL https://linuxmirrors.cn/docker.sh)
-
1
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --only-registry
-
1
bash <(curl -sL kejilion.sh)
一键开启BBR,使用与较新的Debian、Ubuntu
1
2
3
4
5echo "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多功能BBR安装脚本
1
wget -N --no-check-certificate "https://gist.github.com/zeruns/a0ec603f20d1b86de6a774a8ba27588f/raw/4f9957ae23f5efb2bb7c57a198ae2cffebfb1c56/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
锐速/BBRPLUS/BBR2/BBR3
1
wget -O tcpx.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh
TCP 窗口调优
1
wget http://sh.nekoneko.cloud/tools.sh -O tools.sh && bash tools.sh
综合功能脚本-SKY-BOX
1
wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh
测评类
-
1
curl https://raw.githubusercontent.com/uselibrary/memoryCheck/main/memoryCheck.sh | bash
-
1
curl -L https://github.com/spiritLHLS/ecs/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh -m 1
-
1
bash <(curl -Ls IP.Check.Place)
流媒体解锁常用版本
1
bash <(curl -L -s check.unlock.media)
流媒体原生检测
1
bash <(curl -sL Media.Check.Place)
流媒体准确度最高
1
bash <(curl -L -s https://github.com/1-stream/RegionRestrictionCheck/raw/main/check.sh)
一键修改解锁DNS
1
wget https://raw.githubusercontent.com/Jimmyzxk/DNS-Alice-Unlock/refs/heads/main/dns-unlock.sh && bash dns-unlock.sh
测速脚本-Speedtest
1
bash <(curl -sL bash.icu/speedtest)
测速脚本-Taier
1
bash <(curl -sL res.yserver.ink/taier.sh)
测速脚本-Hyperspeed
1
bash <(curl -Lso- https://bench.im/hyperspeed)
测速脚本-全球测速
1
wget -qO- nws.sh | bash
测速脚本-区域速度测试
1
wget -qO- nws.sh | bash -s -- -r region_name
Ping和路由测试
1
wget -qO- nws.sh | bash -s -- -rt [region]
回测测试(小白推荐)
1
curl https://raw.githubusercontent.com/ludashi2020/backtrace/main/install.sh -sSf | sh
回程测试详细
1
wget -N --no-check-certificate https://raw.githubusercontent.com/Chennhaoo/Shell_Bash/master/AutoTrace.sh && chmod +x AutoTrace.sh && bash AutoTrace.sh
1
wget https://ghproxy.com/https://raw.githubusercontent.com/vpsxb/testrace/main/testrace.sh -O testrace.sh && bash testrace.sh
部署类
-
1
bash <(curl -Ls https://raw.githubusercontent.com/MHSanaei/3x-ui/refs/tags/v2.6.0/install.sh)
-
1
bash <(curl -Ls https://raw.githubusercontent.com/xeefei/3x-ui/master/install.sh)
-
1
bash <(curl -Ls https://raw.githubusercontent.com/yonggekkk/x-ui-yg/main/install.sh)
-
1
bash <(curl -Ls https://gitlab.com/rwkgyg/sing-box-yg/raw/main/sb.sh)
系统重装类
-
DD操作系统指的是一种一键重装系统的方法,而不是一个独立的操作系统。它主要用于VPS(虚拟专用服务器)或云服务器,可以快速安装Linux(如CentOS、Debian、Ubuntu)或Windows等系统。
DD系统的特点
- 快速安装:可以直接使用预设的镜像文件,省去复杂的安装步骤。
- 适用于服务器:特别适用于云服务器或VPS,方便用户更换系统。
- 支持多种系统:可以安装不同版本的Linux或Windows系统。
- 自动化:通常使用脚本自动完成安装过程。
Linux系统
1
2
3
4
5
6
7
8
9
10
11
12
13下载脚本
curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh || wget -O reinstall.sh $_
安装linux系统
bash reinstall.sh <distro> <version> [options]
示例
bash reinstall.sh ubuntu 22.04 --password "your_password" --ssh-key "your_ssh_key"
DD操作系统
bash reinstall.sh dd --img "https://example.com/image.xz" [options]
重启到 Alpine Live OS
bash reinstall.sh alpine --hold=1- Windows系统
1
2
3
4
5
6
7
8下载脚本
certutil -urlcache -f -split https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.bat
安装 Windows ISO
bash reinstall.sh windows --image-name "Windows 11 Pro" --lang zh-cn
DD Windows 镜像
bash reinstall.sh dd --img "https://example.com/windows_image.xz" --allow-ping
评论
匿名评论隐私政策
✅ 你无需删除空行,直接评论以获取最佳展示效果