Some quick notes on how to build Influx on Ubuntu. I’ve built a couple of instances of influx in the past for specific projects, usually without any other elements of the TICK stack.
Update the system:
sudo apt-get update
sudo apt-get upgrade
Get and install repository for Influx.
curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
echo "deb https://repos.influxdata.com/ubuntu bionic stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
Update repository
apt-get update
Install Influxdb
apt-get install influxdb
Start up influx and enable it as a service
systemctl start influxdb
systemctl enable influxdb
Check the status
systemctl status influxdb
Uncomment the following line in order to allow influx to listen.
vim /etc/influxdb/influxdb.conf
[http]
# Determines whether HTTP endpoint is enabled.
enabled = true
Install the influx cli client
sudo apt-get install influxdb-client
Next in this series will be authentication and authorization.