yggdrasil-network / yggdrasil-go

An experiment in scalable routing as an encrypted IPv6 overlay network
https://yggdrasil-network.github.io
Other
3.47k stars 238 forks source link

genkeys: $GOPATH/go.mod exists but should not #547

Closed loskiq closed 4 years ago

loskiq commented 5 years ago

I am trying to generate a strong key, but I get this error:

root@a1:~# GOPATH=$PWD go run -tags debug misc/genkeys.go
$GOPATH/go.mod exists but should not
root@a1:~#
neilalexander commented 5 years ago

Try this:

go get github.com/yggdrasil-network/yggdrasil-go
GO111MODULE=off go run -tags debug misc/genkeys.go
loskiq commented 5 years ago

@neilalexander

root@ru:~# go get github.com/yggdrasil-network/yggdrasil-go
package github.com/yggdrasil-network/yggdrasil-go: no Go files in /root/go/src/github.com/yggdrasil-network/yggdrasil-go
root@ru:~#
neilalexander commented 4 years ago

When v0.3.12 is merged (#610) you will now be able to get genkeys as follows:

go get github.com/yggdrasil-network/yggdrasil-go/cmd/genkeys
avaldiviezo075 commented 4 years ago

Buenas noches esto me funcionó.

INSTALACIÓN prometeus-slurm-exportador

yum install git golang-bin make

git clone https://github.com/vpenso/prometheus-slurm-exporter.git cd prometheus-slurm-exporter export GOPATH=$(pwd):/usr/share/gocode

cd go get github.com/prometheus/client_golang/prometheus go get github.com/sirupsen/logrus go get gopkg.in/alecthomas/kingpin.v2

cd prometheus-slurm-exporter mv go.mod go.mod_bk

make test make build