CentOS安装InfluxDB

# 安装 http://repos.influxdata.com
wget https://repos.influxdata.com/centos/7/x86_64/stable/influxdb-1.5.2.x86_64.rpm
rpm -ivh influxdb-1.5.2.x86_64.rpm

# 配置
vi /etc/influxdb/influxdb.conf
[http]
enabled = true
bind-address = ":8086"
auth-enabled = true

# 启动 service influxdb start
systemctl start influxdb
# 设为开机启动
systemctl enable influxdb

# 添加用户
influx
CREATE USER "root" WITH PASSWORD 'root' WITH ALL PRIVILEGES;

你可能感兴趣的:(Linux)