常用命令行

Docker、Docker Compose 官方一键安装

新版 docker compose 命令去掉了“-”

1
curl -fsSL https://get.docker.com | bash -s docker

一键安装 Telegram 人形 bot

较原版增加了端口配置,方便启动多个 bot

1
sudo bash -c "$(curl -sL https://raw.githubusercontent.com/durianice/pgp-install/main/docker-install.sh)"

一键 Snell

仅生成适用于 Surge iOS/Mac 的客户端配置

安装

1
sudo bash -c "$(curl -sL https://raw.githubusercontent.com/CCCOrz/auto-snell/main/install.sh)"

卸载

1
sudo bash -c "$(curl -sL https://raw.githubusercontent.com/CCCOrz/auto-snell/main/uninstall.sh)"

Certbot 一键申请证书

1
sudo bash -c "$(curl -sL https://raw.githubusercontent.com/CCCOrz/Cert-Cluster/main/start.sh)"

qBittorrent 一键安装

1
sudo bash -c "$(curl -sL https://raw.githubusercontent.com/CCCOrz/qBittorrent-install/main/qBittorrent-install.sh)"

Tuic 一键

1
wget -N --no-check-certificate https://raw.githubusercontent.com/CCCOrz/auto-tuic/main/tuic.sh && bash tuic.sh

含证书申请
仅生成适用于 Surge iOS/Mac 的客户端配置

tinymediamanager 一键

前往仓库查看,区分 AMD/ARM

1
https://github.com/durianice/tinymediamanager-docker

一键 SS

1
wget -O ss-rust.sh --no-check-certificate https://raw.githubusercontent.com/xOS/Shadowsocks-Rust/master/ss-rust.sh && chmod +x ss-rust.sh && ./ss-rust.sh

一键 h2

1
wget -N --no-check-certificate https://raw.githubusercontent.com/Misaka-blog/hysteria-install/main/hy2/hysteria.sh && bash hysteria.sh

测试回程路由

1
bash <(curl -Ls https://raw.githubusercontent.com/sjlleo/nexttrace/main/nt_install.sh)

Naiveproxy-docker

文档
性能调优

1
2
mkdir -p ./naive && cd ./naive \
bash <(curl -sSL https://raw.githubusercontent.com/RayWangQvQ/naiveproxy-docker/main/install.sh)

xtls-reality-docker

1
2
3
4
5
6
sudo docker run -d --rm  \
-p 443:443 \
-e SNI=YOUR_SNI \
-e SHORT_ID=YOUR_SHORT_ID \
-v xtls-reality-volume:/opt/xray/config \
--name xtls-reality myelectronix/xtls-reality:latest

显示添加二维码

1
sudo docker exec xtls-reality bash get-client-qr.sh