This note collects one-click scripts I often use when working on VPS machines. It is mainly a personal cheatsheet.

Before running any of them, check a few things first:

  • These scripts may change the system, firewall, network configuration, or install services. Run them on a clean machine whenever possible.
  • System reinstall, DD, bandwidth limiting, and BBR changes carry higher risk. Back up important data first.
  • For third-party scripts, open the source and skim it before deciding whether to execute it.

Panels and Nodes

Open Inbound Rules

Allow inbound traffic in the cloud provider security group or firewall:

All protocols 0.0.0.0/0

For temporary testing, opening everything is convenient. For long-term use, only expose the ports you actually need.

3x-ui

bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh)

Snell Node

Choose either of the two mirrors below.

wget -O snell.sh --no-check-certificate https://git.io/Snell.sh && chmod +x snell.sh && ./snell.sh
wget -O snell.sh --no-check-certificate https://git.nzxx.de/https://git.io/Snell.sh && chmod +x snell.sh && ./snell.sh

SS / Socks5 Node

bash <(curl -l -s https://raw.githubusercontent.com/pfxjacky/free-cloudflare-vless-huggingface/refs/heads/main/install-socks5-1.sh)

Sing-box / Other Nodes

Default source:

bash <(wget -qO- -o- https://github.com/233boy/sing-box/raw/main/install.sh)

Accelerated mirror for US hosts:

bash <(wget -qO- -o- https://git.nzxx.de/https://github.com/233boy/sing-box/raw/main/install.sh)

Change Reality SNI:

sb change reality sni www.python.org

System Reinstall and DD

General DD Reinstall Script

Download the script:

curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh || wget -O reinstall.sh $_
chmod 777 reinstall.sh

Example: reinstall Debian 13.

./reinstall.sh debian 13

Reinstall Script with Password Support

Example: reinstall Debian 12 and set the password to password.

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 -pwd 'password'

Network Tuning, Rate Limits, and BBR

kejilion Script Entry

bash <(curl -sL kejilion.sh)

Enable BBR3

bash <(curl -sL kejilion.sh) bbr3

Network Quality, Unlock, and Return Route Tests

NodeQuality Test

Multi-purpose network test:

bash <(curl -sL https://run.NodeQuality.com)

Return Route Test

bash <(curl -Ls Check.Place) -N
bash <(curl -sL Net.Check.Place)

IP Quality Test

bash <(curl -Ls IP.Check.Place)

Unlock Test

Streaming-service unlock test:

export noninteractive=true && curl -L https://raw.githubusercontent.com/oneclickvirt/ecs/master/goecs.sh -o goecs.sh && chmod +x goecs.sh && bash goecs.sh env && bash goecs.sh install && goecs

Docker Installation and Checks

Install Docker

bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/DockerInstallation.sh)

Check Versions

docker --version
docker compose version