《一线大厂Java面试题解析+核心总结学习笔记+最新讲解视频+实战项目源码》,点击传送门,即可获取!
用命令service influxdb start
启动influxdb使用的是默认配置/etc/influxdb/influxdb.conf
。
如需指定配置启动可使用:
#指定配置启动
influxd -config /etc/influxdb/influxdb.conf
注意:influx启动后默认占用默8086/8088两个端口号,如下是influxdb.conf
部分配置:
Bind address to use for the RPC service for backup and restore.
bind-address = “127.0.0.1:8088”
The bind address used by the HTTP service.
bind-address = “:8086”
如需要修改