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
本文提供了详细的步骤指导如何在Ubuntu系统上安装InfluxDB时序数据库。首先通过curl命令添加InfluxData仓库密钥,接着创建仓库文件并更新APT元数据,最后安装并启动InfluxDB服务。
625

被折叠的 条评论
为什么被折叠?



