I want build (if necessary) and run InfluxDB on brand new Ubuntu 18.04 on an IBM Power based server.
I cant seem to find instruction on how to do that or they are very well hidden.
There are a few web pages (like anomaly.io) with hints from 2015 covering the an old Go version and an old InfluxDB version and others that assume vast experience of Go and Git hub use so its a list of hints - not a complete example to follow.
I eventually go to Go 1.11 (needed for InfluxDB 1.72)and built InfluxDB and ended up with 31 missing pre-req error messages like
flux/cmd/changelog/cmd/generate.go:13:2: cannot find package “github dot com/Masterminds/semver” in any of:
/usr/lib/go-1.10/src/github dot com/Masterminds/semver (from $GOROOT)
/home/nag/go/src/github dot com/Masterminds/semver (from $GOPATH)
. . .
Any help in this area would be very welcome. I have a stats collector njmon for AIX (on Power) and would like to run InfluxDB on the same server via Linux on Power.
Cheers, Nigel
The install put the binaries in a local bin
ls $GOPATH/bin
nag@silver1:~/gocodez/bin$ ls -l
total 173352
-rw-rw-r-- 1 nag nag 3311 Jan 8 17:34 config.txt
-rwxrwxr-x 2 nag nag 12887864 Jan 8 16:15 dep
-rwxrwxr-x 1 nag nag 20504976 Jan 8 16:26 influx
-rwxrwxr-x 1 nag nag 34648688 Jan 8 16:26 influxd
-rwxrwxr-x 1 nag nag 17239704 Jan 8 16:26 influx_inspect
-rwxrwxr-x 1 nag nag 10044480 Jan 8 16:26 influx_stress
-rwxrwxr-x 1 nag nag 31152656 Jan 8 16:26 influx_tools
-rwxrwxr-x 1 nag nag 18639600 Jan 8 16:26 influx_tsm
-rwxrwxr-x 1 nag nag 22887984 Jan 8 16:26 store
-rwxrwxr-x 1 nag nag 6361504 Jan 8 16:26 stress_test_server
-rwxrwxr-x 1 nag nag 3474232 Jan 8 16:26 test_client
Attempt making a package - includes fixing a missing link to dep
python build.py --help
ls /home/nag/gocodez/bin/dep
which dep
ln /home/nag/.gvm/pkgsets/go1.11/global/bin/dep /home/nag/gocodez/bin/dep
python build.py --package
Now we have a missing package = ruby gem
to sort out - see website rubygems.org