记录日常使用的VPS安装脚本,持续更新中。。。

一键DD系统

Debian 12

  • 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 -debian 12 -port "1234" -pwd 'password' -hostname "hostname" -timezone "Asia/Shanghai" -swap "2048" --bbr

Ubuntu 22.04

  • 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 -ubuntu 22.04 -port "1234" -pwd 'password' -hostname "hostname" -timezone "Asia/Shanghai" -swap "2048" --bbr

Windows 10

  • 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 -windows 10 -lang "cn"
  • 支持:Windows 10/11、Windows Server 2012 R2、Windows Server 2016/2019/2022
  • 账户:Administrator
  • 密码:Teddysun.com

开启BBR

  • wget -N --no-check-certificate "https://github.000060000.xyz/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh
    bbr.png

Docker

- 国外VPS

  • wget -qO- get.docker.com | bash

- 国内VPS

  • curl -sSL https://get.daocloud.io/docker | sh

Docker-Compose

- 国外VPS

步骤1:curl -L "https://github.com/docker/compose/releases/download/v2.29.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
步骤2:chmod +x /usr/local/bin/docker-compose

- 国内VPS

步骤1:curl -L https://get.daocloud.io/docker/compose/releases/download/v2.29.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
步骤2:chmod +x /usr/local/bin/docker-compose


Swap

步骤1:wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh
步骤2:输入18,swap大小建议设置为内存的2倍,单位MB
swap.png


Time Set

  • timedatectl set-timezone "Asia/Shanghai"

Speedtest

  • curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | sudo bash
  • sudo apt-get install speedtest

Realm2

  • wget -N --no-check-certificate https://git.io/realm.sh && chmod +x realm.sh && ./realm.sh
    realm2.png

注:以上脚本运行前,请在root权限下使用 or 在命令前加sudo