# Jrebel 激活服务器 By GoLang - [实现原理和实现代码参考Java版本:https://gitee.com/gsls200808/JrebelLicenseServerforJava](https://gitee.com/gsls200808/JrebelLicenseServerforJava) >Java开发者刚刚学GO,练手.... ## 直接下载(Win,Linux,Mac) - [https://github.com/yu-xiaoyao/jrebel-license-active-server/releases](https://github.com/yu-xiaoyao/jrebel-license-active-server/releases) ## Win编译 ```shell SET CGO_ENABLED=0 SET GOOS=linux SET GOARCH=amd64 go build ./ ``` - GOOS - linux - windows - darwin : 苹果系统 - GOARCH: - amd64 : 64位 - 386: : 32位 ## Mac编译 ```shell CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build ./ ``` ## docker ```shell docker run --rm --env GOPROXY=https://goproxy.cn -v "$PWD":/root -w /root/src/project/main golang:latest go build ./ -v ``` ## 运行 默认端口: 12345 ```shell ## 自定义端口 ./license-active-server --port=5555 ``` ## 当前面有代理时,自定义域名 --host=https://xxx/xxx ## 自定义contextPath --path=/jrebel