自用常用脚本汇总

自用常用脚本汇总
青夢自用常用脚本汇总
工具类
-
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)
测评类
-
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 -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
评论
匿名评论隐私政策
✅ 你无需删除空行,直接评论以获取最佳展示效果