ubuntu安装influxdb

来源:互联网 发布:中国特色社会主义知乎 编辑:程序博客网 时间:2024/06/07 03:37

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

原创粉丝点击