💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
[TOC] ## goflywya搭建 参考链接:[https://lighti.me/4600.html](https://lighti.me/4600.html) [github](https://github.com/coyove/goflyway/releases/download/2.0.0rc1/goflyway_linux_amd64.tar.gz) ### 一键安装 ``` wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubiBackup/doubi/master/goflyway.sh && chmod +x goflyway.sh && bash goflyway.sh ``` ### 通过安装包安装 ``` wget https://github.com/coyove/goflyway/releases/download/2.0.0rc1/goflyway_linux_amd64.tar.gz ``` 服务端操作 正常运行: ``` ./goflyway -l :端口号 -k 密码 ``` KCP模式运行(默认http模式): ``` ./goflyway -l :端口号 -k 密码 -U kcp ``` 不间断运行: ``` nohup ./goflyway -l :端口号 -k 密码 & ``` ## **客户端操作(Windows)** ### 正常运行: ``` goflyway.exe -up 服务端IP:端口号 -k 密码 -l 127.0.0.1:1080 //后面的127.0.0.1这里,表示监听客户端的1080端口,需要使用代理的软件需指向这个端口 ``` ### KCP模式运行(默认http模式): ``` goflyway.exe -up 服务端IP:端口号 -k 密码 -l 127.0.0.1:1080 -U kcp ``` ### 实际运行: ``` cd 你的路径\goflyway_windows_amd64 goflyway.exe -up 服务端IP:端口号 -k 密码 -l 127.0.0.1:1080 ``` ### docker启动客户端 Dockerfile ``` FROM centos:latest WORKDIR /home/goflyway RUN yum install -y net-tools \ wget \ && wget https://github.com/coyove/goflyway/releases/download/2.0.0rc1/goflyway_linux_amd64.tar.gz -O goflyway.tar.gz \ && tar -zxvf goflyway.tar.gz CMD /bin/bash ``` docker-compose.yaml ``` version: '2.4' services: goflyway: build: context: ./ dockerfile: Dockerfile ports: - 1083:1083 - 8101:8101 command: ./goflyway -up="服务器ip:port" -k="密码" -l=":1083" -web-port=":8101" -lv=log -g -U=http ``` 执行命令: ``` docker-compose up -d ``` ## SS&&SSR搭建 一键安装: ``` wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubiBackup/doubi/master/ssr.sh && chmod +x ssr.sh && bash ssr.sh ``` ## V2Ray linux下v2ray安装。 * v2ray软件: https://github.com/Qv2ray/Qv2ray/releases * v2ray-core :https://github.com/v2ray/v2ray-core/releases/ 在v2ray软件-首选项-内核设置里填写v2ray核心可执行文件路径 和v2ray资源目录。