Hysteria 2 一键搭建代码

53次阅读
没有评论

一、更新 VPS 系统

apt update -y
apt install curl sudo -y

二、Hysteria 2 一键搭建代码

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

三、Hysteria 服务相关命令

systemctl start hysteria-server.service    # 启动 hysteria 服务
systemctl enable hysteria-server.service   # 设置 hysteria 服务 开机自启动
systemctl restart hysteria-server.service  # 重启 hysteria 服务
systemctl stop hysteria-server.service     # 停止 hysteria 服务
systemctl status hysteria-server.service   # 查看 hysteria 服务 状态
正文完
 0
评论(没有评论)