Add the influxdata repository key
curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
1
1
Create repository file for influxdb.
echo “deb https://repos.influxdata.com/ubuntu trusty stable” | sudo tee /etc/apt/sources.list.d/influxdb.list
1
1
Update apt Metadata by running command below.
apt update
1
1
Now we are ready to install InfluxDB.
apt install influxdb
1
1
Start InfluxDB for the first time -
sudo service influxdb start
1
1
Let’s check whether InfluxDB already listen on its ports -
sudo netstat -naptu | grep LISTEN | grep influxd
原文链接:https://www.f2er.com/ubuntu/351486.html