Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install InfluxDB without root access

Tags:

influxdb

Is there a possibility to install InfluxDB without root access on Ubuntu 14.04?

There seem to be two ways of installing InfluXDB:

  • From binaries (rpm, deb)
  • Or compile from sources

Compiling from sources is quite involving and requires number of packages being pre-installed.

I tried to install deb package without root access but failed at it so far. Is there a way to install InfluDB without root access on Ubuntu?

like image 480
Datageek Avatar asked Oct 31 '22 15:10

Datageek


1 Answers

Download the tarball, extract it and find a binary file called 'influxd'.

  1. Make it executable

    chmod +x influxd

  2. Generate a config file

    ./influxd config > influxdb.conf

  3. Start the service using

    ./influxd --config influxdb.conf

  4. For testing, find another binary called 'influx' in the extracted folder and run

chmod +x influx

./influx

If it is started then it would say 'Connected to http://localhost:8086'. Otherwise there must be some port occupied.

Ports used in influxdb are - 8086 and 8088.

For more details or if you want to change the ports:

https://csetutorials.com/install-influxdb-without-root-access-linux.html

like image 82
Ashish Doneriya Avatar answered Nov 08 '22 06:11

Ashish Doneriya