环境: CentOS
wget https://dl.influxdata.com/influxdb/releases/influxdb-1.2.4.x86_64.rpm
sudo yum localinstall influxdb-1.2.4.x86_64.rpm
whereis InfluxDB
找到配置文件修改配置文件
# Determines whether HTTP endpoint is enabled.
enabled = true
# The bind address used by the HTTP service.
bind-address = ":8086"
# Determines whether the admin service is enabled.
enabled = true
# The default bind address used by the admin service.
bind-address = ":8083"
修改两个地方,这时候启动就可以了
我遇到一个问题 就是以服务的方式启动不行
那我只能抛到后台了
influxd &
执行命令即可
相关文档:
http://www.cnblogs.com/MikeZhang/p/InfluxDBInstall20170206.html