本文过程参考博客 https://blog.csdn.net/MCKZX/article/details/127627424 方法二。
本次选择的远程开发【在远程机器上运行IDEA服务器,界面显示到本地,通过ssh协议远程过去。】
由于curl下载超时时间默认为10分钟,IDEA远程安装到服务器上,curl下载IDEA的速度只有1M/s,所以需要在自己电脑上后,选择IDE安装方式为上传安装模式即可,否则永远都别想下载完成!!!!!
下面是我aarch64【arm64构架】的板子下载的包,其他版本请上官网找。。。。。
https://download.jetbrains.com/go/goland-231.8109.172-aarch64.tar.gz
golang 如果服务器上没有安装,则需要自己下载配置,下载地址:https://golang.google.cn/dl/
go get报错:zip: not a valid zip file
更换GOPROXY为七牛云的go代理
GOPROXY=https://goproxy.cn,direct
IDEA设置方式【File】->【Go】->【Go Modules】->【Environment】
GOPROXY=https://goproxy.cn,direct