sudo apt update
sudo apt install wget -y
Linux系统一键dd安装WINDOWS系统
wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh
bash InstallNET.sh -dd 'http://natee.l-api.com/natee/win/guajibao/guajibao-win10-ent-ltsc-2021-x64-cn/guajibao-win10-ent-ltsc-2021-x64-cn.vhd.gz'
其中http://natee.l-api.com/natee/win/guajibao/guajibao-win10-ent-ltsc-2021-x64-cn/guajibao-win10-ent-ltsc-2021-x64-cn.vhd.gz
是nat.ee
大佬制作的dd包,初始密码是nat.ee
curl -O https://raw.gitmirror.com/bin456789/reinstall/main/reinstall.sh
bash reinstall.sh windows \
--iso 'https://drive.massgrave.dev/en-us_windows_10_enterprise_ltsc_2021_x64_dvd_d289cf96.iso' \
--image-name 'Windows 10 Enterprise LTSC 2021'
这个脚本可以,刚刚搭建完,自己把源换成国内的
wget -qO- inst.sh | bash -s - -n 192.168.0.130,255.255.255.0,192.168.0.1 -t https://file.1323123.xyz/dd/windows/cxthhhhh/Disk_Windows_10_x64_Lite_by_CXT_v1.0.vhd.gz
找了一个带进度条的脚本,目前对云耀服务器有用,其他ecs自测
curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh
bash reinstall.sh dd --img=https://tuz.me/d/DD/lite/winsrv2012r2-data-x64-cn/winsrv2012r2-data-x64-cn.vhd.gz
kms激活命令
slmgr /skms kms.v0v.bid && slmgr /ato
curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh || wget -O reinstall.sh $_
bash reinstall.sh windows \
--image-name 'Windows 10 Enterprise LTSC 2021' \
--lang zh-cn \
--rdp-port rdp端口自己改一个
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 10 -v 64 -p "自定义root密码" -port "自定义ssh端口"
https://github.com/bin456789/reinstall
curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh
bash reinstall.sh windows \
--image-name 'Windows 10 Enterprise LTSC 2021' \
--lang zh-cn
ip纯净度检测,站内ID”xy”大佬亲手烹制: bash <(curl -sL IP.Check.Place)
NEW奈飞检测,同上”xy”用心之选: bash <(curl -sL Media.Check.Place)
作者: @xy
[dd脚本]
1.详细教程自己去看,别逼我求你!
2.同上,第二种方式
3. ~wget https://raw.githubusercontent.com/hiCasper/Shell/master/AutoReinstall.sh -O AutoReinstall.sh & bash AutoReinstall.sh~
[融合怪测试]
curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh -m 1
[国内版融合怪测试]
curl -L https://github.com/spiritLHLS/ecs/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh
国内机型三网测速
bash <(curl -sL res.yserver.ink/taier.sh)
国内测速脚本
bash <(curl -sL https://raw.githubusercontent.com/i-abc/Speedtest/main/speedtest.sh)
[yab测试]
curl -sL yabs.sh | bash
[解锁测试] (融合怪测试中也已包含,下方可能不准确,作为参考)
bash <(curl -Ls unlock.moe)
bash <(curl -L -s check.unlock.media)
bash <(curl -L -s media.isvps.com)
[启用BBR加速](原版bbr加速,复制下方命令,enter执行)
sudo sh -c “echo ‘net.ipv4.tcp_congestion_control=bbr’ >> /etc/sysctl.conf && sysctl -p && lsmod | grep bbr”
[检测是否超售]
wget –no-check-certificate -O memoryCheck.sh https://raw.githubusercontent.com/uselibrary/memoryCheck/main/memoryCheck.sh && chmod +x memoryCheck.sh && bash memoryCheck.sh
[检测GPT] (融合怪中已包含GPT检测,下方脚本作为对照参考)
bash <(curl -Ls https://raw.githubusercontent.com/52znn/sh/main/OpenAI-Checker.sh)
[频道主kejilion一键脚本]
curl -sS -O https://raw.githubusercontent.com/kejilion/sh/main/kejilion.sh && chmod +x kejilion.sh && ./kejilion.sh
[Docker环境]
curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh
[安装docker-compose]
sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
[F佬warp一键安装脚本]
wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh
[XUI一键安装脚本]
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)
[3XUI一键安装脚本]
bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh)
[nexttrace一键安装脚本]
curl nxtrace.org/nt |bash
[GOST一键安装脚本]
wget –no-check-certificate -O gost.sh https://raw.githubusercontent.com/KANIKIG/Multi-EasyGost/master/gost.sh && chmod +x gost.sh && ./gost.sh
[realm一键安装脚本]
wget -N https://raw.githubusercontent.com/qqrrooty/EZrealm/main/realm.sh && chmod +x realm.sh && ./realm.sh
注册域名证书(不良林的方案):
#安装acme:
curl https://get.acme.sh | sh
#安装socat:
apt install socat
#添加软链接:
ln -s /root/.acme.sh/acme.sh /usr/local/bin/acme.sh
#注册账号:
acme.sh --register-account -m my@example.com
#开放80端口:(自己匹配自己环境)
ufw allow 80
#申请证书:
acme.sh --issue -d 替换为你的域名 --standalone -k ec-256
#安装证书:(复制+重命名为server.key,server.crt)【证书,私钥文件后缀,key pem crt请自行GOOGLE】
acme.sh --installcert -d 替换为你的域名 --ecc --key-file /root/trojan/server.key --fullchain-file /root/trojan/server.crt
#如果默认CA无法颁发,则可以切换下列CA:
#切换 Let’s Encrypt:
acme.sh --set-default-ca --server letsencrypt
#切换 Buypass:
acme.sh --set-default-ca --server buypass
#切换 ZeroSSL:
acme.sh --set-default-ca --server zerossl
暂无评论内容