Discussion:
[influxdb] InfluxDB Raspberry Pi installation?
EBRAddict
2016-10-13 12:39:27 UTC
Permalink
Hi,

I'd like to try InfluxDB on a Raspberry Pi 3 for a mobile sensor project.
Currently it's logging ~50 data points every 200ms to a USB flash drive
text file but I want to ramp that up to 200 every 10ms, or however fast I
can push data from the microcontrollers to the Pi.

I downloaded and uncompressed the ARM binaries using the instructions on
the InfluxDB download page:

wget https://dl.influxdata.com/influxdb/releases/influxdb-1.0.2_linux_armhf.tar.gz
tar xvfz influxdb-1.0.2_linux_armhf.tar.gz


What are the next steps? I'm not a Linux guy but I can follow directions if
someone could point me to them. I'd like to configure the service(s) to run
at startup automatically and be accessible for querying by any logged in
user (it's a closed system).

Thanks.
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/72ad2b09-5754-42b0-91c1-5ff459d7d785%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Robert
2016-10-13 19:42:08 UTC
Permalink
I'm on a raspi 2, but adding "deb https://repos.influxdata.com/ubuntu
jessie stable" to /etc/apt/sources.list let me install influx/telegraf via
apt.
Post by EBRAddict
Hi,
I'd like to try InfluxDB on a Raspberry Pi 3 for a mobile sensor project.
Currently it's logging ~50 data points every 200ms to a USB flash drive
text file but I want to ramp that up to 200 every 10ms, or however fast I
can push data from the microcontrollers to the Pi.
I downloaded and uncompressed the ARM binaries using the instructions on
wget https://dl.influxdata.com/influxdb/releases/influxdb-1.0.2_linux_armhf.tar.gz
tar xvfz influxdb-1.0.2_linux_armhf.tar.gz
What are the next steps? I'm not a Linux guy but I can follow directions
if someone could point me to them. I'd like to configure the service(s) to
run at startup automatically and be accessible for querying by any logged
in user (it's a closed system).
Thanks.
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/5f396ec0-65a0-4504-8168-5534016d37b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
EBRAddict
2016-10-13 21:26:59 UTC
Permalink
That worked! Thank you.
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/22aa0854-be61-4b5e-8752-ac8b05ade59e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Frank Inselbuch
2016-10-13 21:56:15 UTC
Permalink
After you tar you will install it with dpkg.
It will probably get started automatically at that point.
But if you want to start it/restart/stop just

sudo service influxd start (or restart or stop)

by default I believe the server will be available for http: requests on
port 8086

i would encourage you to also install something like grafana to pull data
from influxdb, but you can roll your own with http requests

to work with the database interactively, use the CLI (command line
interface)

just type

$ influx

here's a few commands to get you started


Influx> create database test1
Influx> insert cars,vin=3948579834 year=2015,color='Green',mileage=15
Influx> select * from cars

Good luck.
Post by EBRAddict
Hi,
I'd like to try InfluxDB on a Raspberry Pi 3 for a mobile sensor project.
Currently it's logging ~50 data points every 200ms to a USB flash drive
text file but I want to ramp that up to 200 every 10ms, or however fast I
can push data from the microcontrollers to the Pi.
I downloaded and uncompressed the ARM binaries using the instructions on
wget https://dl.influxdata.com/influxdb/releases/influxdb-1.0.2_linux_armhf.tar.gz
tar xvfz influxdb-1.0.2_linux_armhf.tar.gz
What are the next steps? I'm not a Linux guy but I can follow directions
if someone could point me to them. I'd like to configure the service(s) to
run at startup automatically and be accessible for querying by any logged
in user (it's a closed system).
Thanks.
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/6b289b57-fbc7-41e7-b33a-e4ac69d29b2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
l***@gmail.com
2017-11-24 15:15:18 UTC
Permalink
Hi Frank,
what do you mean when you say "after you tar you install it with dpkg"?
I'm working on ARM, Invidia X1 board.
Thanks,
lucia
Post by Frank Inselbuch
After you tar you will install it with dpkg.
It will probably get started automatically at that point.
But if you want to start it/restart/stop just
sudo service influxd start (or restart or stop)
by default I believe the server will be available for http: requests on port 8086
i would encourage you to also install something like grafana to pull data from influxdb, but you can roll your own with http requests
to work with the database interactively, use the CLI (command line interface)
just type 
$ influx
here's a few commands to get you started
Influx> create database test1
Influx> insert cars,vin=3948579834 year=2015,color='Green',mileage=15
Influx> select * from cars
Good luck.
Hi,
I'd like to try InfluxDB on a Raspberry Pi 3 for a mobile sensor project. Currently it's logging ~50 data points every 200ms to a USB flash drive text file but I want to ramp that up to 200 every 10ms, or however fast I can push data from the microcontrollers to the Pi.
wget https://dl.influxdata.com/influxdb/releases/influxdb-1.0.2_linux_armhf.tar.gz
tar xvfz influxdb-1.0.2_linux_armhf.tar.gz
What are the next steps? I'm not a Linux guy but I can follow directions if someone could point me to them. I'd like to configure the service(s) to run at startup automatically and be accessible for querying by any logged in user (it's a closed system).
Thanks.
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/d55e0819-a907-4733-9a2f-5d572686e435%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Frank Inselbuch
2017-11-24 19:05:20 UTC
Permalink
Okay so first you have to get the installation kit which comes in the form of a compressed archive, from here:

https://portal.influxdata.com/downloads#influxdb

I am not familiar with the board you are talking about but assuming it's an arm processor and running a Debian-style Linux, you can try this one:

This command will pull the kit to your machine:
wget https://dl.influxdata.com/influxdb/releases/influxdb-1.4.2_linux_armhf.tar.gz

Then you decomparess the archive like this:
tar xvfz influxdb-1.4.2_linux_armhf.tar.gz

Then you should be able to start the database:

service influxdb start

or

systemctl start influxdb





Frank Inselbuch
Unix Edge, Inc.
Fleet Surveillance and Analytics
713-701-5421
***@unixedge.com
https://zoom.us/j/7137015421

-----Original Message-----
From: ***@googlegroups.com [mailto:***@googlegroups.com] On Behalf Of ***@gmail.com
Sent: Friday, November 24, 2017 9:15 AM
To: InfluxData <***@googlegroups.com>
Subject: [influxdb] Re: InfluxDB Raspberry Pi installation?

Hi Frank,
what do you mean when you say "after you tar you install it with dpkg"?
I'm working on ARM, Invidia X1 board.
Thanks,
lucia
Post by Frank Inselbuch
After you tar you will install it with dpkg.
It will probably get started automatically at that point.
But if you want to start it/restart/stop just
sudo service influxd start (or restart or stop)
by default I believe the server will be available for http: requests on port 8086
i would encourage you to also install something like grafana to pull
data from influxdb, but you can roll your own with http requests
to work with the database interactively, use the CLI (command line interface)
just type
$ influx
here's a few commands to get you started
Influx> create database test1
Influx> insert cars,vin=3948579834 year=2015,color='Green',mileage=15
Influx> select * from cars
Good luck.
Hi,
I'd like to try InfluxDB on a Raspberry Pi 3 for a mobile sensor project. Currently it's logging ~50 data points every 200ms to a USB flash drive text file but I want to ramp that up to 200 every 10ms, or however fast I can push data from the microcontrollers to the Pi.
wget
https://dl.influxdata.com/influxdb/releases/influxdb-1.0.2_linux_armhf
.tar.gz tar xvfz influxdb-1.0.2_linux_armhf.tar.gz
What are the next steps? I'm not a Linux guy but I can follow directions if someone could point me to them. I'd like to configure the service(s) to run at startup automatically and be accessible for querying by any logged in user (it's a closed system).
Thanks.
--
Remember to include the version number!
---
You received this message because you are subscribed to a topic in the Google Groups "InfluxData" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/influxdb/us4x3V2fbNk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/d55e0819-a907-4733-9a2f-5d572686e435%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/SN1PR16MB06850CC2C148E380990CC702DD260%40SN1PR16MB0685.namprd16.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.
Lucia
2017-11-25 08:17:11 UTC
Permalink
Thank you, Frank.
Your assumptions are correct.
However, if I do
wget
tar
then I get:
# service influxdb start
influxdb: unrecognized service

and here I am stuck.
Thank you very much for your help,
Lucia
-----------------------------------------------------------------------------
Dr. Lucia Morganti
@ INFN - CNAF (www.cnaf.infn.it)
Address: Viale Berti Pichat 6/2, 40127 Bologna (IT)
-----------------------------------------------------------------------------
Post by Frank Inselbuch
https://portal.influxdata.com/downloads#influxdb
wget https://dl.influxdata.com/influxdb/releases/influxdb-1.4.2_linux_armhf.tar.gz
tar xvfz influxdb-1.4.2_linux_armhf.tar.gz
service influxdb start
or
systemctl start influxdb
Frank Inselbuch
Unix Edge, Inc.
Fleet Surveillance and Analytics
713-701-5421
https://zoom.us/j/7137015421
-----Original Message-----
Sent: Friday, November 24, 2017 9:15 AM
Subject: [influxdb] Re: InfluxDB Raspberry Pi installation?
Hi Frank,
what do you mean when you say "after you tar you install it with dpkg"?
I'm working on ARM, Invidia X1 board.
Thanks,
lucia
Post by Frank Inselbuch
After you tar you will install it with dpkg.
It will probably get started automatically at that point.
But if you want to start it/restart/stop just
sudo service influxd start (or restart or stop)
by default I believe the server will be available for http: requests on port 8086
i would encourage you to also install something like grafana to pull
data from influxdb, but you can roll your own with http requests
to work with the database interactively, use the CLI (command line interface)
just type
$ influx
here's a few commands to get you started
Influx> create database test1
Influx> insert cars,vin=3948579834 year=2015,color='Green',mileage=15
Influx> select * from cars
Good luck.
Hi,
I'd like to try InfluxDB on a Raspberry Pi 3 for a mobile sensor project. Currently it's logging ~50 data points every 200ms to a USB flash drive text file but I want to ramp that up to 200 every 10ms, or however fast I can push data from the microcontrollers to the Pi.
wget
https://dl.influxdata.com/influxdb/releases/influxdb-1.0.2_linux_armhf
.tar.gz tar xvfz influxdb-1.0.2_linux_armhf.tar.gz
What are the next steps? I'm not a Linux guy but I can follow directions if someone could point me to them. I'd like to configure the service(s) to run at startup automatically and be accessible for querying by any logged in user (it's a closed system).
Thanks.
--
Remember to include the version number!
---
You received this message because you are subscribed to a topic in the Google Groups "InfluxData" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/influxdb/us4x3V2fbNk/unsubscribe.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/d55e0819-a907-4733-9a2f-5d572686e435%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Remember to include the version number!
---
You received this message because you are subscribed to a topic in the Google Groups "InfluxData" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/influxdb/us4x3V2fbNk/unsubscribe.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/SN1PR16MB06850CC2C148E380990CC702DD260%40SN1PR16MB0685.namprd16.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/CAAuS_VT3qF8EqP2cMu5jAC0wC%3DxZ_4q9dr2Z5koB7gjpptEB%2Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Frank Inselbuch
2017-11-25 09:03:56 UTC
Permalink
After you decompress the archive, what comes out?

Can you copy the output of that command to this thread?




Frank Inselbuch
Unix Edge, Inc.
Fleet Surveillance and Analytics
713-701-5421
***@unixedge.com
https://zoom.us/j/7137015421

-----Original Message-----
From: ***@googlegroups.com [mailto:***@googlegroups.com] On Behalf Of Lucia
Sent: Saturday, November 25, 2017 2:17 AM
To: ***@googlegroups.com
Subject: Re: [influxdb] Re: InfluxDB Raspberry Pi installation?

Thank you, Frank.
Your assumptions are correct.
However, if I do
wget
tar
then I get:
# service influxdb start
influxdb: unrecognized service

and here I am stuck.
Thank you very much for your help,
Lucia
-----------------------------------------------------------------------------
Dr. Lucia Morganti
@ INFN - CNAF (www.cnaf.infn.it)
Address: Viale Berti Pichat 6/2, 40127 Bologna (IT)
-----------------------------------------------------------------------------
Post by Frank Inselbuch
https://portal.influxdata.com/downloads#influxdb
wget
https://dl.influxdata.com/influxdb/releases/influxdb-1.4.2_linux_armhf
.tar.gz
tar xvfz influxdb-1.4.2_linux_armhf.tar.gz
service influxdb start
or
systemctl start influxdb
Frank Inselbuch
Unix Edge, Inc.
Fleet Surveillance and Analytics
713-701-5421
https://zoom.us/j/7137015421
-----Original Message-----
Sent: Friday, November 24, 2017 9:15 AM
Subject: [influxdb] Re: InfluxDB Raspberry Pi installation?
Hi Frank,
what do you mean when you say "after you tar you install it with dpkg"?
I'm working on ARM, Invidia X1 board.
Thanks,
lucia
Post by Frank Inselbuch
After you tar you will install it with dpkg.
It will probably get started automatically at that point.
But if you want to start it/restart/stop just
sudo service influxd start (or restart or stop)
by default I believe the server will be available for http: requests on port 8086
i would encourage you to also install something like grafana to pull
data from influxdb, but you can roll your own with http requests
to work with the database interactively, use the CLI (command line interface)
just type
$ influx
here's a few commands to get you started
Influx> create database test1
Influx> insert cars,vin=3948579834 year=2015,color='Green',mileage=15
Influx> select * from cars
Good luck.
Hi,
I'd like to try InfluxDB on a Raspberry Pi 3 for a mobile sensor project. Currently it's logging ~50 data points every 200ms to a USB flash drive text file but I want to ramp that up to 200 every 10ms, or however fast I can push data from the microcontrollers to the Pi.
wget
https://dl.influxdata.com/influxdb/releases/influxdb-1.0.2_linux_armh
f .tar.gz tar xvfz influxdb-1.0.2_linux_armhf.tar.gz
What are the next steps? I'm not a Linux guy but I can follow directions if someone could point me to them. I'd like to configure the service(s) to run at startup automatically and be accessible for querying by any logged in user (it's a closed system).
Thanks.
--
Remember to include the version number!
---
You received this message because you are subscribed to a topic in the Google Groups "InfluxData" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/influxdb/us4x3V2fbNk/unsubscribe.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/d55e0819-a907-4733-9a2f-5d572686e435%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Remember to include the version number!
---
You received this message because you are subscribed to a topic in the Google Groups "InfluxData" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/influxdb/us4x3V2fbNk/unsubscribe.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/SN1PR16MB06850CC2C148E380990CC702DD260%40SN1PR16MB0685.namprd16.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.
--
Remember to include the version number!
---
You received this message because you are subscribed to a topic in the Google Groups "InfluxData" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/influxdb/us4x3V2fbNk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/CAAuS_VT3qF8EqP2cMu5jAC0wC%3DxZ_4q9dr2Z5koB7gjpptEB%2Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/SN1PR16MB06850F1788C1AA51F19814A0DD270%40SN1PR16MB0685.namprd16.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.
EBRAddict
2016-10-26 00:21:37 UTC
Permalink
For anyone coming across this thread, I found the apt-get install method
stopped working when I tried on a fresh Raspbian install, it couldn't find
the library. I'm a Linux newbie so perhaps I'm missing something obvious. I
did get this to work:

--Update your Pi, this may take a while...

sudo apt-get update
sudo apt-get upgrade


-- get the Debian package from here. Note the file name and subdirectory
structure may change so you might have to search for it.
wget https:
//repos.influxdata.com/debian/pool/stable/i/influxdb/influxdb_1.0.2-1_armhf.deb


-- install the Debian package
sudo dpkg -i influxdb_1.0.2-1_armhf.deb


-- start the service
sudo service influxd start


-- run the CLI
influx
Post by EBRAddict
Hi,
I'd like to try InfluxDB on a Raspberry Pi 3 for a mobile sensor project.
Currently it's logging ~50 data points every 200ms to a USB flash drive
text file but I want to ramp that up to 200 every 10ms, or however fast I
can push data from the microcontrollers to the Pi.
I downloaded and uncompressed the ARM binaries using the instructions on
wget https://dl.influxdata.com/influxdb/releases/influxdb-1.0.2_linux_armhf.tar.gz
tar xvfz influxdb-1.0.2_linux_armhf.tar.gz
What are the next steps? I'm not a Linux guy but I can follow directions
if someone could point me to them. I'd like to configure the service(s) to
run at startup automatically and be accessible for querying by any logged
in user (it's a closed system).
Thanks.
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/a20a3416-6ec7-4347-a5aa-940d22535b22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
m***@gmail.com
2017-02-15 20:45:57 UTC
Permalink
I want to install version 1.2. How can i do it?
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/0aa56979-6d6e-4956-997c-56ed3c35208f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...