ubuntu安装influxdb

xiaoxiao2021-02-28  144

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.6miu.com/read-19148.html

最新回复(0)