安装步骤
sudo apt-get udate %更新
sudo apt-get install influxdb %安装influxdb
- 安装完之后,查看influxdb服务是否在运行。
sudo systemctl status influxdb %执行完如下图
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/8eb6c6ce5d62da332c7788735046dab5.png)
- 确认influxdb服务正常运行后,使用命令进入数据库。
influx %influxdb提供的接口工具,但是这个工具需要手动安装。
sudo apt-get install influxdb-client
- 安装完之后可以用
influx
进入influxdb数据库。![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/ca00196ad5c4b893c88ec5bc637e53e7.png)