Coder Social home page Coder Social logo

hysteria2's Introduction

hysteria2一键安装 宝宝们如果觉得好用,记得点个小星星⭐️哦

😇使用教程:

☆在服务器终端执行一键脚本

☆适用于大部分系统,但还是推荐Debian/ubuntu系

☆适用于有域名的用户使用acme方式申请证书,无域名使用者使用自签证书

☆适配多个软件如下面所示

☆一键导入即可使用

☆支持安装xanmod内核使用bbrv3加速(脚本来自ylx2016

更多客户端配置请查看客户端配置

🙃安装脚本(首先推荐ubuntu的系统):

curl -sSL https://github.com/seagullz4/hysteria2/raw/main/install.sh -o install.sh && chmod +x install.sh && bash install.sh

我的联系方式:电报

支持一波浪的主流架构以及纯ipv4和纯ipv6服务器

如果使用端口跳跃请使用最新版nekobox,本项目深度适配nekobox😋

本项目原hysteria2地址请点击hysteria

必须客户端支持hysteria2才行,否则就是你安装了也无法使用。

iOS端推荐:

小火箭

安卓端强烈推荐:

nekobox(neko支持端口跳跃,优先推荐)

clash-mate

hiddify(国外大神制作)

电脑端推荐:

nekoray

clash-verge

hiddify(国外大神制作)

服务器推荐

akile的dns解锁流媒体vps akile

vmiss香港cn2线路vps vmiss

日月免费查档 日月

欢迎添加小⭐⭐

Stargazers over time

免责声明:

  • 本程序仅供学习了解, 非盈利目的,请于下载后 24 小时内删除, 不得用作任何商业用途, 文字、数据及图片均有所属版权, 如转载须注明来源。
  • 使用本程序必循遵守部署免责声明。使用本程序必循遵守部署服务器所在地、所在国家和用户所在国家的法律法规, 程序作者不对使用者任何不当行为负责。

hysteria2's People

Contributors

seagullz4 avatar zzxbaibai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

hysteria2's Issues

端口跳跃无法使用

配置好服务端 复制节点信息到nekobox 无法使用 nekobox是最新版3.24内核使用sing-box hysteria2也是2.2的最新版 删除nekobox节点配置里面的端口跳跃栏里面的数据留空 不使用 节点是可以使用的

请问下这是怎么回事???

VPS是重装之后 没装任何东西 就安装了warp 我是v6机

更新无法正常恢复服务

最近的hy更新,使用脚本更新功能后,服务异常,需要手动kill后再启动服务才能正常。怀疑结束进程的代码没有执行?

log如下:
选择一个操作,小崽子(ง ื▿ ื)ว:

  1. 安装(以梦为马)
  2. 卸载(以心为疆)
  1. 查看配置(穿越时空)
  2. 退出脚本(回到未来)
  1. 在线更新hy2内核(您当前的hy2版本:v2.2.4)
    hy2究极版本v24.01.01

hysteria2状态: 运行中
输入操作编号 (1/2/3/4/5): 5
正在更新中,别急,老登
更新完成,老登

root @ tokyo-amd in ~ [9:52:03] C:130

$ service hysteria status
× hysteria.service - My Hysteria Server
Loaded: loaded (/etc/systemd/system/hysteria.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2024-03-25 09:51:53 HKT; 20s ago
Process: 3899388 ExecStart=/root/hy3/hysteria-linux-amd64 server (code=exited, status=203/EXEC)
Main PID: 3899388 (code=exited, status=203/EXEC)
CPU: 1ms

Mar 25 09:51:53 tokyo-amd systemd[3899388]: hysteria.service: Failed at step EXEC spawning /root/hy3/hy>
Mar 25 09:51:53 tokyo-amd systemd[1]: Started My Hysteria Server.
Mar 25 09:51:53 tokyo-amd systemd[1]: hysteria.service: Main process exited, code=exited, status=203/EX>
Mar 25 09:51:53 tokyo-amd systemd[1]: hysteria.service: Failed with result 'exit-code'.
Mar 25 09:51:53 tokyo-amd systemd[1]: hysteria.service: Scheduled restart job, restart counter is at 7.
Mar 25 09:51:53 tokyo-amd systemd[1]: Stopped My Hysteria Server.
Mar 25 09:51:53 tokyo-amd systemd[1]: hysteria.service: Start request repeated too quickly.
Mar 25 09:51:53 tokyo-amd systemd[1]: hysteria.service: Failed with result 'exit-code'.
Mar 25 09:51:53 tokyo-amd systemd[1]: Failed to start My Hysteria Server.

选择1安装以后造成系统无响应,ssh端口,无法再次连接

日志

root@racknerd-a0f00c:~# ./install.sh
安装必要依赖中......
依赖安装完成

░██ ░██
░██ ░██ ░████ ░█ ░█ ░█░█░█
░██ ░██ ░█ █ ░█ ░█ ░█ ░█
░██████ ░██████ ░█ ░█ ░█ ░█
░██ ░██ ░█ ░█ ░█ ░█ ░█ ░█░█░█
░██ ░██ ░██ █ ░█ ░█

人生有两出悲剧:一是万念俱灰,另一是踌躇满志
选择一个操作,小崽子(ง ื▿ ื)ว:

  1. 安装(以梦为马)
  2. 卸载(以心为疆)
  1. 查看配置(穿越时空)
  2. 退出脚本(回到未来)
  1. 在线更新hy2内核(您当前的hy2版本:你还没有安装,老登)
  2. 安装xanmod内核(更好的调动网络资源)
    hy2内核最新版本为: v2.3.0

hysteria2状态: 未运行
输入操作编号 (1/2/3/4/5): 1
别急,别急,别急,老登
原神,启动。
正在下载中,老登( ゚д゚)つBye

在执行完1以后,显示 正在下载中 会卡住,等一会会直接断开ssh链接且无法再次连接上,需要重启vps才可以重新ssh。

系统配置
Ubuntu 22.04.4 LTS (GNU/Linux 5.15.0-100-generic x86_64)

578行从hysteria2官网直接下载最新的服务端程序可能因为解析问题卡死

建议修改为从github获取最新版本

#!/bin/bash

设置 GitHub 仓库的 URL

REPO_URL="https://github.com/apernet/hysteria/releases"

使用 curl 获取最新版本的 release 信息

LATEST_RELEASE=$(curl -s $REPO_URL/latest | grep -o '"tag_name":.[^}],' | head -n 1 | sed 's/[^"]"//;s/",//')

构建最新版本的下载地址

DOWNLOAD_URL="https://github.com/apernet/hysteria/releases/download/$LATEST_RELEASE/hysteria-linux-amd64"

echo "Latest release version: $LATEST_RELEASE"
echo "Download URL: $DOWNLOAD_URL"

6

echo "而你,我的朋友,你是恋爱脑里的常青树,Joker里的顶梁柱,麦当劳的吉祥物,哥谭市的大头目,扑克牌的最大数,蝙蝠侠的大客户……"

更新内核后cat: /root/hy3/neko.txt: No such file or directory

开发者,您好。我本来是用的好好的,今天执行脚本,选择了5更新内核,更新后,再次选择3查看配置出现此问题。发现原来导入到NekoBox中的hy2节点还是可以正常使用的。您给看下这个是啥问题。另外看到更新后版本还是显示23.12.03,和之前版本一致,没有变化,而不是Release中最新版本23.12.03.04.53
1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.