GithubHelp home page GithubHelp logo

juicity-install's Introduction

Juicity 安装指南

服务端

安装

  1. 下载程序(linux-amd64
curl -Lo /root/juicity.zip https://github.com/juicity/juicity/releases/latest/download/juicity-linux-x86_64.zip && unzip -q /root/juicity.zip -d /root/tmp && chmod +x /root/tmp/juicity-server && mv -f /root/tmp/juicity-server /usr/local/bin/juicity && rm -r /root/juicity.zip /root/tmp
  1. 下载配置
curl -Lo /root/juicity_config.json https://raw.githubusercontent.com/chika0801/juicity-install/main/config_server.json
  1. 下载systemctl配置
curl -Lo /etc/systemd/system/juicity.service https://raw.githubusercontent.com/chika0801/juicity-install/main/juicity.service && systemctl daemon-reload
  1. 上传证书和私钥
  • 将证书文件改名为 fullchain.cer,将私钥文件改名为 private.key,将它们上传到 /root 目录
  1. 启动程序
systemctl enable --now juicity
项目
程序 /usr/local/bin/juicity
配置 /root/juicity_config.json
重启 systemctl restart juicity
状态 systemctl status juicity
查看日志 journalctl -u juicity -o cat -e
实时日志 journalctl -u juicity -o cat -f

卸载

systemctl disable --now juicity && rm -f /usr/local/bin/juicity /root/juicity_config.json /etc/systemd/system/juicity.service

客户端

Windows 使用方法:(HTTP SOCKS5 代理)

  1. 下载Windows客户端程序juicity-windows-x86_64.zip,将juicity-client.exe重命名为juicity.exe。
  2. 新建一个批处理文件,内容为:
set QUIC_GO_ENABLE_GSO=true
start /min juicity.exe run -c config.json

GSO on-going suppor

  1. 参考客户端配置示例,修改chika.example.com为证书中包含的域名,修改10.0.0.1为VPS的IP,将文件名改为 config.json,与 juicity.exe,批处理文件放在同一文件夹里。
  2. 运行批处理文件。

由 sing-box 提供 Tun 模式(透明代理)

  1. sing-box:参考Windows 使用方法,将客户端配置进行如下修改。

原内容

        {
            "tag": "proxy",
            // 粘贴你的客户端配置,需要保留 "tag": "proxy",
        },

替换为

        {
            "type": "socks",
            "tag": "proxy",
            "server": "127.0.0.1",
            "server_port": 50000
        },

juicity-install's People

Contributors

chika0801 avatar

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.