rttys中先要在linux机器上配置go语言环境
rtty安装流程
yum install -y libev-devel openssl-devel # Centos
git clone --recursive https://github.com/zhaojh329/rtty.git
cd rtty && mkdir build && cd build cmake .. && make install
rttys安装流程
git clone --recursive https://github.com/zhaojh329/rttys.git
同时因为墙的原因,导致github依赖无法正常导入,好在go提供了官方代理goproxy。运行如下代码
export GO111MODULE=on export GOPROXY=https://goproxy.cn export GOSUMDB=off
要删除go项目中的api.go第三十行注释
./build.sh linux amd64 cd rttys-linux-amd64-4.1.1 ./rttys