Datageek
Datageek

Reputation: 26719

Install InfluxDB without root access

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

There seem to be two ways of installing InfluXDB:

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?

Upvotes: 5

Views: 3106

Answers (3)

Ashish Doneriya
Ashish Doneriya

Reputation: 1873

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

Upvotes: 1

Datageek
Datageek

Reputation: 26719

There are few more options right now, see for details: https://portal.influxdata.com/downloads

Specifically, you can find the Linux tarball binaries.

Upvotes: 0

jvshahid
jvshahid

Reputation: 356

You can try the binary tarball which you can find on the download page. After extracting the content, you'll find the daemon, called influxdb in the root of the archive. You'll need to modify the config file config.toml to set the paths of the log file, data directory, etc. After that you should be able to run influxdb by just running ./influxdb from the directory where you extracted the archive. If you have any further questions feel free to send your questions to the mailing list of contact us on irc (details can be found on community page)

Upvotes: 1

Related Questions