Install InfluxDB on Ubuntu 16.04 LTS

来源:互联网 发布:广电总局对于网络剧 编辑:程序博客网 时间:2024/05/01 12:55

Add the influxdata repository key

curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -

Create repository file for influxdb.

echo "deb https://repos.influxdata.com/ubuntu trusty stable" | sudo tee /etc/apt/sources.list.d/influxdb.list

Update apt metadata by running command below.

apt update

Now we are ready to install InfluxDB.

apt install influxdb

Start InfluxDB for the first time -

sudo service influxdb start

Let’s check whether InfluxDB already listen on its ports -

sudo netstat -naptu | grep LISTEN | grep influxd