Install InfluxDB on Ubuntu from oficial repo

Ubuntu users can install the latest stable version of InfluxDB using the apt-get package manager. For Ubuntu users, you can add the InfluxData repository configuration by using the following commands:

curl -sL | sudo apt-key add -
source /etc/lsb-release
echo "deb [ arch=amd64 ]${DISTRIB_ID,,} ${DISTRIB_CODENAME}  stable" | sudo tee /etc/apt/sources.list.d/influxdb.list

And then to install and start the InfluxDB service:

sudo apt-get update && sudo apt-get install influxdb
sudo service influxdb start

I just add [ arch=amd64 ] to the original command, to make it work. Without it, the apt-get will search for i386 packages too and then give an error. 


Deixe uma resposta

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *