-
Notifications
You must be signed in to change notification settings - Fork 4
InfluxDB
At the time of writing this, for the ARM architecture, there wasn't an RPM we could use. So, as they say "we had to wing it" with tarballs. You'll most likely need to run a lot of these commands as root. I apologize if I forgot anything in the process. I'm writing this after the fact. Good luck!
Grab the nightly tarball from here (In the InfluxDB base select nightly and then at the bottom is ARM):
https://portal.influxdata.com/downloads
wget https://dl.influxdata.com...
cp ~./influxdb-nightly... /tmp
cd /tmp
gunzip influxdb-nightly...
tar -xvf influxdb-nightly...
We did a little bit of trickery here.
cd influxdb-nightly...
tar -cvf nightly-build.tar etc usr var //Tars up all of the folders in the folder
cp nightly-build.tar / //Copies tarball to home folder
tar -xvf nightly-build.tar
Final command untars the nightly build folder and deposits folders into the appropriate places.
To start the database all you'll need to do is type "influxd" into the command line, open up a terminal window and then type influx and you'll be able to access the database.
influxd //Runs in a terminal
influx //Allows access to a database shell
To run the service in the background:
cp /usr/lib/influxdb/scripts/influxdb.service /etc/systemd/system/influxdb.service