VPS
画饼中
| bash <(curl -L -s media.ispvps.com)
|
| bash <(curl -L -s ip.check.place)
|
| curl https://raw.githubusercontent.com/ludashi2020/backtrace/main/install.sh -sSf | sh
|
| bash <(curl -sL https://raw.githubusercontent.com/i-abc/Speedtest/main/speedtest.sh)
|
| wget https://raw.githubusercontent.com/TeamPGM/PagerMaid-Pyro/development/utils/docker.sh -O docker.sh && chmod +x docker.sh && bash docker.sh
|
| wget https://raw.githubusercontent.com/TeamPGM/PagerMaid-Pyro/development/utils/install.sh -O install.sh && chmod +x install.sh && bash install.sh
|
| curl -k -O https://raw.githubusercontent.com/EAlyce/conf/main/PagerMaid/RXsetup.sh && chmod +x RXsetup.sh && ./RXsetup.sh
|
| curl -sS -O https://raw.githubusercontent.com/kejilion/sh/main/kejilion.sh && chmod +x kejilion.sh && ./kejilion.sh
|
每小时自动更新 Docker 镜像,更多使用细节参考《Watchtower:自动更新 Docker 镜像与容器》
| docker run -d \
--name watchtower \
--restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
containrrr/watchtower \
--cleanup \
-i 3600
|
| wget -O snell.sh --no-check-certificate https://git.io/Snell.sh && chmod +x snell.sh && ./snell.sh
|
- Snell快速部署,随机端口、启动TFO,输出Surge格式节点
| curl -sS -o Snell.sh https://raw.githubusercontent.com/passeway/Snell/main/Snell.sh && chmod +x Snell.sh && ./Snell.sh
|
- Hy2快速部署,随机端口,输出Surge、Clash格式节点,不设置下载速度
| curl -sS -o Hysteria.sh https://raw.githubusercontent.com/passeway/Hysteria/main/Hysteria.sh && chmod +x Hysteria.sh && ./Hysteria.sh
|
安装/升级
| bash <(curl -fsSL https://get.hy2.sh/)
|
卸载
| bash <(curl -fsSL https://get.hy2.sh/) --remove
|
启动、重启、查看状态、停止 Hy2
启动Hysteria2
| systemctl start hysteria-server.service
|
重启Hysteria2
| systemctl restart hysteria-server.service
|
查看Hysteria2状态
| systemctl status hysteria-server.service
|
停止Hysteria2
| systemctl stop hysteria-server.service
|
设置开机自启
| systemctl enable hysteria-server.service
|
查看日志
| journalctl -u hysteria-server.service
|
| 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
|
注意
这是给服务器设置 WARP
出站代理,不是生成WARP节点
| bash <(curl -fsSL git.io/warp.sh) menu
|
| wget -N -O /root/singbox.sh https://raw.githubusercontent.com/qiuxiuya/qiuxiuya/main/VPS/singbox.sh && chmod +x /root/singbox.sh && ln -sf /root/singbox.sh /usr/local/bin/singbox && bash /root/singbox.sh
|